The first public drop of Web Client Guidance is available on http://webclientguidance.codeplex.com.
As I mentioned in a previous blog, patterns & practices will have two Web deliverables in 2010.
Web Client Software Factory
For WCSF, we will port it to Visual Studio 2010 and .NET 4.0. We do not plan on adding new functionality to this release. This effort has started as Don Smith recently blogged.
Web Client Guidance
The Web Client Guidance will provide guidance on how to create rich responsive Web Applications. The focus of the project will be to:
Since we are in the early stages of creating the guidance, you will need to bear with us. We have not had a designer help us with the UI yet and the code has not gone through all its refactorings. What we have now will change based upon your feedback and our internal processes. So, give us your feedback to help us improve the guidance.
Reference Implementation Scenario
For this project, we picked a Music Store scenario. Currently you can browse songs, add your rating, write a review, see the average rating, see other users reviews, and your friends favorites.
As you can see on the page above, we added text that describes the guidance that we are demonstrating. This text defaults as hidden.
What have we done so far?
This is the first public drop of the Web Client Developer Guidance and our 5th iteration. Currently we have a Reference Implementation and 3 QuickStarts which include:
The Reference Implementation (RI) and QuickStarts currently demonstrate:
UI Responsiveness and Separate Presentation have been our biggest focus thus far. Let’s look at what we have explored in these areas.
Architecture & Design
For separate presentation, we are exploring three scenarios – Model View Controller (MVC), Web Forms with Model View Presenter (MVP), and Hybrid with MVC and Web Forms/ MVP.
For MVC we demonstrate how to unit test both the browser and the Web server. Additionally we demonstrate how to compose the user interface from reusable “widgets”. Check out Index.aspx where we display FriendsFavoriteSongs. When you run the RI, you need to login as User to see the Friend’s Top Songs.
We know that many of you have Web Forms sites that you want to start taking advantage of MVC so we decided to provide some guidance on the hybrid scenario. Right now we have a simple QuickStart called WebFormsMVCHybrid.
The documentation includes draft guidance on cross-site scripting, cross-site request forgery, update panel, optimizing page load times, progressive enhancements, single page interface, UX Patterns and more.
What’s coming in future drops?
The next drop we are focusing on finishing the Web Forms QuickStart and starting modularity. Once these are complete and we address your feedback, we will move on to exception management, logging, skinning the user interface, and potentially some form of automation to help you create rich responsive Web applications. Additionally we will create a lot more documentation to go with the code.
Where do you get it?
You get it from codeplex. The current drop is the one from Nov 13th.
How do you consume the guidance?
As I stated earlier, we are early in the process of creating the Web Client Guidance. Check it out and let us know how we are doing? You can either leave feedback on the Codeplex site with a tag of “Web Guidance v-Next” or you can leave comments on my blog.