Giter VIP home page Giter VIP logo

jsfw-tour's Introduction

[2015-08-31 Mon] Major update: TodoMVC contains implementations using many different MV* frameworks.

A set of simple demos that get implemented in different frameworks for learning and comparison purpose.

Status

Implement the demos on the homepage of AngularJS

Only plain JS, JQuery and Angular JS need to be considered for now.

Basic Form

  • State “DONE” from “TODO” [2015-08-14 Fri 19:01]

NOTES

Backbone.js

Goal: Fully understand it, even the source code.

It's all too easy to create JavaScript applications that end up as tangled piles
of jQuery selectors and callbacks, all trying frantically to keep data in sync
between the HTML UI, your JavaScript logic, and the database on your server.

  • [ ] Models should be able to be passed around throughout your app, and used anywhere that bit of data is needed.
  • Models should be generally unaware of views.
  • Backbone remains unopinionated about the process used to render View objects and their subviews into UI: you define how your models get translated into HTML (or SVG, or Canvas, or something even more exotic).
  • Backbone’s Views are the equivalent of ‘controllers’ on MVC frameworks
  • State “CANCELED” from “TODO” [2015-08-31 Mon 13:28]

[2015-08-31 Mon] Not very intuitive. Give up.

  • Backbone.js enforces that communication to the server should be done entirely through a RESTful API. The web is currently trending such that all data/content will be exposed through an API.

A poorly written part, feels more like a list of APIs.

Refs

Very objective comparison with good information table.

  • Backbone.js <-> Minimalism
  • Ember.js <-> Pragmatism
  • Angular.js <-> Innovative

Not updated for 2 yrs, but still a useful ref.

Note the <template> tag is NOT really recommended as it requires the content to be valid HTML as opposed to the text/template which browsers will simply ignore.

Resources

jsfw-tour's People

Contributors

carltonf avatar

Watchers

 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.