I intend to write a web framework that brings together the best ideas from server-side and client-side frameworks.<p>I am biased toward Django&#x2F;Ember, so a lot of my ideas come from there. But I know some Rails as well as some Angular, Backbone, and Knockout.<p>My ideas:<p>0) Isomorphism via a CoffeeScript-like language that compiles to JS and Python, or a full-stack Node framework written in a CoffeeScript-like language.<p>1) Folders for server, client, and shared code. And maybe more folders to build a Replicant&#x2F;Android client with something akin to NativeScript.<p>2) Support server-side rendering for faster loading in the browser (a la Ember FastBoot).<p>3) A Model which contains the definitive representation of real-world objects. DB interaction, validations, forms, serializers, etc. all derive as much as possible from the model. Model &quot;classes&quot; have field instances which, in one place, define how they fit in the database and what developers&#x2F;end-users can do with them. Inspired by Django and, to a lesser extent, Ember.<p>4) Don&#x27;t Don&#x27;t Repeat Repeat Yourself Yourself. See 0, 1, and 3.<p>5) Real-time with no need for more than one or two lines of code to opt in and make it work. New, updated, or deleted models publish automatically, notifying something like a Django class-based view, which pushes the new data to all clients subscribed to that view.<p>6) Declarative templates like Ember. But even a basic operation, such as updating a template when an attribute in the model changes, has a default (replace part of the template to reflect the new data) which can be overridden easily to get animated updates, without jumping through hoops and&#x2F;or accessing private APIs.<p>7) First-class support for indented languages such as Emblem, Sass, and CoffeeScript (or a similar language).<p>8) Free as in Freedom. Preferably AGPL, but LGPL or Apache--with its explicit patent grant--could work if a more permissive license is needed to promote adoption.<p>Your ideas?
Ask HN: What would your dream web framework look like?