The PEAK Developers' Center   Diff for "CreatingDomainModels" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Ignore changes in the amount of whitespace

Differences between version dated 2003-10-17 00:14:59 and 2004-10-24 13:19:47 (spanning 3 versions)

Deletions are marked like this.
Additions are marked like this.

The peak.model package is used to define object models for applications' "problem domain". The "problem domain" is the sphere of knowledge that the program works in. In an e-mail application, for example, a Message or Mailbox might be objects in the "problem domain". The key idea of creating a "domain model", or object model for the problem domain, is that by closely matching the structure of the subject area, you and your code will not be continually translating between the problem domain and the solution domain of programming technique. In other words, you shouldn't need to be thinking about things like what data structure you chose to store a mailbox's messages in. (e.g. "Was that a list of tuples or a tuple of lists?")
 
For a tutorial on creating simple domain models and applications with peak.model, see the GraphvizTutorial.
 
For further information on the "domain model" concept, see DomainModelReferences.

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck