Saturday, October 18, 2008

ORM (Object Relational Mapper) - what is available

Once you get familiar with ORM's you will "Love or Hate" the idea.

For a new project I write I decided to use once more an ORM Tool. There are so many ORM's outside there and because I develop it only in .Net C# and I love the idea for open source I decided I only go for an open source object relational mapper.

Microsoft comes out with some stuff called "Linq to SQL" and "Entity Framework". I could find lot of information about it but in the end I could NOT find a really working solution which is based on a n-tier architecture. Since my point of view is that applications are also applications which are based on different tiers or models I'm not satisfied with this "0815 / drag & drop" Microsoft solutions which are done in 5 minutes.

An application has to be divided into various tiers. Lets say it simple:
- Data Access Layer
- Business Object Layer
- Presentation Layer

if you need more well done but I prefer a clean architecture instead of one Website Project which contains a mix of anything. Can be that for other people it is good enough. Anyway, enough about my personal point of view.

Following criteria are important to me:

  • Perspective on Performance
  • Perspective on Data-source independence - access various data-sources SQL Server, OBDC etc.
  • Perspective on Lazy Load of parent entities
  • Perspective on Pluggable Creation Mechanism
  • Perspective on Separation Of Tiers And Layering Preferences
  • Perspective on Transactions Control
  • Perspective on Mapping (1:1, 1:N, N:M)
  • Perspective on Query Facilities
After many hours of researching, downloads, testings and clarifications I come up with the following list which could be interesting. Please note the notes beside are my personal point of views and does not need to match anything other opinion.

Notice: if you have an actual ORM mapper which is not listed above post them please (Only Open Source Projects please and no shareware - comments with links to shareware application will not be approved!!).

Wednesday, October 15, 2008

Problems with Asp.Net ProfileCommon class?

I wanted to use built in provided profile provider which is shipped with ASP.Net. I created a Web Application Project (WAP) and figured out that ProfileCommon file is not generated anymore automatically as it has been done in previous visual studio project solution templates.

After quite a while of researching I understood that this seems to be a common problem - it's not worth to write a fully custom provider only for some profile specific settings.

The good issue is - I'm not alone with this problem.

The better thing is - it has been already solved by a project which is available on code.msdn.microsoft.com: Web Profile Builder - thanks to robolize to come up with this solution and sharing it with us.

Saturday, October 11, 2008

Evaldas Jocys: Globalization Resources for Multilanguage Development

http://www.codeproject.com/KB/locale/JocysComGlobalization.aspx?msg=2760744#xx2760744xx

Introduction
This article contains MUST HAVE tables and data for proper multi language development. I highly recommend to use ISO (International Organizations for Standardization) as primary source of information, because this is the only way to go for high quality products and compatibility. Please remember that ISO usually only manages standards. Behind each ISO standard there are companies which supplies databases and updates to commercial users. Internet is also good source of information so I've collected globalization data from various resources and placed into 6 tables. If you have some suggestions then please contact me by email: Evaldas Jocys <evaldas@jocys.com>
Data for these tables are required to produce full multilingual support:

  • Languages - information about all languages.
  • Cultures - information about all cultures (Language + Country).
  • Encodings - information about all encodings.
  • Ranges - can help to get customer's culture by IP.
  • Currencies - business information about each country.
  • Currencies by Country- currencies used in country.

it would be very intersting to combine this with the following:

ASP.NET 2.0 Custom SQL Server Resource

ProviderBy Jeff Modzel

jQuery.com and Microsoft .Net

I think you have read and heard already about a javascript framework called: jQuery this js framework seems to grow and grow ... almost endless. Since Microsoft (Scott Guthrie http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx) announced they gone integrate this framework into Visual Studio they decided finally a takeover a community project into their environment instead to develop something new from scratch. My personal point of view, this is the right decision and they should do this with more projects.

Friday, October 10, 2008

Trivia - Chaostriva.com

do you like trivia? well I do and found finally a multiplayer trivia game - try this out: http://www.chaostrivia.com/

enjoy and lets play

would be funny to create a quiz about .net, web or anything related to development.

Shared Cache - .Net Caching made easy

All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.

Facebook Badge