[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Recommended templating system

Alexandru E. Ungur

3/27/2006 9:09:00 PM

Hi all,

I'm new to Ruby, coming from PHP and Perl.
I am looking for a good templating system to use for building
web applications. So far I've found:

- cs/Template :: http://cstemplate.ruby...
- PageTemplate :: http://coolnamehere.com/products/pag...
- Canny :: http://canny.sourceforge.net/documenta...
- Kwartz :: http://www.kuwata-lab.c...
- Amrita :: http://amrita.sourc...
- XTemplate :: http://xtemplate.source...

Thoughts, advices, more templating engines... are all highly
appreciated.

I know each project will have its pros and cons, but I was just
wondering if there is a consensus on which is 'the best'?

Take PHP world for example. All clear: Smarty is the best tool
for the job (well, not if I look at the Kwartz diagram on its
homepage :D, but so far Smarty has suited me, and all the PHP
developers I know, just fine).


Thank you,
and have a good night everyone,

Alex



3 Answers

Stephen Waits

3/27/2006 9:23:00 PM

0

Alexandru E. Ungur wrote:
> I know each project will have its pros and cons, but I was just
> wondering if there is a consensus on which is 'the best'?

I'm not sure you'll get consensus. Also don't forget erb, which is
included in the Ruby distribution. There's an enhanced version of it
that was recently released too; however, the name escapes me ATM.

--Steve



Vassilis Rizopoulos

3/27/2006 10:43:00 PM

0

Alexandru E. Ungur wrote:
> Hi all,
>
> I'm new to Ruby, coming from PHP and Perl. I am looking for a good
> templating system to use for building web applications. So far I've
> found:
>
> - cs/Template :: http://cstemplate.ruby... - PageTemplate ::
> http://coolnamehere.com/products/pag... - Canny ::
> http://canny.sourceforge.net/documenta... - Kwartz ::
> http://www.kuwata-lab.c... - Amrita ::
> http://amrita.sourc... - XTemplate ::
> http://xtemplate.source...
>
> Thoughts, advices, more templating engines... are all highly
> appreciated.
>
I had quite a time trying to decide. I went initially with Amrita (which
has a version 1 and a version 2, as separate projects), but had some
trouble deciphering the examples.
Kwartz I only browsedd the code.
I finally ended up using erb, which is simple and flexible enough to
suit most needs.
Cheers,
V.-


--
http://www.braveworl...

____________________________________________________________________
http://www.f... - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.f... - free email service for the Greek-speaking.


Alexandru E. Ungur

3/28/2006 10:51:00 AM

0

Thank you for your suggestions.
erb looks quite nice.

Thanks,
Alex