rewrote the template api and added lots of caching options

This commit is contained in:
JT Smith 2004-06-15 17:36:25 +00:00
parent 6613992f3d
commit 20482def49
24 changed files with 252 additions and 100 deletions

View file

@ -10,7 +10,15 @@
- Fixed a bug in articles where articles with no content would fail to
display their images.
- bugfix [966466] WebGUI::Session. System crash when user language setting missing.
- Eliminated the need for Data::Serializer.
- Eliminated the need for Data::Serializer which results in a small amount of
less memory usage.
- Rewrote the template API which resulted in a 30% performance increase. See
docs/migration.txt for details.
- Added five new caching mechanisms for templates. Each has their own
benefits and detriments. This allows you to increase scalability and
performance at a cost of either memory or disk space or both. The gains
here are primarily enjoyed by large heavy traffic sites that use lots of
templates.
6.0.3

View file

@ -14,6 +14,8 @@ save you many hours of grief.
* You no longer need Data::Serializer.
* See docs/migration.txt for changes in the template system.
6.0.2
--------------------------------------------------------------------

View file

@ -113,11 +113,16 @@ to load the plug-in at use time.
5.5 Privilege API Change
In 6.1 we move isInGroup from WebGUI::Privilege to WebGUI::Grouping, where it
In 6.1 we moved isInGroup from WebGUI::Privilege to WebGUI::Grouping, where it
belongs. We also moved canViewPage and canEditPage to WebGUI::Page and renamed them
to canView and canEdit. And finally, we moved canEditWobject and
canViewWobject to WebGUI::Wobject and renamed them canView and canEdit and
converted them from regular functions into methods.
5.6 Template API Change
In 6.1 we completely rewrote the underlying template framework to add template
caching. Any plug-ins that use WebGUI::Template, must be updated to reflect
the new API.