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

 
 

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

patch #4239: Template engine performance improvement

Submitted by:  Kai Hofmann <powerstat>
Submitted on:  Tue 26 Jul 2005 01:31:36 PM UTC  
 
Category: API - phpGWapiPriority: 5 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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>

 

Attached Files
file #9207:  template.patch added by powerstat (3kB - application/octet-stream - Unified diff patch file)
file #9121:  template.txt added by powerstat (2kB - 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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 08 Aug 2005 01:07:29 PM UTCpowerstatAttached File-=>Added template.patch, #4987
Tue 26 Jul 2005 01:31:36 PM UTCpowerstatAttached File-=>Added template.txt, #4920

Back to the top


Powered by Savane 3.1-cleanup