Coder Social home page Coder Social logo

Dubsar

Cumulative Dynamic Rails Application Template

This is an early proof of concept.

Dubsar is a postgreSQL Rails application. Its goal is to offer to the developer a set of models, controllers and views that could be compared to android’s content providers and resolvers. In its current design the model is split in two hierarchies: entities and things.

Entities are conceived as able to act, like human beings or institutions. Things are objects unable to act, like emails or videos. This dichotomy aims to introduce a strong intensionality in the model but is totally arbitrary and could be elided in the future if it proves to be conceptually wrong and not useful.

Entities and Things are correlated by Properties, Entities and Entities are correlated by Relations, Things and Things are correlated by References.

Entities, Things, Properties, Relations and References are two folded. One one side we need to be able to define them, on the other we need to store their values. This Class/Instance dichotomy is mirrored in the application by Names and Matters.

A Name definition creates a table in one of the five hierarchies and it is dynamically linked to a model, a controller, a view and a route.

Standard dynamic models, controllers and views offer the immediate ability to operate on the Name, but nothing else. If a coded model, controller or view is found this will be used instead.

Here the cumulative approach plays an essential role, this project’s goal is to create a community of developers that contribute on one side to the definition of the Names and on the other to code models, controllers and views for each defined Name.

Matters are automatically indexed in the database and in a Solr server.

What is missing here are the Scenes, or ways to provide search and view abilities to the application in a way totally independent from the internal CRUD operations. This is a must but at the moment it is not conceptualized. As of now it is implemented as Home.

Future work

.. almost everything .. actually

Contact and copyright

Contact me at scotti.alessandrogmail.com

Copyright © 2012 Alessandro Scotti, released under the MIT license.

Alessandro Scotti's Projects

dubsar icon dubsar

Cumulative Dynamic Rails Application Template

forge icon forge

Build WordPress themes using Sass, LESS, and CoffeeScript

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.