RE: [PHP] Re: some kind of "library loader" - Thanks

2002-04-04 Thread Maxim Maletsky
Maxim Maletsky; [EMAIL PROTECTED] > Subject: Re: [PHP] Re: some kind of "library loader" - Thanks > > > Ok, Thank you for your help Miguel and Maxim, I'm trying to do it by > the help of your suggestions. > > Arpi > > > > >Also, you c

Re: [PHP] Re: some kind of "library loader" - Thanks

2002-04-04 Thread Arpad Tamas
Ok, Thank you for your help Miguel and Maxim, I'm trying to do it by the help of your suggestions. Arpi > > >Also, you can find out if a class was defined by calling > > >'class_exists()'. In this way you might save something. > > >The best way thought is what Miguel was saying: load t

Re: [PHP] Re: some kind of "library loader"

2002-04-03 Thread Miguel Cruz
On Wed, 3 Apr 2002, Tamás Árpád wrote: > >Also, you can find out if a class was defined by calling > >'class_exists()'. In this way you might save something. > >The best way thought is what Miguel was saying: load the files > >conditionally with a logic. > That's what I'm trying to do, but still s

Re: [PHP] Re: some kind of "library loader"

2002-04-03 Thread Tamás Árpád
>Have you considered simply using require_once? Yes, actually I'm using it now, but it's not enough. >Also, you can find out if a class was defined by calling >'class_exists()'. In this way you might save something. >The best way thought is what Miguel was saying: load the files >conditionally wi

RE: [PHP] Re: some kind of "library loader"

2002-04-03 Thread Maxim Maletsky
der, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com > -Original Message- > From: Tamás Árpád [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 9:51 PM > To: Miguel Cruz; Maxim Maletsky > Cc: [EMAIL PROTECTED] > Subject

Re: [PHP] Re: some kind of "library loader"

2002-04-03 Thread Tamás Árpád
> On Thu, 4 Apr 2002, Maxim Maletsky wrote: > > You can try to load all those classes as texts into a db and then to execute > > the needed ones as eval()ed strings. It could be easy for you to create the > > logic because the PHP code are stings and are never included but SELECTed. > > Not sure i

Re: [PHP] Re: some kind of "library loader"

2002-04-03 Thread Miguel Cruz
On Thu, 4 Apr 2002, Maxim Maletsky wrote: > You can try to load all those classes as texts into a db and then to execute > the needed ones as eval()ed strings. It could be easy for you to create the > logic because the PHP code are stings and are never included but SELECTed. > Not sure if this