ziobrando / d3n Goto Github PK
View Code? Open in Web Editor NEWA DDD Sample Application SandBox, written in Ruby
A DDD Sample Application SandBox, written in Ruby
I have Spring-style dependency injection in mind, butblooksmlike this is not the dominant idiom in ruby world. Let's find a cleaner way to wire up things.
A little advanced, maybe. But that's where I want to go.
So far, I've simply wired up Sequel and made it work. Implicitly it assumes auto-commit and does the job in the repository. This is not the behavior I am looking for.
It will probably be strictly required in case of polyglot persistence, but in general I need a way not to have repositories dependent on the chosen persistence framework.
Aggregates should talk each other using Domain Events. I am looking for a publish-subscribe communication mechanism. In real world it has to be synchronous, but for modeling purpose only a quick synchronous bus would still provide some interesting insights.
So far the implementation is rather messy. No clear choice between a facade and a command.
I started with that, but dropped it. Let's make it work again in a clean and elegant fashion.
There are 3 places where data is setup. This has to become only one place. Probably the Rake Task.
So far I created a Configuration class. No Singleton or other frills. Just hardcoded configuration.
It works, but I am definitely looking for something cleaner.
Suggestions welcome :-)
Some tests are data dependent.
Perform cleanup after tests and ensure that the (few) test that need populated data are consistent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.