Wednesday, July 28, 2010

ASP.NET MVC 3 – Preview 1 is here

Here are the major improvements in new version:

  • Improved View: New Add->View Dialog
  • New Razor engine
  • Improved Controller
  • Improved JavaScript and AJAX
  • Improved Model Validation

 

You can download it here.

More reading here at ScottGu’s blog - http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx

Wednesday, July 14, 2010

Design Pattern: Lazy Loading

When you hear this term at first, it gives the feeling something is not going well :)

But this is a very useful design pattern to solve the lazy loading of objects in your applications. This is basically for the improvement of performance of your application.

Here are the four methods of implementing Lazy Loading pattern:

  • Lazy Initialization – The default value of an object will be NULL. When a request for an object comes, it creates the real object on the fly.
  • Virtual Proxy – It is a kind of wrapper. It provides an object which is a kind of clone of the original object. The object gets created when any one of its property or method is accessed.
  • Ghost – It is the real object which is in a partial-loaded stage. Like in Virtual Proxy, the object will be ‘completed’ once any of its property or method is accessed
  • Value Holder – It is a generic object which appears in place of object’s data fields.

 

More information here.

Friday, July 2, 2010

FEA, TOGAF and Zachman Architectures

FEA – Federal Enterprise Architecture

A management practice for aligning resources to improve business performance and help agencies better execute their core missions.

More info: http://en.wikipedia.org/wiki/Federal_Enterprise_Architecture

TOGAF – The Open Group Architecture Framework

It provides a comprehensive approach to the design, planning, implementation, and governance of an enterprise information architecture.

More info: http://en.wikipedia.org/wiki/The_Open_Group_Architecture_Framework

Zachman Framework

It provides a formal and highly structured way of viewing and defining an enterprise.

More info: http://en.wikipedia.org/wiki/Zachman_Framework