Wednesday, July 04, 2007

I've been very interested in the progress of the entity framework. Recently, the June ctp was announced.

It boasts some new feature I had been waiting for, like the ability to detach the object from a context. This is necessary when you want to work in a disconnected manner. It would be fantastic if we would be able to retrieve a graph (spanning is now supported) and send it to a client, having the client change it and then reattach it to a new object context on the server. This would mean having to do change tracking on the client yourself, which does leave for more flexibility in your serialization format, as compared to using strange change tracking iEnumerable implementations that are out of your control.
This is the path Microsoft is taking. There is no real persistence ignorance yet, but they might be heading for a comfortable compromise.

Which brings me to nHibernate. The project I'm heading is a pretty big client-server application, which we are migrating to-wards a more flexible n-tier. We are rebuilding the client-side with WPF (for other reasons) and are implementing WF in the back-end to manage our processes. We have build our own naive OR-mapping layer on top of the datasets that were already in place. This has allowed me to delay having to make a choice for a real OR-mapper.
I have had some great experience with nHibernate, having used it since the 0.7 beta. Lately I have not had the opportunity to use it, but it seems the 1.2 release has added some major missing pieces of functionality like SPROC support and generics. I have some time left before I will have to choose between entity framework and nHibernate but I can already see it's going to be tough:

