FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » Template & i18n implementation
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Template & i18n implementation [message #523] Fri, 15 February 2002 23:01 Go to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
For the next release we are planning on adding full templating & i18n support. Unlike other forums we intended to be fast & efficient about our template implementation, which means not doing the template parsing real time.

Our current plan is to allow a person to create their template and then "compile it" into an file that will not require any parsing real time. The "compiler" would replace various defined "tags" with actual php code that in turn will populate the template with corresponding data from the forum.

This implementation will be very fast in terms of page generation, in fact we suspect it may even make the forum run faster then it does right now, since many of the strings will be static.

The main disadvantage is that after any layout change you will need to recompile the template. Which, should be pretty fast (1-2 seconds) but may be a little annoying if you are playing around with the layout.



FUDforum Core Developer
Re: Template & i18n implementation [message #685 is a reply to message #523] Sat, 23 February 2002 08:01 Go to previous messageGo to next message
B@rt is currently offline  B@rt   Netherlands
Messages: 6
Registered: February 2002
Location: Hilversum, The Netherland...
Karma: 0
Junior Member

Hi Protoss,

may I suggest you take a look at Smarty? (http://www.phpinsider.com/php/code/Smarty/) It does exactly what you describe, and adds optional content caching as a bonus.

I've done a lot of research into template engines and Smarty came out as the winner, both in functionality and performance.

Cheers,

B@rt


Cheers,<br><br>B@rt<br><br>--<br>Web Monkey, Project Manager, 3D Addict
Re: Template & i18n implementation [message #689 is a reply to message #685] Sat, 23 February 2002 17:32 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I'll take a look at that project.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Next Topic: Red & Grey on Black...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 16:39:41 GMT 2024

Total time taken to generate the page: 0.02345 seconds