Re: Data Layer architecture




Before you introduce extra layers of complexity, read this:
http://grumpyoldprogrammer.myblogsite.com/blog/_archives/2005/5/13/851175.html



Looks like everyone (including me) has to learn that the hard way though. :)

Well I think what this article and many other books, posts about software design, all underline one key software design rule: consider tradeoffs of your decisions.


And maybe to clarify, I am not thinking for every business layer class to have a corresponding data layer class and other crazy stuff. Not at all :) I just want that procedure or sql call out of my business objects. It is ugly and adds of bunchy of ugle sql code or procedures mixed up with business logic implemented in C#.
.




Relevant Pages

  • Re: Data Layer architecture
    ... I do not answer questions on behalf of my employer. ... > have a corresponding data layer class and other crazy stuff. ... > I just want that procedure or sql call out of my business objects. ... > ugly and adds of bunchy of ugle sql code or procedures mixed up with ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Decouple SQL queries from class in OOP design
    ... >>> It should be separate from the business rules. ... > software design, and in particular of Object Oriented software design. ...
    (comp.object)
  • Re: Tip
    ... to make a system to support their business. ... proceedures work to I begin a plan for how my software will be structured ... IMO it's the starting your software design without knowing the problem ... the exact requirements of a modern software product before trying some ...
    (borland.public.delphi.non-technical)
  • Re: how to run application(exe) in browser
    ... That might be a stranger to you, but I had to submit documents proving my ... business was established at the location I said it was. ... Joe Malware Hacker could not have gotten a certificate that said DC Software ... Software Design is trustworthy. ...
    (microsoft.public.vc.mfc)
  • Re: Spyware and Adware affect every internet user
    ... [Software Design] ... business. ... And the word was Content-type: text/plain ...
    (comp.security.misc)