Discussion Group

Syndicate content
Development discussion and project notification for Spark view engine
Updated: 7 min 2 sec ago

Content Element Order

Sat, 07/10/2010 - 16:35
I found an older post that explains my problems pretty well and was
wondering if there is a best solution.

======html.spark:=======
<head>
<use:head>
</head>
=============
=======Application.spark:===== =
<content:head>
LAYOUT
</content>
=============
=======View.spark:======
<content:head>

Re: Project upgrade

Sat, 07/10/2010 - 12:51
I'd like to see more focus on VS2010 overall since that's where I'm doing
most of my development at the moment, both including and excluding Spark.
Go for it!
-Asbjørn

Re: Project upgrade

Sat, 07/10/2010 - 10:11
Oops! Sorry for misunderstanding. And thank you for comments. They
sound promising :)

Re: Project upgrade

Sat, 07/10/2010 - 08:51
Go for it! :)
Does anyone have any thoughts about moving the projects
over to vs2010?

Or is it more likely that most devs want it to stay under vs2008?

I don't really mind either way since I'm using Steve
Dunn's great tool <[link]> to convert back and forth, but since most of my

Re: Project upgrade

Sat, 07/10/2010 - 06:59
Go for the upgrade \o/

Re: Project upgrade

Fri, 07/09/2010 - 22:45
Hi Igor,
I should have been more clear. Your projects you write that use the Spark
binaries can still stay in vs2008 since I'm fairly sure that Spark will
continue to get compiled against 3.5SP1 for now and your vs2008 Intellisense
will stay.
I was more referring to the source code of the Spark projects being upgraded

Re: Project upgrade

Fri, 07/09/2010 - 22:45
I would migrate my current project to .NET 4.0 and VS2010. But to
loose intellisense in Spark is not good option to me. I saw recent
updates on TeamCity and noticed that Louis has merged your codes to
trunk tonight. Could you, please, comment what's happening? Personally
I have no idea about Spark roadmap.

Project upgrade

Fri, 07/09/2010 - 22:13
Does anyone have any thoughts about moving the projects over to vs2010?
Or is it more likely that most devs want it to stay under vs2008?
I don't really mind either way since I'm using Steve Dunn's great
tool<[link]>to
convert back and forth, but since most of my work happens on vs2010,

Re: Microsoft's new "Razor" View Engine

Fri, 07/09/2010 - 05:00
That's what I like about you Lou - humble no matter what. The very fact that
you publicly talk about what and who influenced you *is* the point.
You give credit where credit it due and although Andrew sound like a great
(and smart) guy. Pretending that this is "their invention" is a little hard
to swallow. RE: the design cues (I spelt it wrong), good ideas eventually

RE: Microsoft's new "Razor" View Engine

Fri, 07/09/2010 - 04:44
Ah, good times. :)
In terms of design queues, though, I think you'd be surprised... Andrew talks about that a bit at [link]
the premise and syntax was well underway before I even started working at building 42.
Kind of like how Spark in the early days was compared to coldfusion a lot, along with a few other php template engines with strikingly similar features. I'll be the first to point out Spark was directly influenced by experiences with NVelocity, and NHaml to some extent, but I hadn't seen any of the others before. I think the same thing happened with Razor.

RE: Visual Studio intellisense

Thu, 07/08/2010 - 22:29
Great!
Sent: Sunday, July 04, 2010 6:00 PM
To: spark-dev@googlegroups.com
Still actively working on it as I get time. Last few show-stopper bugs to kill now and I think we'll be ready for a beta period.
Will keep you posted.
Regards,
Rob
What's the state on the VS 2010 version?

Re: Visual Studio intellisense

Thu, 07/08/2010 - 19:33
Still actively working on it as I get time. Last few show-stopper bugs to
kill now and I think we'll be ready for a beta period.
Will keep you posted.
Regards,
Rob

Re: Microsoft's new "Razor" View Engine

Thu, 07/08/2010 - 17:57
As I said before, I thought I would blog about my thoughts on this topic:
The published article is here:
blog.robertgreyling.com/2010/0 7/is-razor-just-wolf-in-sparks -clothing.html
<[link]>Feedback
most welcome...
Best regards,

Re: Microsoft's new "Razor" View Engine

Thu, 07/08/2010 - 00:12
The automatic variables when doing a foreach loop in spark are awesome and
are used so much.
eg. blahIndex etc.
I use this code block in nearly every crud page.
<tr each="var item in Model.List" class="even?{itemIndex % 2 != 0}">
</tr>
i hate having to declare the i variable outside a foreach and then increment

Re: Microsoft's new "Razor" View Engine

Wed, 07/07/2010 - 06:17
Thanks for the response, Louis.

We're currently building a new product using Spark as the view engine
and hence the question given your unique position with regard to Spark
and Microsoft.

Re: Microsoft's new "Razor" View Engine

Wed, 07/07/2010 - 02:49
I think I need to blog about the key similarities/differences between the
two engines. The main focus being on education - I don't intend to bash
Razor, but I do intend to call out direct parallels between the two.
They say that imitation is the sincerest form of flattery eh Lou ;)
Would you mind if I ran the post by you first when it's done Lou? I don't

Re: Microsoft's new "Razor" View Engine

Tue, 07/06/2010 - 21:13
Looks better then ASP, but I still like spark better.
The reason is that it's still mixed code (the new tags and html). It doesnt
get the same flow as spark.

Re: Microsoft's new "Razor" View Engine

Tue, 07/06/2010 - 17:30
Nope, I'm working full-time on the Orchard CMS. I am on the internal
discussion list, have shared some opinions and thoughs on some
threads. But in terms of design, implementation, and the future -
Spark and Razor are totally unrelated.

Specifically to the question - what is the future of Spark - nothing

Microsoft's new "Razor" View Engine

Tue, 07/06/2010 - 17:30
Microsoft's newly announced ASP.NET MVC view engine Razor:

[link]

Louis, @ Microsoft do you also work on Razor development? What's the
future for Spark, if any?

Re: Variable file name in render partial

Tue, 07/06/2010 - 17:30
Looks like I need to create a block inheriting from IBlock in ASP.NET or
ViewComponent in MonoRail to solve this problem.