Re: DDD on DSL Platform
Rikard Pavelic <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Organization | N.G.S. |
| Message-ID | <20130719084541.00001b0e@unknown> |
On Thu, 18 Jul 2013 14:50:09 +0200 Tom Eugelink <[email protected]> wrote: > It may very well be that the implementation does not "click" into > place in my head. The most I'm seeing are data holders described in > the DSL and PHP index pages. How about using a different example, > like parts from the one used in Vernon's implementing domain driven > design book? So it becomes clear how your aggregates match onto the > ones identified there, or how the mapping and synchronisation between > contexts is done, or where the piece of business logic go. > I was afraid that fully featured example was required for a serious discussion. I guess we'll have to port some known example and get back to you ;) I was kind of hoping that some of the stuff we did were interesting enough to discuss, such as: * using dsl model we have extended ubiquitous language from the backend to to database and frontends (most of PHP examples) for free * no impedance mismatch in relational database, while having very complex document like structures in the database, which helps with domain modeling and can be used for a lot of optimizations * model evolution - changes in the dsl cause automatic database migration, without the data-loss whenever possible (if scenario is implemented). Also, backend and frontend libraries are prepared for use without bugs and optimized * libraries instead of scaffolding - this is another major point which differentiates what we do from "standard" approaches to code "generation". Mixing generated and hand-written code is a big no-no. Regards, Rikard ------------------------------------