--
Cheers,
hamilton verissimo
ham...@castlestronghold.com
http://www.castlestronghold.com/
> Hello all,
>
> I'm working on a spark view engine and I'd like to contribute
> a MR IViewEngine project.
What's the raison d'etre for Spark?.
How does it compare to pre-existing templating systems such as NVelocity,
Brail, Asp, NHaml, StringTemplate etc?. What does it do better/uniquely etc?
Kunle
> <if condition="true">
> <span class="alpha">
> </if>
> <else>
> <span class="beta">
> </else>
This is really weird. the 'else' seems to lose the connection with the
if. Also, having to write
<if condition="
instead of
<% if
or
#if(
isnt very appealing. is that the only way to express statements?
> <viewdata items="System.Collections.IEnumerable" foo="string"/>
> <DiggStylePagination Page="items"/>
I like the declaration, although I'd recommend a namespace. Same point
on the System.Collections.IEnumerable, string.
I know that might bump into technical issues, but really, the more the
language can do for you, more time you have to concentrate on the real
problem you're trying to solve.
Another thing on my wish list for a viewcomponent is the support for
block/closures. Is that on the plans?
> Another thing on my wish list for a viewcomponent is the
> support for block/closures. Is that on the plans?
There is a viewcomponent wish list?. Where? (or at least, what's in it?)
Kunle
This is really weird. the 'else' seems to lose the connection with the
if.
-
Truth,
James
If you have to rely on a tool to make the experience pleasant (or
bearable), then something is fundamentally wrong...
--
#foreach($user in $users)
<li class="userlist #if($user.IsAdmin) admin #end "> $user.FullName </li>
#end
On Sun, Jun 15, 2008 at 1:12 AM, Louis DeJardin
<Louis.D...@gmail.com> wrote:
>
> (apologies in advance for the long posts...)
>
> I don't see a problem with providing several syntax for the same
> statement. Even if there are explicit forms of if I'd like to retain
> the element/attribute options. I prefer the if="" attribute technique
> myself.
--