Daqing Chu At WordPress

May 27, 2009

iPhone Dev Classes by Stanford U

Filed under: Programming Notes — David Chu @ 4:11 am

In the pass week, I have been watching iPhone Application Programming classes offered by Stanford University. I read a news on AppleInsider about Free Stanford iPhone dev podcasts downloaded 1 million times. Then I started the course.

Read the full blog ».


May 21, 2009

Waiting for Snow Leopard OS

Filed under: Life with Mac — David Chu @ 3:41 am

I have been waiting for the new OS Snow Leopard out for months. Just like one year ago I got my iMac 24 box, I was waiting for the new OS. Hopefully the new OS will be out this summer time around June, instead of in September this year like some rumors said.

Read the full blog ».

May 19, 2009

Dependency Injection and StructureMap (4)

Filed under: Programming Notes — David Chu @ 3:40 am
Tags: ,

In addition to the methods of dependency mapping described in my previous blog, SM provides several other alternative methods to describe the DM.

Read the full blog ».

May 18, 2009

Another Example of Fluent Interface

Filed under: Programming Notes — David Chu @ 6:32 pm
Tags: ,

As in my previous blog posts, Fluent Interface pattern makes codes very simple and easy to read. The key point of FI is to define a class with methods returning a type of the class itself. As a result, you can continue to call its methods to manipulate data within the class. I have seen this pattern in jQuery and Dojo.

Read the full blog ».

May 16, 2009

Mac OSX Update 10.5.7

Filed under: Life with Mac — David Chu @ 12:07 am

Mac OSX 10.5.7 update just prompt me today. This update needs reboot.

See the full blog ».

May 14, 2009

Dependency Injection and StructureMap (3)

Filed under: Programming Notes — David Chu @ 4:39 am
Tags: ,

SM uses Fluent Interface(FI) to describe dependency mapping relationships. The FI description is to read and straightforward. You may find out various ways to describe the dependency mapping(DM) relationships. Personally, I prefer to use FI in the following format:

Read the full blog ».

May 12, 2009

Dependency Injection and StructureMap (2)

Filed under: Programming Notes — David Chu @ 5:07 am
Tags: ,

As I mentioned in my previous blog, Registry DSL is a recommended way to configure DI mappings by StuctureMap. StructureMap introduces Registry class which is normally used as a base class for customizing DI mapping definitions.

Read the full bog ».

May 7, 2009

Dependency Injection and StructureMap (1)

Filed under: Programming Notes — David Chu @ 3:55 am
Tags: ,

Recently I have been working a project with DI and StructureMap. The concept is not new but StructureMap was new for me. I did not take too long for me to understand how to use it, and soon I fall in love with SM.

Read full blog ».

Blog at WordPress.com.