|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Conducting a small experiment. Been wondering "Just how many template engines does PHP have?". My guess is there's probably at least 50 Open Source template engines out there but was hoping for a more precise number. The reason why is get a feel for how many times we've re-invented this wheel.
So if I can beg a momemt of time, please add any template engines you know of to this list. They don't have to be stand alone projects - phpBB for example has it's own template engine so that counts as one. The main thing is identifying unique template engines. Here's the first few off the top of my head; 1. PHP (yep PHP itself is a template engine) 2. Smarty 3. XSLT - technically XSLT is also a template engine 4. PEAR::HTML_Template_Flexy 5. PEAR::HTML_Template_IT 6. PEAR::HTML_Template_PHPLIB 7. PEAR::HTML_Template_Sigma 8. PEAR::HTML_Template_Xipe 9. patTemplate 10. PHPTAL (port of Zope templates) 11. PHP Savant - reclaiming PHP 12. SimpleT - also reclaiming PHP 13. YATS - Yet Another PHP Templating System 14. phpBB template engine 15. Fast Template 16. Tiny But Strong 17. YAPTER (yet another yet another?) 18. Simple Turtle Template 19. MiniTemplator 20. TagTemplate Wow - that's already 20... |
|
|
|
|
|
#2 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2003
Posts: 5,799
|
21. http://www.ultratemplate.com/main.php
Not a bad project as it stands at the moment although for more features there needs to be more development; although it'd do it's job if all you need is basic non complex functionality ? |
|
|
|
|
|
#3 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2003
Posts: 5,799
|
Umm... IMO No. 17 looks like a solid Template Engine to use for general use no ? Just my thoughts though folks...
|
|
|
|
|
|
#4 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Posts: 848
|
This will be fun.
Standalone: 22. Template Power 23. Virtual Template (French) 24. vLibTemplate 25. XTemplate 26. Richard Hayes Template class 27. Bugi Template (site is down? hotscripts entry) 28. bTemplate 29. Phemplate 30. Templeet 31. htmltmpl |
|
|
|
|
|
#6 | |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Quote:
Couple more... 32. eZ Publish 2.x Templates 33. eZ Publish 3.x Templates - very different to 2.x |
|
|
|
|
|
|
#7 |
|
SitePoint Zealot
![]() ![]() Join Date: Aug 2003
Location: Australia
Posts: 153
|
how about the PHP XSLT extension?
(or the transform capability from libXML2 in the upcoming version of the domdoc extension) IMO, everything else is a waste of time. btw. hello everyone. I've just dicovered sitepoint (from phpPatterns.com and I've been reading posts since midnight (now 2:15am :-)) some good meaty discussions here - my kinda place ![]() |
|
|
|
|
|
#8 | |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Quote:
Some more from the PHP Resource Index 34. TemplatePower 35. Muze Template 36. ETS - Easy Template System 37. AvantTemplate 38. Logic Template - not sure about this one - seems to be about turning PHP into an intepreter 39. varpage (formerly known as ShellPage) |
|
|
|
|
|
|
#9 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2003
Posts: 5,799
|
Welcome to SitePoint Tezza - You'll find this forum will be a life saver at times
I know it has helped me many a time.HarryF - DOM ? Proberly would be better to describe this as a form of templating yes ? Your article on DOM Widget's for example would be a good place to begin. |
|
|
|
|
|
#10 |
|
"Of" != "Have"
![]() Join Date: Jan 2003
Location: Calgary, Canada
Posts: 2,060
|
Template-X is my template engine... I don't have a dedicated page for it.
http://demo.deluxeportal.com/ You can look at it in the Admin Panel. (It's since been updated for Beta 4, but it's still similar) |
|
|
|
|
|
#11 | |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Welcome as well Tezza - sorry - was mid train of thought.
![]() Quote:
40. PHP-DOM extension (HTML support) |
|
|
|
|
|
|
#12 |
|
Sidewalking
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2001
Location: Philadelphia, US
Posts: 2,241
|
Does phpHTMLLib count, or does it fall under the DOM "exemption"?
|
|
|
|
|
|
#13 |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
|
|
|
|
|
|
#14 | |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Quote:
|
|
|
|
|
|
|
#15 | |
|
SitePoint Zealot
![]() ![]() Join Date: Aug 2003
Location: Australia
Posts: 153
|
Quote:
It's not a templating system as such though. As in, it's no a system for implementing templates. XSLT most definately can be thought of as one though. You literally cannot compile an XSLT template against any XML without using the TEMPLATE directive - even though it is possible to declare an XSLT script without a single literal. |
|
|
|
|
|
|
#16 | ||
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Quote:
My attempt at this is described here although DOM has to get alot more stable (and have a settled API) before I start using something like that in anger. Code:
<h1>Powered by <phptag id="PHP" /> and <phptag id="MySQL" /></h1> Code:
<h1>Powered by <a id="PHP" /> and <a id="MySQL" /></h1> PHP Code:
Quote:
|
||
|
|
|
|
|
#17 |
|
SitePoint Member
Join Date: Aug 2002
Location: Linz, Austria
Posts: 17
|
i really like phptal, because it's not one of those {} engines and it has nice wrappers for using xour own i18n and cache classes...
|
|
|
|
|
|
#18 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2003
Posts: 5,799
|
[Off Topic]
Looking over the manual at www.php.net on the DOM I noticed that there are a few functions for XSL stylesheets ? Umm... In the past I've used the Sablotron extension and a class and it worked well enough though I found very few Sablotron web hosts and there is the question of benchmarking. Now I am pondering on the idea that since nearly all web hosts have the DOMXML extension by default has anyone managed to use XSL-T with the DOM extension to the point of production level ? It'd be an interesting concept to use XSL via the DOM for templating as I see it maybe... Any thoughts on this folks ? |
|
|
|
|
|
#19 | |
|
Sidewalking
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2001
Location: Philadelphia, US
Posts: 2,241
|
Quote:
|
|
|
|
|
|
|
#20 |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Some more...
42. KTemplate (former Apolda Template) 43. EZ Template 44. 4Arrow Template Compiler 45. DTE 46. Enzyme Template (part of a mini framework) 47. dutchtpl 48. Xaraya - implements it's own template engine 49. Bleetz 50. ASAPlate 51. ecTemplate 52. Freetemplate 53. FT 54. ModelIxe - site's down right now but this one is interesting - it's the guy that's developing phpEdit and the Freshmeat description makes it sound a little ASP.NET like. Phew - that's over 50. Need a break. |
|
|
|
|
|
#21 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2003
Posts: 5,799
|
Anode - Yes, I've read Harry's article
I know Sablotron is redundant in PHP5 and since this new PHP version will have for the most part all the required XML (and related technology) built in this is all great etc.I was though referering to PHP4.2.x and above ? Should have made that more clearly now, so sorry about that ![]() But could a templating engine be done though that will actually work okay on a production site... ? |
|
|
|
|
|
#22 |
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,906
|
Can't help it (it's addictive once you get started)
55. FastTemplate Clone - drop in replacement for FastTemplate. 56. PHP-Service 57. PHPTempt 58. Quick Template 59. Sledgehammer 60. Server Side Template Parser 61. Vanilla Object Oriented Templates 62. vBulletin - has it's own template langauge There's at least another ten over at phpclasses not in the list yet... |
|
|
|
|
|
#23 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Apr 2002
Location: North Carolina
Posts: 348
|
Makes you wonder what would happen if they were all integrated into one.
Maybe someday life will be that simple! |
|
|
|
|
|
#24 |
|
"Of" != "Have"
![]() Join Date: Jan 2003
Location: Calgary, Canada
Posts: 2,060
|
I don't think that's the key. I think the key is having a template engine that does what a specific proect requires it to.
|
|
|
|
|
|
#25 |
|
This is all Mumbo Jumbo
![]() ![]() ![]() Join Date: Oct 2001
Location: New Delhi, India
Posts: 284
|
I have my own web template phpObjects.WebTemplate though haven't created a dedicated page though ...
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 07:30.















Linear Mode
