Skip to content
William Desportes edited this page Apr 6, 2019 · 4 revisions

Templatesystem: Savant

i'd suggest to have a look at www . phpsavant.com/yawiki/index.php?area=Savant2&page=HomePage it has a smaller footprint than smarty. --Jürgen Wind

what do you exactly mean with 'smaller footprint'? --Sebastian Mendel 09:17, 26 September 2006 (CEST)

"In computer science, the footprint of a piece of software is the portion of computing resources, typically RAM, CPU time and disc space, that it requires in order to operate." do you talking of this? Any sources for this? --Sebastian Mendel 09:20, 26 September 2006 (CEST)

but Savant does nothing more than just split up presentation code from controller code, thats fine - but Smarty gives us a plenty of tools making it more easier for us and takes some work away from us. Many things like escaping, genrating selectboxes and much more is already well implemented in Smarty and in a mature state --Sebastian Mendel 09:31, 26 September 2006 (CEST)

ok, i just wanted you to avoid any unneccessary overhead. If smarty provides useful routines, without the sacrifice of slowing performance - go for it. --Jürgen Wind 19:11, 27 September 2006 (CEST)

I prefer to use TWIG or Dwoo for templates. As discussed in mailing list it would be better to use a php framework like Symfony. Symfony is my favorite, cause it's fast, stable and comes with full jQuery support. --Michael Keck 14:14, 09 March 2010 (CEST)

== Requirements MySQL >= 5.0 == There are many mysql 4.x out there ! no more support planned ? -- windkiel 16:43, 6 October 2006 (CEST)

we do not know if there will be ever a 3 or when it will come out, so we cannot decide now if MySQL < 5 will be supported. --Sebastian Mendel 16:47, 6 October 2006 (CEST)

I think that pma 3 is so far away, that it is safe to expect that majority will switch to MySQL >= 5 in that time --User:Nijel 16:52, 6 October 2006 (CEST)

JavaScript

I'd suggest to drop NS4 and IE4 support (who still uses those?), it makes .js files smaller and easier to maintain. --windkiel 19:08, 6 December 2007 (CET)

--

»»move JavaScript eventhandlers out of html tags (on[event]="...") into JavaScript file (window.element.on[event] = ...)««

Please use some decent javascript-library, like Prototype. This way you can also implement some asynchronous editing features and avoid thereby costly refreshes of the wole pages. Make it really unobtrusive javascript! --(anonymous)

Directory Structure

If a new subfolder is neccessary at all, I'd suggest using html instead of htdocs (could lead to confusion otherwise) even if html isn't correct either. --windkiel 16:59, 25 August 2007 (CEST)

to make it more easy to have files (contrib) not served by web server, by setting vhost document root to htdocs, and this folder does not only contain HTML, and htdocs is a common name for such a folder (document root). --Sebastian Mendel 09:38, 7 January 2008 (CET)

And why should setup be moved out of the main folder? --windkiel 17:36, 4 January 2008 (CET)

for separation, to make it more easy removing setup files if someone is afraid about security. --Sebastian Mendel 09:38, 7 January 2008 (CET)

Clone this wiki locally