web 2.0

MVVM – Model View ViewModel Pattern

MVVM pattern

MVVM pattern

MVVM which stands for Model-View-ViewModel is a relatively new pattern supporting development of WPF and Silverlight Applications.
It is  based on well-known MVC and MVP patterns, but it is actually adapted to take the advantage of data binding in WPF.

I started to look for appropriate architectural pattern for Large Silverlight LOB Applications and I was wondering if I can rely on MVC.
Then I found out, that there is already a design pattern targeted at modern UI development platforms called Model-View-ViewModel, introduced by John Gossman in 2005.

It is actually a Martin Fowler’s PresentationModel design pattern adjusted for WPF & Silverlight.
Continue reading »

Silverlight Application: Google Search (updated)

This application uses Google Search API and behaves like Internet Search Application with option to preview desired page in web browser directly in this application.

Layout

Layout

Out of Browser

Out of Browser

Installation

Installation


Read more to get know how I built it and download the source code.
Update: The project was published on CodePlex: slgooglesearch.codeplex.com

Continue reading »

The most useful Silverlight & RIA services blogs

I’m subscribed to a few blogs which are really good sources of samples, articles and news about our topic.
Scan my list to see if you would find useful resources there, too.

Brad Abrams blog – Design Guidelines, Managed code and the .NET Framework (RIA Services articles)

Tim Heuer blog – My favourite source for most up-to-date Silverlight articles (RIA Services articles)

Laurent Duveau – Really a lot of examples of new Silverlight features

Jeff Prosise blog – Well written blog mainly about Silverlight

Shawn Wildermuth – Professional articles about architecture & patterns, MEF, MVVM

SilverlightShow.net – Although it’s not a pure blog, it is an ultimate source of the most important articles.

If you know about another useful blog not mentioned here let me know…

WCF RIA Services Facebook Group

I created a new facebook group WCF RIA Services because I haven’t found any other group specially discussing Silverlight, RIA Applications, etc.
So if you are an Experienced Microsoft .NET developer interested in RIA and Enterprise applications feel free to join our facebook group and share your news and knowledge with others.

Domain Model

Decoration

Decoration

A better pattern for business logic layer.

Let me to introduce you the 3 base patterns to organize your domain logic: Transaction Script, Domain Model and Table Module.

Transaction Script
Organizes business logic by transactions. Logic for each of the CRUD operations and other business logic over data is encapsulated in one transaction script. So every transaction is a unique procedure which handles a single request from the presentation. These transactions usually do direct calls to the database like Stored procedures calls or Dynamic SQL queries.

Domain Model
An object model, which describes entities and relations between them in the domain. It’s one of the key aspects of Domain Driven Design.

Table Module
A single instance that handles the business logic for all rows in a database table or view.

For object-oriented programmers the Domain Model pattern would be the best understandable pattern, altgough many of them are still getting in touch mainly with the first Transaction Script pattern.

This article is about how Domain Model works, how to use it and how to implement it.
Continue reading »

Patterns of Enterprise Application Architecture

P EAA book

P EAA book

Development of Enterprise applications is not an easy process and there are a lot of problems you have to cope with. Martin Fowler, consultant on the design of enterprise software, has written a book clarifying architectural patterns, domain modeling, OOP programming and other patterns.

A short summary of EAA patterns can be found in his catalog.

Continue reading »

Rich User Experience

User experience, most often abbreviated UX, but sometimes UE, is a term used to describe the overarching experience a person has as a result of their interactions with a particular product or service, its delivery, and related artifacts, according to their design. [wiki]

Continue reading »

WCF RIA Services

What actually is WCF RIA Services (known also as .NET RIA Services)?  Briefly, it simplifies the development of n-tier solutions for Rich Internet Applications (RIA) by linking/grouping/boxing ASP.NET and Silverlight platforms.

Continue reading »

10 MIX ‘09 Webcasts about RIA & Silverlight

MIX '09 logo

MIX '09 logo

I’ve found a lot of useful videos about Rich Internet Application, Silverlight and .NET RIA Services.

Visit MIX 09 web site to see all videos related to Microsoft Technologies or continue reading and watch my recommended webcasts.

***

Continue reading »

Blog about RIA Enterprise Applications

Welcome to web site, where I hope you’ll find a lot of useful resources about .NET RIA development in Microsoft Silverlight + ASP.NET.

The core of the thesis will be an analysis building Silverlight RIA with existing Architectural and Design Patterns and especially the new .NET RIA Services Architectural Pattern.

This thesis is written by Lukas Zdechovan, a student of Applied Informatics at Faculty of Mathematics, Physics and Informatics at Comenius University in Bratislava, Slovakia.

Silverlight Logo

Silverlight Logo

Next Entries