Getting Started

First the Bits: download the latest release or the latest development build and create a your web project.

Then the Learning: how to use Spark starts with the documentation, the samples from the release zip, and the discussion group. Not necessarily in that order.

And then the Code: always available on Github at loudej/spark to download, checkout, or fork. Issues and feature requests and code contributions are always welcomed at Codeplex or the discussion group.

What is Spark?

Spark is a view engine for Asp.Net Mvc and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and the code to fit seamlessly.

<viewdata products="IEnumerable[[Product]]"/>
<ul if="products.Any()">
  <li each="var p in products">${p.Name}</li>
</ul>
<else>
  <p>No products available</p>
</else>

Welcome

People using Spark

Spark in the Field - web sites and utilities built with Spark view engine.

Introduction and Learning

Louis Dejardin - Hanselminutes Podcast 192: The Spark View Engine for ASP.NET MVC with Louis DeJardin

My one-hundred-and-ninety-second podcast is up. Scott chats with new Microsoft employee and ASP.NET team member about his open source ASP.NET MVC ViewEngine called "Spark." It's a totally new DSL (Domain Specific Language) that might make your MVC Views more fun to write!

Derik Whittaker: Dimecast #80 - Replacing the default view engine in MVC w/ Spark

In this episode we will take a look at how you can easily swap out the default view engine within the MVC Framework.

Donn Felker: Dimecast #113 - Saying Hello to the Spark View Engine

In this episode we are going to start a series where we take an indepth look at the Spark View Engine.

Donn Felker: Dimecast #115 - Learning how to add IntelliSense for the Spark View Engine

In this episode we are going to continue our look at how to use the Spark View Engine. We will be focusing on how to add intellisense to the Visual Studio IDE to aid in your development experiance.

Donn Felker: Dimecast #117 - Exploring how to use Global Variables and ViewData (Strongly typed and weak typed) with Spark

In this episode we will focus our attention on how to utilized both global variables and local variables. We will also take a look at how to create and use both strongly typed viewdata and weakly typed view data.

Donn Felker: Dimecast #119 - Exploring how to use Expressions with Spark

In this episode we are going to take a look at the various different ways you can use Expressions with the Spark View engine. We are going to review simply scenarios such as math based expressions and move up to looking at nested if-then-else statements.

Donn Felker: Dimecast #121 - Exploring how to use Looping Expressions w/ Spark

In this episode we will continue taking a look at the Spark View engine. We are going to take a look at the various different ways you can use Looping Expressions with the Spark View engine.

Donn Felker: Dimecast #156 - Learning how to use Named Content Areas with Spark

In this episode we are going to take a look at the how to setup and use Named Content Areas w/ the Spark view Engine. Named Content areas allow for an easy and simple way to organize the content or structure of you website.

Donn Felker: Dimecast #157 - Working with Partials in Spark: Part 1

In this episode we are going to take a look at how to use Partials within the Spark View Engine.

We will be taking a first look at partials and learn how we can setup our application to use partials as well as how to use them in your application. We will also be learning how partials will allow us to create clean, compartmentalized and well organized code.

Donn Felker: Dimecast #159 - Working with Partials in Spark: Part 2

In this episode we will take a deeper look at partials and learn more about their _undocumented_ features. We will also be learning how partials will allow us to create clean, compartmentalized and well organized code.

Eric Polerecky: Replace Webforms with Spark in new ASP.NET MVC Project

This demo is the process of getting running with Spark and replacing the WebForms view engine in a new ASP.NET MVC project for VB.NET developers.

Louis DeJardin: Minneapolis ALT.NET - Introducing Spark View Engine

Andrew Siemer : Spark View Engine with MVC 2 Learn how to integrate the Spark View Engine into a standard ASP.NET MVC 2 application.

A brief history and a handful of small demos about basic syntax, migrating from WebForms, and importing pure html web designs.

Project Resources

Some assets have been relocated.

Downloads

Release binary Downloads and Issue Tracking are now on the Spark View Engine - Codeplex site.

Earlier versions and release notes remain available on the previous download page.

Source Code

Primary source code is now located at the loudej/spark - github repository.

Checkout locally with git clone git://github.com/loudej/spark.git or download the current trunk zip directly.

Documentation

Spark Documentation remains on this project site.

Feedback appreciated

Please feel free to leave comments on Where's Lou or join the discussion group.

Google Groups
Subscribe to Spark View Engine Dev
Email:
Visit this group

Additional resources

Documentation (Printable)
Download releases and release notes
http://whereslou.com/tag/spark
http://sparkviewengine.codeplex.com
http://groups.google.com/group/spark-dev

External resources

http://asp.net/mvc
http://castleproject.org
http://www.codeplex.com/MVCContrib

Syndicate content