The generated code is ugly and although they have listened to the persistence ignorance argument, it seems too little, too late. Their V1.0 implementation might be an attempt to do it correctly, but if they had just listened earlier, their approach would have been much cleaner.
nHibernate is based on a proven concept and is very clean (although the code-base wasn't clean when I stepped through it ;-) ). It has a great community uptake. It, however, still lacks good modeling tools and it only has one dedicated programmer.

In the end, if Entity Framework turns out workable, it might be the better choice. It will get a big community (although a large part of that community will consist of programmers that don't even know of the alternatives), it has a big team of smart people working on it (although they needed quite a few tries to get it right) and it will have great visual tools (love it). In the end, most importantly, when I hire new people for the project, they are more likely to know EF then nHibernate. Is that a good reason though????

Saturday, July 07, 2007 7:58:42 PM (Romance Standard Time, UTC+01:00)
There are several commercial model tools for NHibernate, and ActiveWriter is free and can generate NHibernate files.
I would also like to protested about the "one dedicated programmer", that is misleading in an OSS project. There are quite a few people who actively contribute.
Friday, July 13, 2007 9:46:12 PM (Romance Standard Time, UTC+01:00)
I've been using CSLA.NET, worth a look, but the other solutions mentioned may be more mature nowadays.
Saturday, July 21, 2007 3:13:50 PM (Romance Standard Time, UTC+01:00)
Ayende: Although you are right, there are active contributors, I was merely illustrating the vast amount of developers Microsoft has at it's disposal. Also, do not read into this post that I am in favor of Microsoft developing these kinds of frameworks. I'd rather have a Microsoft that stays within well defined boundaries: that would allow projects like nHibernate to prosper.

Jody: I do know CSLA.Net and I do feel that for large projects, it's better to build a custom solution (out of existing blocks of functionality) then having to adhere to the mindset of Rocky (which doesn't mean I do not agree with his mindset, merely that I'd want to have a custom fit!)
Ruurd Boeke
Tuesday, January 22, 2008 6:56:56 PM (Romance Standard Time, UTC+01:00)
In my opinion EF isn't ready for prime time.

I hope they make many changes before they ship the product,
but this may hit projects already using a current EF version.

o PI, as you mentioned, is far from being realized.

o ComplexType columns must not be foreign keys.
Even the simplest CT examples like Address (CountryID) or Money (CurrencyID) need FK columns.

o The design tools are nice, but if one want's to use features not supported by the designers, the mapping files have to be tweaked manually and this is a burden.
- Three mapping files (or sections) for one mapping.
- Very verbose mapping syntax especially compared to NHibernate - results to thousands of lines for just a few tables
- automatic mapping update from store can't be limited to ssdl only, but makes changes to csdl an msl as well

+ I found the mapping scenarios supported by NHibernate impressive.

While I would like to use an OR-Mapper shipped by MS as part of the .NET framework I would not like using EF as it is right now.

I'm quite new to the OR-M topic and played just a little with NHibernate and EF.

Another OR-Mapper I plan to evaluate is Genome (http://www.genom-e.com/).
I read the docs but have played less with Genome than EF or NHibernate and can not tell much about.
But what I have read was encouraging.
Tuesday, January 22, 2008 7:10:02 PM (Romance Standard Time, UTC+01:00)
I agree on your comments however, in my experience, it is more important to align yourself with the microsoft tools then it is to get that little bit more power by using some piece of technology that's hard to find experienced ppl for.

But, as you can see, that's all from the perspective of big development teams. It's just more important to get developers that are already used to a technology versus having to train them. I think EF is powerful enough to get there.
As a side note though: nHibernate is steadily gaining acceptance, so maybe this argument is mute when you use nHibernate!
Ruurd
Tuesday, January 22, 2008 7:11:29 PM (Romance Standard Time, UTC+01:00)
and maybe genome-e as well.. it looks very good!
Ruurd
Thursday, December 02, 2010 3:46:06 AM (Romance Standard Time, UTC+01:00)
the highest-grade sheepskin available<a href="http://www.wwwuggsoutlet.com">ugg outlet</a> , is the age which suitable to restore the old, the every large or small varied assortment the classical design again returned to people's line of sight, from the wind series's return, 3 rewirings went forth to battle recently to <a href="http://www.shortuggboot.com/"> Classic Short UGG</a> the Garnett ... Classic Tiffany Jewelry. Publisher: Alina008. As we all know that ...<a href="http://www.uggtallboot.net">ugg classic tall</a> is packed in cartons and Blue Ribbon is the symbol of Tiffany jewelry..
Thursday, December 02, 2010 9:16:17 AM (Romance Standard Time, UTC+01:00)
xiaolaba Only after before a "concept, unlike other principles vile ugg boots on sale and difficult to understand, on the contrary boots uggs on sale, it is simple and easily arouses the child's confidence and high spirits, goals are small but specific ugg boot sale. In this goal, the child without understanding thoughts, solid, conscientious to do with bailey button, abandoned children in a meeting in surface. Small success to classic mini uggs, and gets the others recognized and appreciated, will gradually moving towards greater success mini uggs on sale, you'll make a big career. Words can ruin a man's confidence uggs mini on sale, even burst of his hopes of survival classic mini uggs on sale, But a word can also encourage one from loss to come out, or make one from a new Angle know yourself ugg classic cardy, changed his life. So at any time, we don't save said an encouraging word, give a trusting eyes ugg classic short, do a duck-yard trifle. A person's strength for himself perhaps is very limited ugg classic short navy, but he has probably help stimulate another person's infinite potential ugg boot sale.
Thursday, December 02, 2010 12:30:37 PM (Romance Standard Time, UTC+01:00)
As the sole of vibram five is surely brought forth in harmony with the human feet type. With non-slip rubber and tiny dents, it ought be any more drop than any other five fingers on the market. Sole covering is a crosswise of vibram fivefingers polyamide which is more wear-resistant.Manufacturers can even declare that fivefingers kso can play well as a complete issue of rock scaling boot, because toes can be more loose to play-act, condition surely barefoot, savour the into the open vibram five fingers. Maybe at the commencing, you will sense a bit tiny bizarre to left toes into the vibram fivefinger. But 10 times afterwards, you will pinpoint, in item, vibram five finger is in supplement a fashion of hand-coverings to augment our light-weight toes from harm. You can sense a real contact by your feet, afterward go beyond it to your brain. Then you can be more flexible manipulate of your feet.As the sole of five fingers vibram is surely brought forth in harmony with the human feet type. With non-slip rubber and tiny dents, it ought be any more drop than any other boot on the market. Sole covering is a crosswise of polyamide which is more wear-resistant.Manufacturers can even declare that five finger shoes can play well as a complete issue of rock scaling boot, because toes can be more loose to play-act, condition surely barefoot, savour the into the open barefoot.
novel fashion of boot seemed in the world, that is five finger shoes. It is just like a couple of hand-coverings for feet. And it has more portions for your health.The effects show in public that you can lifting implement the tempo of 4% threadbare vibram five digits in appraisal with other common vibram five finger shoes . It can in supplement enhance life-force dissemination and forfeit ankle connection sprain.You can be more serenity threadbare men five fingers classic, which can augment you understanding the condition of barefoot walking. It can augment to unwind your body, but in supplement mood.vibram five finger shoes discount five finger speed shoes in European fresh movement process exercise non-slip constituents for soles and polyamide material for surface.
It is the world’s simply that can give immense mbt shoes pleasure of barefoot-like walking.Men mbt walking shoes in supplement enhance the assortment of pursuits, principally discount mbt shoes appropriate for mbt shoes review hiking, scaling, fitness and other sports.They are absolutely mbt shoes sale favourable your health.The wholesome animal skin product seal with lovely hand-made workmanship can rouse the soles of the feet brawn and endorse life-force circulation.There are in supplement five fingers kso mbt footwear shoes to choose. Just draw seal to divulge more and understanding the bizarre feeling.http://www.fivefingersale.com/
Thursday, December 02, 2010 12:36:49 PM (Romance Standard Time, UTC+01:00)
Did you know that Skechers Resistance Runner has come out with a new line of Mens Skechers Resistance Runner? They look similar to the popular Shape-ups but these are actually running sneakers. The new Womens Skechers Resistance Runner retail for about $150. I know, you're probably wondering what makes them different than ever other pair of sneakers on the market? Let me break it down for you. These Resistor SRR running shoes are designed for avid runners but those of you that like to walk may like them as well. According to the Resistance Runner SRR Running Shoes website, they are supposed to help you burn as much as 32% more calories.Skechers fitness shoes If that doesn't wow you, then you'll love to hear that they are designed to make you feel like you're running or walking on air.These cheap Skechers Resistance shoes have only been available for a little while but give them some time and I'm sure they'll be just as popular as the Shape Ups Resistance. But you tell me. Do you think that these Resistance Runners will become a hit? Would you try them? Sound off in the comment section below.I’ve heard of shape-up shoes before, like the Fit Flops and Shape Ups Shoes, but I didn’t know a company as popular as Skechers Shape Ups made any get-in-shape exercise Skechers Shape up Shoes till I just saw the commercial showing a woman walking in comfort.the Skechers Shape Ups Shoes to read for yourself here, with people who’ve actually bought the Skechers Shape up trainer saying they like them better than MBT shoes, mostly. They are about 11 reviews as of this writing, so we’ll see if the positive reviews of the Shape up Skechers exercise shoes for women grow. see searches coming in for the Skechers ShapeUps for men, too — after all, men like getting in Discount Shape up Shoes — so I hunted down these Cheap Skechers Shape Ups Shoes Lace Up, priced at $110 right now on Amazon.Those shape ups outlet for men running? Skechers Womens Shape Ups — I guess you can run in them, huh? — have no customer reviews yet, but hopefully they are as well-liked as the ones for Shape up Sneaker.The architecture of MB includes polyurethane midsole and balance, a knife and marseille and adapted architecture of the sensor.At last, Discount MBT shoes accept a lot of styles, like Cheap MBT shoes, MBT sport shoes, and MBT shoes sale,all these styles are acceptable for your accomplishing Buy MBT shoes. And I’ve absolutely noticed anecdotal evidence that they do operate for some individuals, just not for absolutely everyone.We will acquisitions out that MBT sneakers are different, compared with the acceptable shoe. Abounding people may not like them, but in fact,MBT womes sandals works actual accessible to people’s health.

Saturday, December 04, 2010 2:45:54 AM (Romance Standard Time, UTC+01:00)
Pro-quality clone play golf clubs could very well be purchased in lots of situations for a reduced amount of than half -- sure, that's correct -- the price of title model world of golf clubs. What a great savings! You can identify out considerably alot more about Clone Golf game Club.



Learn to solve any problems of your respective golf swing. Come across out wherever you'll be able to obtain Golf game Coaching Aid to enhance your golf swing ability.
Saturday, December 04, 2010 2:52:45 AM (Romance Standard Time, UTC+01:00)
Perfecting this aspect within the golf swing might help you grow to be a far more steady golfer, which, certainly, would make the game alot more pleasurable. You should not modify your grip to appropriate an issue somewhere else otherwise you could turn out with an even much less continual swing and poorer shot results.



I learn play golf from golfers. Offers the best of play golf learning possibilities, administered by qualified and knowledgeable Instructing Professionals and executed at world-class resorts. But everybody might not possess the time or revenue to understand golf game from a professional instructor either in individual or all the way through an institute.
Comments are closed.