Le dimanche 14 juillet 2013 13:58:05 UTC+4, Oleg Slobodskoi a écrit :
>
> Hi,
>
> 1. html becomes difficult to read, because of too long lines. Tal makes
> lines much longer.
>
That's true, but then you split with new lines, i.e.
<p tal:condition="true:somecondition"
tal:repeat="item self.someObject.someMethod()"
ral:replace="self.item.content">Stuff</p>
Personally I find Mustache / Handlebars / ejs syntax horrendous, so it's
all a matter of taste.
> 2. You should at least use an html parser ....
>
HTML parser won't work for anything but HTML. This is meant as a generic
library. Plus you can run it on the client side without any dependancies,
which is the point... what's wrong with shallow XML parsing? It works...
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.