Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7745557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:03:19+00:00 2026-06-01T10:03:19+00:00

I just finished creating several models and a had to separately write all of

  • 0

I just finished creating several models and a had to separately write all of their attributes in 1) a Rails ActiveRecord 2) a Rails database migration, and 3) a Backbone.js model. I’m not feeling very DRY. I assume the first step in DRYing up this problem would be to switch to node.js where I can use CoffeeScript on the back and front end (ideally reusing that same Backbone.js model), but what about the database schema? I realize I can create a framework that generates SQL from model attributes, but before I embark on that endeavor I was wondering if something like this already exists or is in development.

It would also be awesome if this framework could unify views and controllers so that I don’t have app/views, app/controllers, app/assets/javascripts/views, app/assets/javascripts/routers, and the like all defining similar things in different places.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:03:20+00:00Added an answer on June 1, 2026 at 10:03 am

    Check out Derby, a node.js framework under active development, which tries to unify views and controllers (and a lot more):

    [Derby] runs the same code in servers and browsers, and it syncs data
    automatically. Derby takes care of template rendering, packaging, and
    model-view bindings out of the box. Since all features are designed to
    work together, no code duplication and glue code are needed.

    I’m building a small hobby app with Derby and so far it’s been fun and mind-challenging. A unified new world has its own physics..

    One thing to note is Derby is built on top of Racer, a “realtime model synchronization engine”; you may find it ‘heavy’ if you were expecting something like a light glue code that stitches together Backbone.js, express and some database layer.


    Edit: other frameworks I haven’t yet looked into closely:

    • meteor (node.js)
    • ClojureScript One (ClojureScript)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just finished creating a new user for my database in SQL Server. I
I'm creating a new rails app for my business, and I just finished a
I just finished creating my first major application in C#/Silverlight. In the end the
I just finished creating a large online flex app with 43 different screens. I
I have just finished creating an entire login and register systsem in PHP, but
I just finished creating T4 templates to auto-generate property implementations for my ViewModel classes
I'm in part four of the MvcMusicStore tutorial . I just finished creating my
I have just finished creating my signup form and now ready to insert data
I have just finished creating a game of life simulation for c# and found
I just finished creating a Point class and was working on a Line class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.