Author: frik85
Date: Mon Nov 6 16:16:35 2006
New Revision: 24696
URL:
http://svn.reactos.org/svn/reactos?rev=24696&view=rev
Log:
RosCMS update:
Update has been tested for 1 1/2 days and is already on our web-server. This commit
don't effect ReactOS itself, as it is just for our website.
Updates:
* improved generator interface, more options, rarely used (debug) options removed
* complete new (from scratch) written page generator code; more than 5 times faster than
the old one, plus new "update" feature
* new generator has a compatibility layer to support the old generator API
* the new generator was meant to be better structured and more compact, as it turned out
it became a bit more extensive although it is still highly readable, as the code is
divided into several helper functions.
* 875 code lines in comparision to 497 code lines of the old generator.
Information:
In real world usage, the new page generator is up to 20 times faster than the old one.
This means that it takes now only seconds to generate all pages in comparion with the old
generator (coded by me in sommer 2005) which generation time had to be counted in minutes
for the same amount of pages.
Thanks to "Collibri" (from #reactos irc channel) who helped me with
brainstorming and suggestions/ideas, the new generator code is now very efficient. The
"generate everything" option is now O(log n) that means logarithmic in
comparision to the old code which was O(n^c), polynomial.
The "generate altered pages" option has a O(n log n) linearithmic checking code
and call for each page the above mentioned page generator (which is O(log n)).
Thanks to "Collibri" for help (see above for details).
Added:
trunk/web/reactos.org/htdocs/roscms/inc/generator.php
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_content.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_content_edit.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_dyncontent_edit.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_generate_menu.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_generate_menu_topframe.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_generator.php
trunk/web/reactos.org/htdocs/roscms/inc/admin_pages_save.php
trunk/web/reactos.org/htdocs/roscms/inc/generate_page.php
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
trunk/web/reactos.org/htdocs/roscms/index.php
[This mail would be too long, it was shortened to contain the URLs only.]
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_content.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_content_edit.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_dyncontent_edit.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_generate_menu.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_generate_menu_topframe.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_generator.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/admin_pages_save.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/generate_page.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Added:
trunk/web/reactos.org/htdocs/roscms/inc/generator.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
Modified:
trunk/web/reactos.org/htdocs/roscms/index.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inde…