php frame work

Discussion in 'PHP' started by mdrobiul, Aug 17, 2009.

  1. #1
    i'm quite confused with php framework. I want to make clear concept of the definition of "php frame work"

    however, this is good one http://en.wikipedia.org/wiki/Web_application_framework

    So can we call any CMS as a php frame work?

    Can we call PEAR or Smarty etc. php frame work?

    Can we say a php class as a php frame work? or group of php classes ?

    We are coding many scripts, but which are not php frame work ?

    Thanks for your help.
     
    mdrobiul, Aug 17, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    A cms is typically used by end users, not by web developers. Therefore it is not a framework.

    PEAR or SMARTY are libraries that help you with specific tasks, but they are not all encompassing frameworks.
     
    premiumscripts, Aug 17, 2009 IP
  3. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yep.

    PHP frameworks (which I never use anyways) would be stuff like CakePHP and Code Ignitor.

    A framework is generally designed to encompass most if not all of the language, thus being kinda like a higher language approach to the same language.
     
    kblessinggr, Aug 18, 2009 IP
  4. mdrobiul

    mdrobiul Peon

    Messages:
    186
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks. very helpful answer.
     
    mdrobiul, Aug 19, 2009 IP