|
||||
[Chameleon-dev] [Bug 158] [Chameleon 1.1] Enable Commenting out cwc2 tags in templatebugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.orgMon, 5 Apr 2004 18:32:28 -0400
|
http://www.maptools.org/bugzilla/show_bug.cgi?id=158 ------- Additional Comments From morissette@dmsolutions.ca 2004-04-05 18:32 ------- My 0.02$ on this: If you do this then go with <!cwc2...> as was initially suggested since this makes it very quick to comment a tag and will have the least performance impact. The <!cwc2> tags would simply be replaced with an empty string using preg_replace. Processing all HTML comments would have a bigger impact on performance, plus you would lose all the legitimate HTML comments unless you support some king of nested parsing as suggested above (complexity == bugs). Also, the day there is a user-friendly template editor for Chameleon, it will be much easier for that editor to catch <!cwc2...> than <!-- ... blah <cwc2...> ... -->. Finally, the docs should state clearly (in bold-italic-red-underlined) that commented widgets should be taken out of a template on production servers for performance reasons. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |