Discussion Group
would someone present a spark session at MvcConf?
Hi all,
Would someone like to present a session at the virtual mvc conference?
[link]
Please email me if you are interested. I would really like to have Spark
represented.
Thanks,
Eric
Eric Hexter
Would someone like to present a session at the virtual mvc conference?
[link]
Please email me if you are interested. I would really like to have Spark
represented.
Thanks,
Eric
Eric Hexter
Created Issue: JavaScriptView works slightly difference [6462]
I have a partial view. The view has a binding ${Product.Barcode} and the barcode is set to null. If the view is generated on the server side it works well. The result of the binding is empty string. But when I use generated JavaScript view code to build html tree it doesn't work, because the JavaScript code contains following line:
Re: SparkView and JQuery-tmpl
why need such big partial?
I can only render $ in it -
I can only render $ in it -
_t.spark:
${"$"}
<script id="sometmpl" type="text/html">
<li><t/>{$i}) <a href="<t/>{url}"><t/>{name}</a > (<t/
</script>
Content Element Order
I found an older post that explains my problems pretty well and was
wondering if there is a best solution.
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
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
most of my development at the moment, both including and excluding Spark.
Go for it!
-Asbjørn
Re: Project upgrade
Oops! Sorry for misunderstanding. And thank you for comments. They
sound promising :)
sound promising :)
Re: Project upgrade
Go for it! :)
Does anyone have any thoughts about moving the projects
over to vs2010?
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
Go for the upgrade \o/
Re: Project upgrade
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
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
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.
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
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,
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
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
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
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.
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
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?
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
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
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
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,
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
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
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
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
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
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
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.
The reason is that it's still mixed code (the new tags and html). It doesnt
get the same flow as spark.
