By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

Shared resources in PHP

P: 105
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?
Feb 15 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,258
But first: what sort of resources are you talking about? Code (compiled), scripts, methods, classes? Please elaborate.

Feb 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.