Re: Decouple SQL queries from class in OOP design
- From: Bruno Desthuilliers <bdesth.quelquechose@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 Nov 2005 01:50:08 +0100
Mikito Harakiri a écrit : (snip)
Cool. When I forget my badge and show up at the front door and give them my employee ID, it is sure nice not to have an EMP table and query it directly, but send a message to each and every DEPT instance to ask "does emp 1234 work for you?"
Is there any reason the OO code should do such a stupid thing (apart from having been designed by a stupid designer and coded by a stupid coder) ?
Anyway, I wouldn't let the guys at the front door have to manually issue SQL queries - I would provide them with a nicer user interface !-)
.
- Follow-Ups:
- Re: Decouple SQL queries from class in OOP design
- From: Mikito Harakiri
- Re: Decouple SQL queries from class in OOP design
- References:
- Decouple SQL queries from class in OOP design
- From: Hongyu
- Re: Decouple SQL queries from class in OOP design
- From: Robert C . Martin
- Re: Decouple SQL queries from class in OOP design
- From: Mikito Harakiri
- Decouple SQL queries from class in OOP design
- Prev by Date: Re: agile development and frameworks
- Next by Date: Re: agile development and frameworks
- Previous by thread: Re: Decouple SQL queries from class in OOP design
- Next by thread: Re: Decouple SQL queries from class in OOP design
- Index(es):