Created
January 27, 2012 17:32
-
-
Save geeksam/1689918 to your computer and use it in GitHub Desktop.
If Rails really, REALLY cared about OO principles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(In response to https://gist.github.com/1687527, with apologies and smoochies to @jc00ke.) | |
my-proj | |
| | |
-- app | |
| | |
-- data_mappers <--- (see note below) | |
-- models | |
-- views | |
-- controllers | |
-- config | |
-- ... | |
NOTE: "data_mappers" does not refer to DataMapper[1], which is an implementation of the Active Record design pattern[2]. For the Data Mapper design pattern, see [3]. | |
[1] http://datamapper.org/ | |
[2] http://martinfowler.com/eaaCatalog/activeRecord.html (not to be confused with Rails' ActiveRecord) | |
[3] http://martinfowler.com/eaaCatalog/dataMapper.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment