| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
Bob Badour wrote:
> Sasa wrote:
>
>> Bob Badour wrote: >> >>> This 'domain logic' to which you refer. What does it do that is not >>> entering, manipulating, reporting or deriving data? Of that which >>> remains, what does not interface with the external world through some >>> device or another? >> >> >> I'm not sure what are you asking me. To me, very rough examples of >> domain logic could include: >> >> - data and rules for calculating yearly tax income in case of tax >> application
>> - data and rules for deriving employee salaries in case of salary >> calculator
>> - letters, words, paragraphs, fonts etc. and related operations in >> case of text editor
>> - keywords, identifiers, syntax and semantic analysis and target code >> in case of compiler
>> etc.
>> The rough general description, as I see it, would be that domain logic >> consists of data and behavior. I think that OOP advantage is the >> possibility to combine data and behavior, together with fairly rich >> reuse and decoupling mechanisms.
>> Feel free to correct me if I'm wrong.
>> having worked most of my programming life with OOP I am aware that I'm >> possibly misleaded, and I'm open to any alternatives - so any counter >> arguments, alternatives, links, references, etc. are very welcome.
Sasa, a friendly suggestion: abandon any attempt to explain what you think the term "domain logic" means. Familiarize yourself, instead, with the modern theory of types... after you've finished steps 1 and 2. The topics are not very broad - each can be summarized on a single page - but they're painstakingly precise.
You'll be glad you did. Received on Fri Jun 02 2006 - 19:46:29 CDT
![]() |
![]() |