background preloader

Developing Backbone.js Applications -

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. Prelude Not so long ago, “data-rich web application” was an oxymoron. Today, these applications are everywhere and you need to know how to build them. Traditionally, web applications left the heavy-lifting of data to servers that pushed HTML to the browser in complete page loads. Think of the Ajax shopping cart which doesn’t require a refresh on the page when adding an item to your basket. The rise of arbitrary code on the client-side which can talk to the server however it sees fit has meant an increase in client-side complexity. Thankfully, there are a growing number of JavaScript libraries that can help improve the structure and maintainability of your code, making it easier to build ambitious interfaces without a great deal of effort. Target Audience Acknowledgements Credits Target Version Reading What Is MVC? What is Backbone.js? <! Views

http://addyosmani.github.io/backbone-fundamentals/

Related:  Java ScriptjavascriptBackboneJsWeb Developmentfennean1

3 ways to define a JavaScript class Introduction JavaScript is a very flexible object-oriented language when it comes to syntax. In this article you can find three ways of defining and instantiating an object. Anti-Patterns in Python Programming - Constantine Lignos This page is a collection of the most unfortunate but occasionally subtle issues I've seen in code written by students new to writing Python. It's written to help students get past the phase of writing ugly Python code and understand some of the most common idioms. The simplifications employed (for example, ignoring generators and the power of itertools when talking about iteration) reflect its intended audience. There are always reasons to use some of these anti-patterns, which I've tried to give those where possible, but in general using these anti-patterns makes for less readable, more buggy, and less Pythonic code.

Previous Projects For those of you wondering what I was getting into before tool making, here are a few photos of the projects I've made along the way: Cherry and Birdseye Maple Display/Storage case. The carcass as well as the drawers are joined together with hand cut dovetails. A locking frame and panel pocket door to keep out intruders. Introduction to Backbone.js Part 5: AJAX – Video Tutorial Backbone.emulateHTTP = true; Backbone.emulateJSON = true; var Person = Backbone.Model.extend({

Command Line API Reference The Command Line API is a collection of functions for performing common tasks with the Chrome Developer Tools. These include convenience functions for selecting and inspecting elements in the DOM, stopping and starting the profiler, and monitoring DOM events. This API complements the Console API, the Command Line API is only available from within the console itself.

Combining Laravel 4 and Backbone For this tutorial, we're going to be building a single page app using Laravel 4 and Backbone.js. Both frameworks make it very easy to use a different templating engine other than their respective default, so we're going to use Mustache, which is an engine that is common to both. By using the same templating language on both sides of our application, we'll be able to share our views betweem them, saving us from having to repeat our work multiple times. Examples · Ratchet Checkout out the examples on a desktop browser or visit on your mobile device see the apps as intended. Movie finder iOS mail app Android notes app

The Feuds, Money, and Violence Behind Ibiza, D.C.'s Most Notorious Club Michael Kurlancheek crouched between two cars, blood running down his face, and waited for his moment. He was hoping his pursuers—bouncers from Ibiza, the District’s hottest megaclub—wouldn’t find him. They had already caught him once after he tried to escape their custody, a move that earned him a “stomping,” according to a police report. Kurlancheek had managed to escape during that beating, but club security was still after him. Earlier that night, Nov. 23, 2008, Kurlancheek had just been one of hundreds of patrons enjoying Ibiza.

Related:  Single Page AppsTutorials/Guides/Articles/Etc | backbone.jsClient Side FrameworksBackbone.js | MarionettePLWorkRelated