I've got a project page finally up for Silverlight.FX, so it can be easily linked to rather than some arbitrary blog post of mine that alludes to it, and is a one-stop spot for the latest build, and relevant links and pointers to samples. As always, the full source code for the sample along with source code for the framework is available. For those who'd like to track progress as it happens, you can watch it on the associated GitHub repository as well. You can even fork and experiment if you'd like⦠I would definitely love to hear what you think about the project. Eventually I might set up something dedicated for facilitating discussion if there is interest.
While Silverlight.FX is something I use to prototype ideas into more tangible building blocks, some of which may eventually get incorporated into the platform, I am building the framework with concrete patterns and app scenarios in mind, so it is useful in its own right. Here is my one-line description of what Silverlight.FX is:
A small and lean framework that facilitates more structured and more declarative app development (eg. separation of view/code, effects, behaviors etc.) using Silverlight.
I've built a small collection of sample applications to highlight the features and concepts. Nothing beats app-building to help flesh things out. One of the applications is Silverlight Store - this is a small little application that allows you to search the Amazon catalog, as well as check out the latest deals and bargains, add them to your cart, and then do a checkout (for real if you go all the way). Below is a screenshot.
This sample has pretty much no code-behind. Everything is done either declaratively or with a view model (aka presenation model).

In addition it demonstrates:
- View Model pattern
- Simple/minimal IoC container
- Declarative Effects and Transitions
- Behaviors, actions and triggers as well as commanding
- ListView and DetailsView controls
- Animated Layouts (TilePanel)
- TemplatePanel (like asp.net master pages)
- Dialogs
When you run the sample, you'll want to do a few searches, and run it to experience the overall interaction model. The look and feel of the application was inspired by the original Flex Store sample app, but has a bit more color. :-)
Over time I plan to keep updating this sample to demonstrate building declarative data sources, navigation, theming, and MVC, as well as ability to write unit tests for the view model, and eventually update it to add some new Silverlight 3 features as well. Along the way, I also plan on doing a series of conceptual blog posts covering both ideas and features, and using snippets of this sample to illustrate the point.
This is just one of the samples - some other notable ones I've shared in the past are described in the blog posts on effects and transitions and the View Model pattern.
Posted on Wednesday, 3/4/2009 @ 2:35 PM
| #
Silverlight