domain_driven 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +34 -3
- data/lib/domain_driven/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59a6fe1d7e8c0296a5fa6728d2b5686c5fabfc75
|
4
|
+
data.tar.gz: 8b1cfcd6aebfeea2fd2035bbfcdfc8e45002c92d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd45d510cd4d2896c1c55617775af8944f66da2430bf7a6fba3d9e41072d6cca6f345da8444ccfd5c6e372bf8fd3facc83b03647ca5cd8ca140994bff007c3c8
|
7
|
+
data.tar.gz: d7fb00f95a05fda5f00cce62939a19da5d75ed41c4741a75d2242ad961fc27c5d528bb0cf7efdba1b32e443fa9133b426012fdb9919da1f9e5433d568a3ac301
|
data/README.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
# DomainDriven
|
2
2
|
|
3
|
-
|
3
|
+
This gem and set of techniques allow you to use *DDD* to controll complexity and dependencies as your RubyOnRails application grows. The additional benefit is that since core domain logic is decoupled from the Rails framework and database, automated tests of the core domain logic can run very fast.
|
4
|
+
|
5
|
+
## Domain Driven Design (DDD)
|
6
|
+
|
7
|
+
[Domain-driven design (DDD)](http://en.wikipedia.org/wiki/Domain-driven_design) is an approach to software development for complex needs by connecting the implementation to an evolving model. The premise of domain-driven design is the following:
|
8
|
+
* Placing the project's primary focus on the core domain logic.
|
9
|
+
* Basing complex designs on a model of the domain.
|
10
|
+
* Initiating a creative collaboration between technical and domain experts to iteratively refine a conceptual model that addresses particular domain problems.
|
11
|
+
The term was coined by Eric Evans in his [book](https://itunes.apple.com/us/book/domain-driven-design-tackling/id502848358?mt=11).
|
12
|
+
|
13
|
+
|
14
|
+
## Goals
|
15
|
+
|
16
|
+
* Preserve the goodness of ActiveRecord.
|
17
|
+
* Run automated tests fast and without loading Rails.
|
18
|
+
* Provide generators to help with the plumbing.
|
19
|
+
* Decouple core domain logic from the larger Rails set of libraries.
|
20
|
+
|
4
21
|
|
5
22
|
## Installation
|
6
23
|
|
@@ -18,11 +35,25 @@ Or install it yourself as:
|
|
18
35
|
|
19
36
|
## Usage
|
20
37
|
|
21
|
-
|
38
|
+
Under constuction
|
39
|
+
|
40
|
+
## Constraints
|
41
|
+
|
42
|
+
* Rails 4+
|
43
|
+
* Ruby 2+
|
44
|
+
|
45
|
+
## Credits
|
46
|
+
|
47
|
+
*[Jim Weirich](https://github.com/jimweirich)*
|
48
|
+
For conversations explaining to us the ideas inside [wyriki](https://github.com/jimweirich/wyriki)
|
49
|
+
|
50
|
+
*[Eric Evans](http://www.domainlanguage.com)*
|
51
|
+
For providing the concept of Domain Driven Design
|
52
|
+
|
22
53
|
|
23
54
|
## Contributing
|
24
55
|
|
25
|
-
1. Fork it ( http://github.com
|
56
|
+
1. Fork it ( http://github.com/mwindholtz/domain_driven/fork )
|
26
57
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
58
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
59
|
4. Push to the branch (`git push origin my-new-feature`)
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domain_driven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Windholtz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Domain Driven provides Rails abstract classes and generators to support
|
@@ -46,7 +46,7 @@ executables: []
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
-
- .gitignore
|
49
|
+
- ".gitignore"
|
50
50
|
- Gemfile
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
@@ -64,17 +64,17 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.1.11
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Domain Driven provides Rails hooks for a Domain Driven Design
|