[geeklog-devel] GL2 Update

Blaine Lang geeklog at langfamily.ca
Fri Mar 4 10:10:39 EST 2005


Tony,

This sounds pretty good and pretty impressive.

Regards,
Blaine
----- Original Message ----- 
From: "Tony Bibbs" <tony at tonybibbs.com>
To: "Geeklog-Devel" <geeklog-devel at lists.geeklog.net>; "Porcellana, Silvio" 
<sporc at tin.it>
Sent: Wednesday, March 02, 2005 1:58 PM
Subject: [geeklog-devel] GL2 Update


This past week I have been refactoring the MVCnPHP code a bit.  No big
changes are in there from an end user standpoint.  My main task was to
rip out the old PHP4-method of parsing XML and, instead, use the DOM and
xPath.  Doing so allowe me to eliminate two files and it cut the XML
parsing code by 75%.

Also, from a performance stand point, I'm going to have the MVCnPHP
class 'compile' the xml config for a given application.  Compiling
essentially equates to building a .php file that has an array
representation of the XML file.  This will get rid of the expensive xml
parsing process for each request.  And, yes, I will make it so that
changes to the xml configuration cause an automatic recompile.

As you might guess, I think it make tremendous sense to use a similar
process for the named query file in GL2.

Fire over any questions you might have.

--Tony
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel




More information about the geeklog-devel mailing list