Skip to content

ltello/drsi-DCI-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why DCI?

DCI (Data Context Interaction) is a new way to look at object-oriented programming. Instead of focusing on individual objects, the DCI paradigm focuses on communication between objects and makes it explicit. It improves the readability of the code, which helps programmers to reason about their programs.

I'd been reading blogs posts and watching talks about DCI for a long time and I felt that it's time to try it out. I found that most material related to DCI is theoretical. There were a few books, a dozen of blog posts, and several presentations that could give you a good picture of what DCI is. However, I could not find any "real world" examples of actually using it. That's why I decided to write a simple application showing how to implement DCI in Ruby.

Like what?

Like the following projects:

Ruby/Rails

The application is a Rails project. There are a few reasons for it:

  • All the DCI concepts can be implemented in Ruby. It doesn’t feel clunky or alien.
  • Ruby is concise and readable. Even if you are a C# programmer, you should be able to understand what is going on.
  • There is more interest in DCI in the Ruby community than in any other community.

Developers

The application has been developed by Victor Savkin and Rinaldi Fonseca.

Read More

Read more about DCI and the project.

About

Rails example using DCI through the drsi gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published