background preloader

Js frameworks

Facebook Twitter

Marionette

i18next - i18n for javascript. Requirejs/text. The Battle of Modern Javascript Frameworks – Part I. Welcome to the Javascript Framework revolution.

The Battle of Modern Javascript Frameworks – Part I

Since the release of JQuery in 2006, client-side javascript has entered a renaissance, and many developers have decided to shift much of the functionality of there applications to the client side, while using the server primarily to send and recieve data. Shifting functionality to the client side enables the potential for a much more powerful and responsive UI, which has always been an advantage of native apps. But with JQuery alone it still takes a great deal of effort to create a web app with the unparalled feel of a native app. Now everyone is wondering what will be the next paradigm in client-side development, and more importantly which framework they should choose for their next application. There are over 20 mainstream frameworks that operate on top (or next to) JQuery for developers to choose from (see Todo MVC Project).

Overview Requirements Features What are the main features the framework offers? Who are the core developers? The Battle of Modern Javascript Frameworks: Part V – Ember.js. Ember as it is described by its creators is ambitious and opinionated.

The Battle of Modern Javascript Frameworks: Part V – Ember.js

The goal of developing ember is simple; create a web framework that will enable web apps to rival native apps. To accomplish this, ember offers an end to end solution with all the features you need to create a single page web app functioning in unison. Ember also seeks to abstract as much as possible from the programmer in order to take care of all the small decisions that programmers would otherwise have to make.

Therefore, it is also opinionated about how certain things should be done including how you name your objects, and how you organize your files. Ember is also ambitious in the sense that one should ideally use ember for “ambitious” projects where the goal is to produce an outstanding web app that will have the feel of a native app. Features Strength of the Project and Community.

Angular

Backbone. Résolvez vos problèmes de Hashbangs grâce au PushState en HTML5. Au début du web nous n’avions que des pages statiques, nous entrions une adresse et le serveur nous retournait une page HTML.

Résolvez vos problèmes de Hashbangs grâce au PushState en HTML5

Puis nous avons voulu dynamiser un peu nos sites avec du Javascript et de l’AJAX, jusqu’à avoir des applications complètes dans nos navigateurs. Ce que nous appelons maintenant des “Single-Page-Application”. Une des problématiques lors du développement d’application de type “single-page” est que nous chargeons une page, puis nous modifions le contenu de celle-ci au gré des clicks de l’utilisateur sans modifier visiblement l’URL de la page.

Ceci est logique, car nous restons toujours sur la même page, mais ne suit pas la philosophie de Web où un contenu est identifié de manière unique. Pour résoudre ce problème et avoir un identifiant unique pour chaque ressource, il existait jusqu’à maintenant une solution : Ajouter des hash pour avoir des adresses comme ceci. The Top 10 Javascript MVC Frameworks Reviewed. UPDATE 1/14/2012: Added Batman.js and Angular.js due to popular demand and because they looked impressive.

The Top 10 Javascript MVC Frameworks Reviewed

Over the last several months I have been in a constant search for the perfect javascript MVC framework. Driven by a dire need for the right level of abstraction and features, I have tried out - some more cursorily than others - every framework I could get my hands on. Here lies a brief synopsis of each framework. Lastly, I share the framework which I ultimately decided on. Specifically, the following four features are very important to me: UI Bindings - I'm not just talking about templates, I'm talking about a declarative approach to automatically updating the view layer when the underlying model changes. The Contenders Here is a table showing all of the frameworks support for the above features. 1. Backbone.js is the web's darling framework. Pros: Strong community and lots of momentum. Cons: Lacks strong abstractions and leaves something to be desired. 2.

Pros: Bindings support. Closure Tools. TodoMVC. Five Tools for Managing Complexity in Large-Scale JavaScript Projects. JavaScript lacks many of the tools and culture that define a clear 'right way' to approach large-scale projects.

Five Tools for Managing Complexity in Large-Scale JavaScript Projects

Yet it's still possible to build and maintain complex software with JavaScript. But how? For the last year, I've been involved in the development of a chemical structure editor written in JavaScript. ChemWriter is an interactive, graphically-oriented component that combines many characteristics of a drawing program with chemistry domain knowledge. In the course of developing ChemWriter, we've experimented with many tools and approaches for managing complexity as the capabilities of the software increased.

Google Closure. ChemWriter is a component consisting of over 14,000 lines of JavaScript code spread over 112 source files and 14 packages, and is backed by over 1,600 automated tests. A comparison of Angular, Backbone, CanJS and Ember - Sebastian's Blog. Selecting a JavaScript MVC framework can be hard work.

A comparison of Angular, Backbone, CanJS and Ember - Sebastian's Blog

There are so many factors to consider and so many options out there that selecting a framework can be overwhelming.