• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    Ruby
  • Created over 12 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sample application illustrating the Data Context Interaction paradigm (in Ruby)

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.

More Repositories

1

large-monorepo

Benchmarking Nx and Turborepo
TypeScript
435
star
2

state_management_ngrx4

TypeScript
208
star
3

router_mailapp

TypeScript
114
star
4

angulardart-sample-app

A sample Web application built using AngularDart
Dart
102
star
5

RuntimeTypeChecks

Runtime type checks for JavaScript and TypeScript
TypeScript
85
star
6

ng1ng2router

TypeScript
73
star
7

essential-angular-book-app

TypeScript
66
star
8

router_lazyloading

TypeScript
62
star
9

state-app-examples

TypeScript
57
star
10

router-store

TypeScript
51
star
11

interstellar

Nx: On how to make your CI 10 times faster with 1-line config change
TypeScript
50
star
12

fpdart

Functional Programming in Dart
Dart
47
star
13

guinness

A port of the Jasmine testing framework to Dart.
Dart
43
star
14

upgrade-book-examples

TypeScript
38
star
15

SimpleMVP

VINT is a library for building single-page applications in Dart.
Dart
36
star
16

hammock

AngularDart service for working with Rest APIs
Dart
34
star
17

tex

tex
TypeScript
18
star
18

chat-dart

Dart
17
star
19

frp_dart

Functional Reactive Programming in Dart
Dart
15
star
20

custom-renderer

Experiments with Angular Renderers
TypeScript
15
star
21

HabiticaClient

App built using Angular 2 and Immutable JS
TypeScript
15
star
22

ngselectors

Redux-style selectors for Angular 2.
TypeScript
15
star
23

angular2-immutable-kanban

JavaScript
14
star
24

marble_testing_and_race_conditions

TypeScript
14
star
25

CoolCodeSnippets

Collection of interesting code snippets in JavaScript and TypeScript
TypeScript
13
star
26

actors

Actors.Dart - Building Distributed Applications on the Web Platform
Dart
12
star
27

databinder

DataBinder is a Dart library implementing data binding via object mirrors.
Dart
12
star
28

composing-ngrxstore-reducers

TypeScript
11
star
29

large-repo

TypeScript
11
star
30

router-store-prototype

TypeScript
11
star
31

polymer_dart_sample_app

Auctions (a sample application built using Polymer.Dart)
Dart
10
star
32

lerna-dte

"Lerna & Distributed Task Execution" Example
TypeScript
9
star
33

dartmocks

DartMocks is a mock framework for Dart inspired by RSpec.
Dart
9
star
34

rubyast

Allows AST Transformations for Ruby.
Ruby
8
star
35

webpack_angular_dev_and_prod

TypeScript
6
star
36

chat-node

JavaScript
6
star
37

XmlTransformer

Groovy
6
star
38

ng-conf-app

TypeScript
6
star
39

nx-dev-ergonomics

Nx and its wonderful DX
TypeScript
5
star
40

router-spinners

TypeScript
5
star
41

Gradle-Project-Generator

Groovy script generating Gradle projects
Groovy
5
star
42

Testing-Framework--Picard-

Ruby
4
star
43

libandapp

TypeScript
4
star
44

novosibirsk

TypeScript
4
star
45

TypedFields

Ruby Gem adding AR like type conversions for regular ruby objects
Ruby
3
star
46

atscript_todomvc

CSS
3
star
47

serializers

Serializers is a Dart library for serializing objects into maps.
Dart
3
star
48

AST-Transformations

Groovy
3
star
49

csw-catalog

CSW 2.0.2 + Client
Ruby
3
star
50

router-nested-outlets

TypeScript
3
star
51

use-case-service

TypeScript
3
star
52

GroovyMigrationScript

Performs database migrations
Groovy
2
star
53

learnwords

a simple application for learning new words
Ruby
2
star
54

dci-in-ruby.github.com

DCI in Ruby
Ruby
2
star
55

routerrefresh

TypeScript
2
star
56

PersistentHashMap

An implementation of a map that can be saved to a file and can be read from a file.
Groovy
2
star
57

vimconfig

my vim config
Vim Script
2
star
58

InspectPartials

A small gem showing partial names
Ruby
1
star
59

TinyDiary

Small Grails app helping you to keep track of your productive and unproductive days
Groovy
1
star
60

rmilk

A console application for managing your remember-the-milk tasks
Ruby
1
star
61

vint

Dart
1
star
62

dotfiles

Shell
1
star
63

patched_cli

JavaScript
1
star
64

RTM

Ruby
1
star
65

jruby_ast_transformations

Ruby
1
star
66

robots

Clojure
1
star
67

emacs.d

Emacs Lisp
1
star
68

pallets-samples

Ruby
1
star
69

nx-large-repo-perf

JavaScript
1
star
70

JasmineDart

Dart
1
star
71

demoapp

TypeScript
1
star
72

RailsH2

Ruby
1
star
73

TestProject

Showing how to publish artifacts using Gradle
1
star
74

fake-server

TypeScript
1
star
75

angulardart-angularjs

Side-by-side comparison of AngularDart and AngularJS.
Dart
1
star
76

vladivostok_demo

TypeScript
1
star
77

rabbitmq_samples

Ruby
1
star
78

oald_parser

a simple parser of the oxford online dictionary
Ruby
1
star
79

hammock_mapper

Hammock Mapper
Dart
1
star
80

samplenx

TypeScript
1
star
81

westormsettings

1
star
82

LogsUI

Groovy
1
star
83

lazyload_angular13

TypeScript
1
star