Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: PHP Framework

  1. #1
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    What is the best PHP based framework to get started with? I am new to this kind of thing, so im looking for something simple yet efficient and easy to use. What would you guys suggest?
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,731
    Member #
    5580
    Liked
    718 times
    Not sure what PHP based framework means. Are you talking about something like WordPress or Joomla? Or something that you create yourself?


  4. #3
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by mlseim, post: 247691
    Not sure what PHP based framework means. Are you talking about something like WordPress or Joomla? Or something that you create yourself?
    I'm talking about frameworks... Thinks like MVC, Yii, CakePHP.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  5. #4
    Senior Member Kayo's Avatar
    Join Date
    Dec 2006
    Location
    Brampton Ontario
    Posts
    416
    Member #
    14523
    Liked
    39 times
    I've been told CodeIgniter is pretty good. I never dug deep into it, but it contains MVC, it's own ORM, zero config, and other rails-like goodness. At the same time, it's fairly light weight and runs faster compare to other frameworks.

  6. #5
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by Kayo, post: 247698
    I've been told CodeIgniter is pretty good. I never dug deep into it, but it contains MVC, it's own ORM, zero config, and other rails-like goodness. At the same time, it's fairly light weight and runs faster compare to other frameworks.
    Ok, thanks! This was one of my mental choices too. After posting this thread I narrowed my search for a good framework down to CakePHP, Yii, and CodeIgniter.

    I will deffinatly look more into CodeIgniter
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  7. #6
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    CodeIgniter and Cake are garbage. They don't use solid OO architecture in their core, and as a result, engender very bad development habits in their users.

    If you want to learn solid OO skills that you can use for the rest of your life, go with Symfony or Zend 2. If you want "simple", go with Silex (a minimalist version of Symfony).

  8. #7
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by smoseley, post: 247703
    CodeIgniter and Cake are garbage. They don't use solid OO architecture in their core, and as a result, engender very bad development habits in their users.

    If you want to learn solid OO skills that you can use for the rest of your life, go with Symfony or Zend 2. If you want "simple", go with Silex (a minimalist version of Symfony).
    It seems everyone has different opinions on this. Looks like I will have to try a lot of frameworks before I find one that's right for me.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  9. #8
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Quote Originally Posted by Andrew Yurlov, post: 247714
    It seems everyone has different opinions on this. Looks like I will have to try a lot of frameworks before I find one that's right for me.
    Or you could take the advice from someone who's used all of them instead of heresay and save yourself the headache of trying them all.

  10. #9
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    More info for you...

    Why I prefer Zend 2 and Symfony over Cake and CodeIgniter:
    1. PHP5 based, ground-up.
    2. Lazy Loading instead of Pre-loading. Allows you to property instantiate objects with $x = new Y(); syntax instead of proprietary App::import("Y") or $uses = array("Y") type syntax. Also allows you to only load what you need for a particular action, reducing memory usage
    3. The "Module" (Zend) or "Bundle" (Symfony) concept breaks up your MVC application into multiple self-contained MVC sub-modules. Much better for a larger site architecture.
    4. Dependency Injection & Dependency Injection Containers allow you to architect a better OO application that's not completely dependent on a dictated development methodology.
    5. Built-in Unit Testing with PHPUnit, and advanced debugging tools.
    6. Built-in AJAX support.
    7. ORM and Template Independence allows you to plug in components of your choice.
    8. Twig Templating (default in Symfony) uses moustache-style syntax, allowing you to reuse templates between PHP and Javascript (for AJAX & SPA applications). Also, compiles to native PHP for good performance.
    9. Developer communities with component-sharing allow you to easily find and download component libraries to do many common tasks.
    10. Large, supportive, GROWING communities. Cake and CI are dwindling.

    Cake and CI are popular not because they're good, but because they're easy to learn.

    Do yourself a favor and go the harder route on this one. You'll be thankful you did in a couple years.

    Don't take my word for it. Search Google and you'll find tons of support of my opinion:

  11. #10
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by smoseley, post: 247734
    More info for you...

    Why I prefer Zend 2 and Symfony over Cake and CodeIgniter:
    1. PHP5 based, ground-up.
    2. Lazy Loading instead of Pre-loading. Allows you to property instantiate objects with $x = new Y(); syntax instead of proprietary App::import("Y") or $uses = array("Y") type syntax. Also allows you to only load what you need for a particular action, reducing memory usage
    3. The "Module" (Zend) or "Bundle" (Symfony) concept breaks up your MVC application into multiple self-contained MVC sub-modules. Much better for a larger site architecture.
    4. Dependency Injection & Dependency Injection Containers allow you to architect a better OO application that's not completely dependent on a dictated development methodology.
    5. Built-in Unit Testing with PHPUnit, and advanced debugging tools.
    6. Built-in AJAX support.
    7. ORM and Template Independence allows you to plug in components of your choice.
    8. Twig Templating (default in Symfony) uses moustache-style syntax, allowing you to reuse templates between PHP and Javascript (for AJAX & SPA applications). Also, compiles to native PHP for good performance.
    9. Developer communities with component-sharing allow you to easily find and download component libraries to do many common tasks.
    10. Large, supportive, GROWING communities. Cake and CI are dwindling.

    Cake and CI are popular not because they're good, but because they're easy to learn.

    Do yourself a favor and go the harder route on this one. You'll be thankful you did in a couple years.

    Don't take my word for it. Search Google and you'll find tons of support of my opinion:
    Wow. That's quite a list you got. Consider me convinced. Based on what you said, I think il try Symfony then zend and see which I like better. Thanks for the amazing answers too. They really put everything in perspective for me.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs




Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com