Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

1. <p if="condition">Foo</p>

2. HTML encoded by default

3. <li each="var foo in bar">${foo.Name}</li>

4. Client-side rendering: http://odetocode.com/blogs/scott/archive/2009/03/12/client-r...

5. conditional attributes (kludgy syntax, but better than Webforms VE)

6. Content "spooling". You can create a partial that registers a script tag/script specific to the partial, but only if it hasn't been registered already. Partials can also spool content to any other content area.

6a. <script once="jquery" src="...">

The video quality of this is a little rough, but here's a good overview by the guy that started Spark, Louis Dejardin: http://whereslou.com/2009/06/24/spark-releas-and-presentatio...



Interesting. Reminds me of Zope Page Templates. I wish more platforms used it.

http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: