Repository Pattern

Wednesday, September 10, 2008 7:17 AM
Repository Pattern

I will talk about the Repository pattern mentioned as one of the Patterns of Enterprise Application Architecture (PoEAA) in well-known Martin Fowler's book. This is one of the widely used patterns in software industry. For you who already declared yourself as a software architect, this pattern is not something new. For you who haven't heard about this before, this posting will describe the basic structure and usage of this pattern.

[Read More]



Using BuildUrlFromExpression() Method in Controllers

Tuesday, September 23, 2008 8:45 AM

BuildUrlFromExpression() helper method is a helpful function in ASP.NET MVC. You can use it to generate a link based on your routing entry. By using this helper method you can avoid hardcoded links in your views.

[Read More]



CommunityBlog: Iteration Two

Monday, September 22, 2008 5:17 PM

After finishing iteration one, I'm ready now to continue to the second iteration. The result and process of the first iteration become important factors for the second one. I'm now beginning to feel comfortable about the chosen architecture and the process.

[Read More]



CommunityBlog: Visual Studio Solution Structure

Tuesday, September 09, 2008 11:29 AM

First I used ASP.NET MVC web project template to generate Visual Studio solution structure for me. It is a standard project template that is shipped with ASP.NET MVC installation package. We can download it from ASP.NET MVC website or CodePlex.

[Read More]



CommunityBlog: Routing Design Phase 1

Monday, September 08, 2008 9:09 AM

Routing is an integral part of Microsoft .NET Framework 3.5 SP1. In ASP.NET MVC application it plays an important role in mapping URL to controllers and actions. We define the mapping in routing table, and then the routing mechanism will read this table to determine the Controller and Action that will handle the incoming request.

[Read More]



CommunityBlog: Minyx LITE Theme

Sunday, September 07, 2008 8:34 AM

So far my concerns are put on the back-end of the system being built. Of course this is not wrong, but I think it is unfair not to give attention to the front-end or user interface. The look and feel of a website plays a very important role to the success of the website. So, putting attention to it in the early stage of development life cycle is also a must.

[Read More]



CommunityBlog: Data Model (Phase 1)

Saturday, September 06, 2008 2:51 PM

Having designed the class model should be enough if we plan our application to run against the class instances that are created in computer memory based on the model. However, in the real world all entity objects have to be stored (persisted) somewhere. Common data store used today is relational database.

[Read More]



CommunityBlog: Class Model (Phase 1)

Friday, September 05, 2008 3:47 PM

Now we already have a requirement list and use-cases of the system being built. Still using my system analyst hat, I then enter the analysis realm of domain modeling. This is an important skill that every system analyst has to master. This skill can be built by reading some materials, or gain it from experience.

[Read More]



CommunityBlog: Requirements and Use-Case Model (Phase 1)

Thursday, September 04, 2008 12:35 PM

In the first iteration, I will define only some basic requirements. This is expected because the amount of work in the early phase does not only come from the requirements, but also from infrastructure plumbing. By limiting our scope to only some basic requirements, we increase the chance of better manageability of the project in its first phase.

[Read More]



CommunityBlog: Iteration One

Wednesday, September 03, 2008 9:25 AM

Iteration one will put the foundation of all activities that depend on it. Just like building a house, putting a strong foundation is very important. The sustainability of anything we build on top of it directly depends on the strength of the foundation. The quality of the products built on subsequent phases also relies on this foundation.

[Read More]