Autoloader

2 views
Skip to first unread message

steffenbew

unread,
Nov 10, 2009, 11:15:32 PM11/10/09
to Php Object Generator
Hi,

I just stumbled on POG today and I think I'll use it regularly from
now on.
But I was wondering why there isn't a standard autoloading class?
That would perfectly simplifying the whole "include-thing".

Kind regards,
Steffen

Paris Paraskeva

unread,
Nov 11, 2009, 3:51:10 AM11/11/09
to php-object...@googlegroups.com
I suspect there are a few reasons auto loading is not built in.

1. Autoloading works for php5+ not php4
2. besides pog classes you would probably have other logic/controller classes that you would want separated from pog classes in your setup

so a custom autoloader would make more sense than a built in one

remember that pog offers database abstraction and is not a php framework


Kindest Regards,

Paris Paraskeva
Managing Director
M.E. & E. United Worx Ltd
33, Apostolou Pavlou Avenue, Office 103, 8046 Paphos, Cyprus
Tel.: +357 26220707, +357 26221313, Mob.: +357 99575501
Fax.: +357 26221002
pa...@unitedworx.com
www.unitedworx.com

The information contained in this email message(and any attachments) is legally privileged and confidential information intended only for the use of the addressee(s) listed on this email. If the reader of this message is not the intended recipient you are hereby notified that any dissemination, distribution or copy of this email is strictly prohibited. If you have received this email in error, please notify us by telephone or email on the contact details shown on the end of this email. Thank you.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4594 (20091111) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4594 (20091111) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Robert Mortimer

unread,
Nov 14, 2009, 9:05:23 AM11/14/09
to php-object...@googlegroups.com
See previous treads on group

2009/11/11 Paris Paraskeva <pa...@unitedworx.com>:
Reply all
Reply to author
Forward
0 new messages