Whats a FRAMEWORK??

Discussion in 'PHP' started by LOD, Dec 21, 2009.

  1. #1
    guys i am newbie php developer. and recently i came across the term "php framework".. now i wonder what it is?? is it something like CMS?? what is the difference. and why do people use frameworks such as zend,cakephp??
     
    LOD, Dec 21, 2009 IP
  2. shall

    shall Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    A quote from wikipedia (http://en.wikipedia.org/wiki/Software_framework)
     
    shall, Dec 21, 2009 IP
  3. PHPycho

    PHPycho Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Framework is the collection of well organized/structured code/libraries which can be used as a base to build web-application.
    CMS is an web-application that can be built on top of Framework.
    Hope this gave you some idea.
    Thanks
     
    PHPycho, Dec 22, 2009 IP
  4. kleinnico

    kleinnico Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It's useful because you don't have to reinvent the wheel every time. So you can make projects much faster. Also with a framework you'll have separated and well-organized code so other programmers can use it easily too.

    However, if you're still a newbie php programmer I suggest you should practice some more with PHP, try a template engine like smarty etc. And start later with the PHP framework CakePHP because learning a PHP framework is like learning a new programming language.
     
    kleinnico, Dec 22, 2009 IP