Re: Removing datasets from our architecture...
- From: "John Sheppard" <nospam@xxxxxxxxxxxx>
- Date: Sun, 11 Nov 2007 22:22:29 +1000
I suppose we cant really go OR mapping because we have an existing database that is being migrated, so the relational model is all setup...
The code *works* but its messy as all hell, what concerns me most is maintanance issues...I guess ideally itd be nicer to stay with datasets if I can sort out keeping it tidy and maintanable (when i say done, its not really done, just its been started on)...
Im relativly new at it all...what im concidering is a 1:1 table/view to buisiness object...I realise there are reasons not to do that, but we dont have time to do fullon UML stuff...
I personally think the thing needs a complete rewrite, but I have other parties here saying neigh, and Im not experienced enough to argue differently...
"Alun Harford" <devnull@xxxxxxxxxxxxxxxxx> wrote in message news:OAmTPN9IIHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
John Sheppard wrote:Hello,
I was curious as to peoples thoughts on using tools such as MyGeneration/CodeSmith to generate business objects as opposed to using datasets? We currently use datasets, for various reasons I *suspect* we want to move away from using them....
Perhaps you might like to look at 'real' OR mappers like NHibernate/ActiveRecord or LLBLGen
I guess my secondary question is will it be a complete rewrite to remove datasets from the application? :( or is there an easy way to do it? (They are HEAVILY used)
If you want to change working code, then you'll probably gain a lot from a major refector or even a rewrite.
But if the code works, there probably isn't a reason to rewrite it (unless you have nice unit tests to make major refactoring easy).
Alun Harford
.
- Follow-Ups:
- Re: Removing datasets from our architecture...
- From: Alun Harford
- Re: Removing datasets from our architecture...
- References:
- Removing datasets from our architecture...
- From: John Sheppard
- Re: Removing datasets from our architecture...
- From: Alun Harford
- Removing datasets from our architecture...
- Prev by Date: Re: Removing datasets from our architecture...
- Next by Date: Re: Windows xp home edition -product keys invalid
- Previous by thread: Re: Removing datasets from our architecture...
- Next by thread: Re: Removing datasets from our architecture...
- Index(es):
Relevant Pages
|