Shared resources in PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aktar
    New Member
    • Jul 2006
    • 105

    Shared resources in PHP

    Just a thought..

    I'm working on building a framework and the thought struck like a lightning bolt.
    Is it possible to share resources with PHP

    for eg, my base_class, which defineds the basic basic basic functions and members to assist my controller, will contain pretty much the same stuff for all objects.

    So I'm thinking, what a waste of resource if the same stuff have to be defined over and over again. Why not just share the resource?

    One thing for sure: the webserver will love it :D

    Anyone have any info on this?
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    But first: what sort of resources are you talking about? Code (compiled), scripts, methods, classes? Please elaborate.

    Ronald

    Comment

    Working...