patchphpGroupWare - Patches: patch #4239, Template engine performance...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4239: Template engine performance improvement

Submitter:  Kai Hofmann <powerstat>
Submitted:  Tue 26 Jul 2005 01:31:36 PM UTC
 
Category:  API - phpGWapi Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 08 Aug 2005 01:07:29 PM UTC, comment #1: 

Updated patch:
- avoids css parsing,
- More speed improvements when no variables are within the block.
- added unset_var()

Attention:

This patch has the side effect, that unclean written
template code within the groupware will result it not displaying content.

We have found this within the following modules:

- projects
- addressbook
- tts

Fixing is easy - mostly you just have to add parse commands for blocks that have been cut out.

Kai Hofmann <powerstat>
Tue 26 Jul 2005 01:31:36 PM UTC, original submission:  

This patch improves the whole groupware's performance.
It modifies the template engine so that it will not longer waste
its time with template variables that are not within the
part that will be parsed at the moment.
Biggest performance improvement can be seen within the projects control-sheet (matrix) view.

Kai Hofmann <powerstat>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #9207:  template.patch added by powerstat (3KiB - application/octet-stream - Unified diff patch file)
file #9121:  template.txt added by powerstat (2KiB - text/plain - Windows patch file for class.Template.inc.php)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-08 powerstat Attached File- Added template.patch, #4987
2005-07-26 powerstat Attached File- Added template.txt, #4920

Back to the top

Powered by Savane 3.10