[Phpmyadmin-devel] regarding Classes

Garvin Hicking phpmyadmin at supergarv.de
Wed Nov 30 12:11:03 CET 2005


Hi Sebastian!

> i would like to have feedback what you think about my classes and classes at
> all.

Is this in CVS, or what do you mean?

> i hope to get some performance improvements, as with having these objects in the
> session PMA does not need to do all this init stuff with every page request
> (also with later XMLHTTPREQUESTS/AJAX in mind)

Putting classes in a session does not increase performance very much. A class
still needs to be unserialized, parsed, initialized, and constructed even if the
object is in a "session". You would need the PHP SRM (still not very final) for
persistent objects throughout multiple page requests.

Creating lightweight classes that can be loaded only if required would help a
lot, as they can use lazy initialization.

Best regards,
Garvin

-- 
++ Garvin Hicking | Web-Entwickler [PHP]    | www.garv.in | ICQ 21392242
++ Developer of   | www.phpMyAdmin.net      | www.s9y.org

++ Make me happy  | http://wishes.garv.in





More information about the Developers mailing list