|
From: Ragin <ow...@en...> - 2006-12-12 09:57:42
|
Hi, I've only said, that this template engine is much better than the smarty template engine (which is the most used and till savant one of the best at the market) in connection to the previous mails about template engines. The advantage of this template system is, that there you have all the advantages from smarty (high flexibility, caching, easy subtemplating, logic elements at template (if some things only be indicated in certain situations) etc.), but all much faster. So this engine is (if we want to change to another template engine) the best alternative to all others. Greetings Jörg On Mon, 11 Dec 2006 21:55:52 +0100, Jago <ja...@no...> wrote: > Hi, > I looked at the link and tried to understand what the engine does and > what it can do better than our current template system. > > A good code example is here: > http://www.phpsavant.com/yawiki/index.php?area=Savant2&page=StartExample > > This code is not shorter than our current template system and it does > not offer any additional functionality. As in our template system you > have to create an object, assign the values that are dynamic and then > create the output. Since we write all code to a buffer and print this > buffer after all operations are done there is also no performance > problem. Even in case of an error, where we can dynamically decide how > to indicate the error. One advantage is that you can pass an array with > the values that should be replaced. But this could be easily added in > our system as well. > > Joerg, could you please share yiur thoughts why you think savant is > better than our system? > > And the HTML code is not seperated from the PHP code, what I really > dislike. > > Kind regards. > Joern / Jago / sutester > > Ragin schrieb: >> I forgot the link... :) >> >> >> >> http://phpsavant.com/yawiki/ >> >> >> >> Greetings >> >> Jörg // Ragin >> >> >> >> On Tue, 28 Nov 2006 21:53:22 +0100, Steffen Schopf <ba...@no...> > wrote: >> >> >>> Hi, >>> >> >> >> >> >>> in today's session Jörn and I discussed some php template frameworks. >>> >> >> >>> There is an iX Special Web 2.0 available where some php template >>> >> >> >>> frameworks are presented. Only one of us seemed to be useful to us at >>> >> >> >>> first. - The Integrated Templates IT[X] of the PEAR project. But after > a >>> >> >> >>> review we decided that this would bring no advantage to us, because it >>> >> >> >>> does basically the same as our template engine. There is an interesting >>> >> >> >>> article available here: >>> >> >> >>> http://www.ulf-wendel.de/projekte/itx/vergleich.php (only in German). > It >>> >> >> >>> is a comparison of IT[X] and some other template frameworks. They all > do >>> >> >> >>> basically the same. >>> >> >> >> >> >>> In the web we found another one called PRADO. It is hosted on >>> >> >> >>> sourceforge.net and has a website www.pradosoft.com (a quick start is >>> >> >> >>> available here: >>> >> >> >>> > http://www.pradosoft.com/demos/quickstart/?page=GettingStarted.HelloWorld >>> >> >> >>> ). This might be interessting to us. Further investigation is required, >>> >> >> >>> since we did not have the time today. It seems to work similarly to >>> >> >> >>> Microsoft's ASP.NET. >>> >> >> >> >> >>> Are there any more comments on that topic? >>> >> >> >> >> >>> Regards >>> >> >> >>> Steffen >>> >> >> >> >> >>> Novawars - The War Is Out There >>> >> >> >>> http://www.novawars.de >>> >> >> >>> irc://de.quakenet.org:6668 #novawars >>> >> >> >> >> >>> Novawars is based on Qingu technology >>> >> >> >>> https://sourceforge.net/projects/qingu/ >>> >> >> >> >> >> >> >> >> >>> Jago schrieb: >>> >> >> >>>> Hi, >>>> >> >> >>>> for those who could not attend and for those who attended but can't >>>> >> >> >>>> remember here a short summary of the last meeting. >>>> >> >> >> >> >>>> It was decided to use the proposal from Ragin for the graphical >>>> >> >> >>>> framework. But the info about the installed graphic package should be >>>> >> >> >>>> stored/read to/from a cookie instead of a difficult file read. This >>>> >> >> >>>> saves coding effort and bewares of Javascript incompatibilities. >>>> >> >> >> >> >>>> Also the concept of frames is not needed anymore because most browsers >>>> >> >> >>>> cache the pictures today and broadband connections are widely used. In >>>> >> >> >>>> addition the transfer amount that is saved is minimal for the server > and >>>> >> >> >> >> >>>> can be reduced if necessary by using zip'ed transfer mode if possible. >>>> >> >> >> >> >>>> A task until 11/15 for everybody on this list is to look into > available >>>> >> >> >>>> GUI frameworks and discuss the dis-/advantages of each of it here on > the >>>> >> >> >> >> >>>> list. At 11/15 a decision will be made, which of the frameworks will > be >>>> >> >> >>>> used. Due to limited workforce the main overview page and the archive >>>> >> >> >>>> (which will be rewritten next) will be the demo parts in the game to >>>> >> >> >>>> show the new framework. >>>> >> >> >> >> >>>> And now to the work that was assigned to single persons: >>>> >> >> >>>> write config.inc.php to prepare for automatic setup -> Badman (until >>>> >> >> >>> 11/15) >>> >> >> >>>> rewrite archive to object oriented structure -> Orkala (until end of >>>> >> >> >>> year) >>> >> >> >> >> >>>> If I forgot something, please add it. >>>> Llap sutester >>>> |