background preloader

Handlebars.js: Minimal Templating on Steroids

Handlebars.js: Minimal Templating on Steroids

https://handlebarsjs.com/

Part 1: Backbone.js + Require.js This article provides a brief introduction to JavaScript AMD and MVC technologies. It then details a working example of modularizing the Backbone.js 101 tutorial, “Todos” by Jérôme Gravel-Niquet, using Require.js. The article assumes basic familiarity with the aforementioned libraries, concepts, and example. This will be part one of a four part series. If you already know the basics or would like to dispense with the pleasantries then skip ahead to Let’s Get Started. Introduction How To Use MySQL With Meteor ⚙ Co The problem with Meteor, for me, isn’t really with Meteor at all. It's with MongoDB, which is bundled with Meteor. I do like the fact that I don't need to change the schema when I make changes to the DB or the fact that I can insert arbitrary data and even create real objects without resorting to ORM. But all of this doesn't really compensate for the fact that MongoDB is so limited compared to modern SQL databases. There are quite a few things I found problematic--such as the absence of AUTOINCREMENT (and yes, I know about using uuids) and not having joins.

Important Considerations When Building Single Page Web Apps Single page web applications - or SPAs, as they are commonly referred to - are quickly becoming the de facto standard for web app development. The fact that a major part of the app runs inside a single web page makes it very interesting and appealing, and the accelerated growth of browser capabilities pushes us closer to the day, when all apps run entirely in the browser. Technically, most web pages already are SPAs; it's the complexity of a page that differentiates a web page from a web app.

HTML KickStart Setup Download HTML KickStart Include jQuery and HTML KickStart <script src=" src="js/kickstart.js"></script><!-- KICKSTART --><link rel="stylesheet" href="css/kickstart.css" media="all" /><!-- KICKSTART --> Copy Elements into your HTML Browsers

Upgrading to RequireJS 2.0 · jrburke/requirejs Wiki Why There has been a good deal real world usage of requirejs, and there were some features around configuration that have come up that would be nice to add. At the same time, there were some configuration options and internal features that have not held their weight, and it would be good to remove them. Support for the AMD APIs has not changed. If anything, I am hoping that the AMD loader implementers are starting to agree on higher level APIs, like common config. The changes were more around the configuration and internal operation of requirejs.

MongoLab Standard driver and REST API support Connect to your database using standard MongoDB drivers in the language of your choice or use MongoLab's JSON-based REST API. Multi-cloud Keep your database close to your app server! MongoLab provides MongoDB hosting on all the major cloud platforms — Amazon, Google, Joyent, Rackspace, and Windows Azure — and has partnered with all of the major Platform-as-a-Service providers to enable seamless integration with the application tier.

JavaScript’s Strict Mode and Why You Should Use It Starting with ECMAScript 5, developers are able to place their code into a more constrained form of execution known as strict mode. Strict mode improves JavaScript code by enforcing better programming practices and eliminating some of the language’s insecure and ill-advised features. Strict mode is enabled by adding the following directive to your code: "use strict"; 20 Free Responsive HTML & CSS Templates The free responsive HTML & CSS templates we have for you today do not only offer a quick and easy to edit solution for a static website or as a theme for your favorite CMS, they also offer a great learning experience by giving you the opportunity to reverse-engineer the beautiful mobile-friendly responsive code contained with each. Designa Designa Download Page →View the Demo → FlexApp FlexApp Download Page →View the Demo → Liquid Gem

Developing Backbone.js Applications - By Addy Osmani (@addyosmani) Available free for open-source reading below or for purchase via the O'Reilly store. Pull requests and comments always welcome.

framework permettant de gérer simplement l'écriture d'une page HTML ... peut être très partique by ouaf Sep 10

Related: