FrameWork Roles

Discussion in 'PHP' started by FishSword, Feb 7, 2009.

  1. #1
    Hiya,

    What are the main Roles/Uses for a FrameWork?
     
    FishSword, Feb 7, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    - Keeps things separately : database in controllers, code separately, etc.
    - Easy to maintain edit
    - Faster
    - Some kind of templating
    - Caching
    - Code re-using
     
    crivion, Feb 7, 2009 IP
  3. FishSword

    FishSword Active Member

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    What would be the main functionality you would include within the framework?
     
    FishSword, Feb 8, 2009 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    shallowink, Feb 8, 2009 IP
  5. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #5
    I'd look to organise, improve and extend the core functionality of the language I am trying to write a framework for - there is no sense in providing things that are already implemented to a satisfactory level out of the box, other than to satisfy the need to produce code that is structured similarly throughout. Basically, look to export all tasks you are likely to reuse over and over again into the library - program to patterns.
     
    dimitar christoff, Feb 8, 2009 IP
    harrisunderwork likes this.
  6. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Suppose I developed an application in any of MVC framework of PHP.

    Now I have to distribute that application, do the client need to have the framework too ?
     
    harrisunderwork, Feb 8, 2009 IP
  7. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #7
    ya. kinda like here's your new car. Where's the engine?
    could look at Joomla as an example, if you build a component for it: gotta have joomla to use it.
     
    shallowink, Feb 8, 2009 IP
  8. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #8
    the client - if defined as "the browser" - no. the client as the recipient of your work and owners/admins of the site/domain - yes, the framework will have to be installed.

    with JS frameworks, for example, the clientside browser needs to download a copy of the framework also.
     
    dimitar christoff, Feb 8, 2009 IP
  9. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #9
    one word => task separation
     
    crivion, Feb 11, 2009 IP
  10. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #10
    that's two words...
     
    dimitar christoff, Feb 16, 2009 IP