2 ms·
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/sc
by johns 17y ago
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-rendering-views-with-spark-and-asp-net-mvc.aspx 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-presentation-for-mpls-altnet http://whereslou.com/2009/06/24/spark-releas-and-presentatio...
- rbanffy 17y agoInteresting. Reminds me of Zope Page Templates. I wish more platforms used it. http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/...