1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP Frameworks

Discussion in 'PHP' started by rhewitt, Jan 28, 2010.

  1. #1
    How many of you use a PHP framework? If you do use a PHP framework, which one do you use, and why?

    If not, why not?
     
    rhewitt, Jan 28, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Yes.

    I use symfony, and have used Symfony, Zend, Cake, and Codeignitor.

    What are you looking to use a framework for, or are you just looking to learn? If I was going to recommend one to learn from a job, or business perspective, I would recommend Zend. I personally don't like it, and don't develop using it for my own projects, but it's the most popular in the business world. Magento is based on it which is also huge. It's also supported by the company that maintains PHP. With that being said, it is excessively complicated. It's arguably not a framework (At least the earlier versions) and is more of a library us reusable code. It's more modular than any other framework. It has poor, or very poor documentation.

    For just wanting to start using a framework, I recommend Symfony or Codeignitor. Codeignitor is a great, simple, and lighter-weight framework. Good community, well made framework. Symfony has excellent documentation, a huge user base. It's a little clunky, but scales well, can be optimized. Has built-in Ajax support, and support for Propel and/or Doctrine ORM's. It has some amazing generating abilities. Entire sites can be virtually built using config files. But, you don't need to use more than a few config files to get a site/application to work. Symfony is probably the closest to ROR in design and functionality.

    Cake isn't bad, but I have never cared for the documentation, or it's functionality. Cake got popular off of a lot of hype, but offers nothing over Codeignitor or Symfony that I have seen.

    Keep in mind with any framework, is that there is often a steep learning curve, especially if you haven't used the MVC design pattern, or used an ORM for database interactions. Having no experience with these, I would estimate a good PHP programmer would need several intensive months to become proficient, and a year or more to become an expert.
     
    jestep, Jan 28, 2010 IP
  3. HivelocityDD

    HivelocityDD Peon

    Messages:
    179
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I use frameworks depending on the project and the size and time frame of application. Its not necessary to use a frame work for a simple application.

    But for big application it will help us a lot as they will be having great structure and mainly MVC architecture.

    Zend is one of the best framework I have worked with. They even have the AMF module which you can use of Adobe Flex and to my knowledge only zend have it.

    Codeignitor is easy to learn and to start with.
     
    HivelocityDD, Jan 28, 2010 IP
  4. tomaszk

    tomaszk Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hi,
    i am looking for a mvc framework or cms to be easily customizable. Generally I am creating bespoke solutions using existing code i wrote before, but it always takes time to develop new website. Can you recommend any framework or cms with simple admin/news/blog/gallery/SEO friendly links where I can easily add my own stuff if I want? Let's say very light wordpress/joompla without any additional stuff. I just want to have a good engine where i can transfer to every new website, copy module like blog etc and create bespoke stuff if needed. Where should i look for or what should i learn? got experience in c,c++, php 4 years.
    Thanks
     
    tomaszk, Jan 28, 2010 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    i too have to start learning frameworks which one do you guys recomend to start with ? Zend ?
     
    Bohra, Jan 28, 2010 IP
  6. codebreaker

    codebreaker Well-Known Member

    Messages:
    281
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #6
    For me zend was kinda hard to start with .
    I've also tried cakephp and simphony but i've stopped at codeigniter.
    It's really easy to start with, has a very good documentation and an active forum.
    The only thing it doesn't have it's a proper auth, but there are user created libraries for that.
    Codebreaker.
     
    codebreaker, Jan 29, 2010 IP
  7. tomaszk

    tomaszk Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    what do you mean by zend is hard? is codeigniter better - easier to use for new projects (as a engine) than zend? (once u know how to use both)
     
    tomaszk, Jan 29, 2010 IP
  8. rhewitt

    rhewitt Member

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #8
    Thanks for the informative reply. I have recently began using CodeIgniter. Happy to see I am on the right track.
     
    rhewitt, Jan 29, 2010 IP
  9. extremalx

    extremalx Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You are, Codeigniter is really great .. it's lightweight, but powerful, very easy to learn, and easy to install. It has great wiki and forum. You may also google for codeigniter tech data figures you will find that it's quite fast, and that it's faster than many other frameworks
     
    extremalx, Apr 3, 2010 IP
  10. Brandon.Add.On

    Brandon.Add.On Peon

    Messages:
    178
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I use my custom built framework but if i would have to go for a commercial one it would be zend framework.
     
    Brandon.Add.On, Apr 3, 2010 IP