Line 190:
Line 190:
[[wikipedia:Martin Fowler|Martin Fowler]] has identified 3 way to organize:
[[wikipedia:Martin Fowler|Martin Fowler]] has identified 3 way to organize:
* The '''Transaction Script''' (The source code is linear for each user action).
* The '''Transaction Script''' (The source code is linear for each user action).
−
This is the old schoold used by all procedural languages.
+
This is the old school used by all procedural languages.
Inconvenient: Redundancy of code. Need to know the physical model of data to develop.
Inconvenient: Redundancy of code. Need to know the physical model of data to develop.
* The '''Domain Model'''
* The '''Domain Model'''
−
C'est un concept possible depuis les langages objets. Ce sont les procédures métiers (qui doivent être identifiés avant) qui servent de bases pour les classes objets.
+
This notion is available with object languages. It is business process (to identify before) that are used for objects classes.
−
Inconvénient: Motif complexe à maintenir.
+
Inconvenient: Model very complex to maintain.
* The '''Table Module'''
* The '''Table Module'''
This is a mix between 2 previous where we have only one unique class for each table of database.
This is a mix between 2 previous where we have only one unique class for each table of database.