Re: The wisdom of the object mentors
Date: Tue, 27 Jun 2006 00:06:13 +0200
Message-ID: <878xnj7esq.fsf_at_bhawa.web.de>
frebe73_at_gmail.com writes:
>> Changes to applications
>> have much to do with behavior and formatting, and not so much to do
>> with data.
>
> If we change the data, lets say we add a new column, phoneno, to the
> customer table, doesn't the application need to change?
>
>> Since the forces that change databases and applications are
>> different, and their customers are different, they should be
>> designed for these different environments and constraints.
>
> What are the forces to change databases that would not also force
> you to change the application?
>> If, on the other hand, the applications are designed to be independent
>> of the database structure, then the applications can use whatever data
>> structures are appropriate for their algorithms.
>
> A algorithm could must obviously know about the data structure.
Not at all! I'm currently writing many algorithms that get their data passed in as java objects. The algorithm does not need to know where the data came from and how it is stored in the database.