Giter VIP home page Giter VIP logo

__archive_js-libs's Introduction

JS-Libs

Trying the same rather complicated example with one or more JS libs/frameworks for comparison purposes.

The problem we're trying to solve is that we want to ask our users some questions very nicely. We're basically asking people to choose from a list, but we have a pretty UX to help people choose. Some of the questions have follow up questions, so the interaction is somewhat complicated.

The data that represents the questions is actually much more complicated than the data that represents the answers. This means that typical Model-View parity that you see in all the MV* examples doesn't really work. So I'm trying to dash out a few quick prototypes with some libraries to see if I can narrow down the options.

Run the server

Marionette

First up, it's Marionette https://github.com/marionettejs/backbone.marionette

Marionette is the current big cheese in MVC libraries built on top of backbone.

It tries to keep the backbone mentality of allowing you to use as much as you want, but not requiring you to use everything. It has a pretty solid community and is actively commiting.

Marionette 2

A deeper dive into Marionette. It has a 2 level question and manages to use one data model as it swaps out views, but it has to jump through a hoop or two to do so.

It also features require.js loaded templates via a little plugin.

Giraffe

Giraffe is very much like Marionette but it seems a bit simpler. The nice thing for our purposes is that it doesn’t require views to be attached to models. This actually makes me want to see what I can do with Model-less views in Marionette.

On the otherhand, Giraffe is not very active and doesn't have a big community around it.

knockout is out

Best docs i've found on doing reusable html templates with knockout is to do it on the serverside. http://conficient.wordpress.com/2013/03/07/knockout-multiple-viewmodels-and-reusable-partial-views/ They use Razor Partial Views, but it'd be equivalent to doing {% include /fragments/blah.html %} in python.

No.

Just. No.

Angular is out

From their site

Note: AngularJS 1.3 is dropping support for IE8. Read more about it on our blog. AngularJS 1.2 will continue to support IE8, but the core team does not plan to spend time addressing issues specific to IE8 or earlier.

We might be able to make the case for dropping IE7, but not IE8, not for a while.

__archive_js-libs's People

Contributors

leff avatar

Watchers

 avatar  avatar

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.