Skip to content

Attempting to quantify some common DCI conventions applied to Rails apps.

Notifications You must be signed in to change notification settings

satishv/DCI-Rails-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCI Rails example

This simple app is an early attempt at getting DCI features into Rails and working towards some common conventions. I by no means expect to have every case covered here or every convention perfect at this time; this is a set of practices and conventions we're looking to grow over time as a community.

Walkthrough

I've written up a set of walkthroughs and discussions on the project at the developerWorks website. I'll continue to add materials as the project matures and evolves.

Part One

A Convention-based Approach to DCI in Rails - Part 1

Part Two

A Convention-based Approach to DCI in Rails - Part 2

If all's well when you run the app, you should see "I performed work." appear. Note that the User class doesn't have this behavior defined, only the AdminRole module does. A new instance of User that doesn't have the 'admin' role applied won't have this behavior available.

About

Attempting to quantify some common DCI conventions applied to Rails apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published