Sunday, June 26, 2011

How to become iphone developer in eight easy steps

http://www.guardian.co.uk/technology/gamesblog/2009/feb/10/gameculture-apple

Step 1: Buy Mac
Step 2: Download the SDK
Step3: Learn Objective C
Step 4: Start Writing Something
Step 5: Sign-up as official developer
Step 6: Prepare for last weeks of work
Step 7: Submit you app to Apple
Step 8: Adapt, market and survive

Tuesday, June 21, 2011

Evaluating Entity Framework 4.0

I have been evaluating Entity Framework for Enterprise projects for last couple of days.
We are using Entity Framework for some small projects.
When using Entity Framework v 1.0 , we found out querying Entity object using reflection is slower than querying a dataset.
I bought Programming Entity Framework book by Julia Lerman.
It is a very good book on this topic.
PROS:
-Entity Framework is O/R Mapper plus wraper over ado.net (gives you DataReader as well as DataSet
-POCO Supports
-supports stored procedure

CONS:
-POCO does not feel right.Ayenda of NHibernator Fame explains very nicely in this post.
http://ayende.com/blog/4038/why-defer-loading-in-entity-framework-isnt-going-to-work
In short, they are tightly coupled with Entity Framework Context.

Ayende gave other examples how nhibernator is superior as compared to Entity Framework
http://ayende.com/blog/4351/nhibernate-vs-entity-framework-4-0




View -> Controller ->Model ->Business Objects ->Data Layer ->Enity Famework ->Databases
-->Automapper