[typo] Switch To HAML?

Frederic de Villamil neuro at 7el.net
Mon Feb 12 05:00:44 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 12 févr. 07 à 02:20, Kevin Ballard a écrit :

> On Feb 2, 2007, at 12:55 PM, mathew wrote:
>
>> I agree. I think HAML is a dumb idea, because it means you can't just
>> edit your templates in a standard XHTML or XML editor.
>
> Buh? Who edits HTML in an XML editor? Especially since the eRB  
> escapes aren't, to my knowledge, real XML escapes and so I should  
> be able to construct a valid RHTML file which isn't valid XML.
>
>> If typo moves to HAML, I drop typo, unless there's an HTML-to-HAML
>> converter. I don't want to learn another markup language unless
>> there's a really, really compelling reason. Making templates take up
>> less characters is not that reason.
>
> Why would you have to learn HAML? If we push out a stable Typo that  
> uses HAML, we'll make sure themes can still use rhtml, so there  
> should be no problem here.
>

What we're actually going to do is leave one theme with HAML and one  
with RHTML.
This way, people who want to use HAML – like I do – will use it, and  
people who want to open their template in an HTML editor will bbe  
able to do so.

That way, everyone's going to be happy.
- --
Frédéric de Villamil
frederic at de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF0DrNCvkKk5nKviARArfuAKCxbycutMj7XJ6j+XU0ATiealCJcQCeKfcH
O5zbOl1+lhxM2MtfslT3opw=
=7dIx
-----END PGP SIGNATURE-----


More information about the Typo-list mailing list