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?
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?
Comment