![]() Most likely, you have already heard about Foursquare, the popular location-based social networking app that enables you to share venues with your friends across the world.įoursquare’s core JavaScript API is built around Backbone Models, where the Model classes of the Foursquare API (such as Users, Venues, and Check-ins) are the subclasses of the Backbone Model classes and inherit their methods and properties. The developers also built their own client-side Model cache for faster updates and more efficient code reuse. Trello utilizes Backbone Model and Views for its objects such as Cards or Members, and Backbone Collections for related Models – for example Cards in a list. All elements of the Trello Tech Stack were designed in a way that resulted in a maintainable client that easily handles updates, and dynamically re-syncs with the server whenever a DOM event is triggered. Backbone works together with the HTML5 History API and the Mustache logic-less templating language on the frontend. Trello was built from the ground up with Backbone.js. Trello is an online collaboration and project management app that helps you organize your projects into Boards, Checklists, Cards, and Card Lists and provides you with tools like Conversations for team member communication. In this post, we will be studying ten web apps that utilize the features of the Backbone library to help you grasp the potential Backbone.js has for your future web app projects. ![]() As Backbone syncs with any RESTful API by default, you can easily connect your client-side app to your existing server-side API through a RESTful JSON interface. It helps you build fast, sleek and data-rich single-page web apps, keeps your data logic separate from your user interface, saves you from tying your data to the DOM, and scales as your app grows. Backbone is a JavaScript library that is loosely based on the Model-View-Controller design pattern, but as it lacks the Controller element, it’s better to call it an MV* framework. Have you ever been entangled in spaghetti code? Would you rather feed your app something healthier? If so, take a peek at what can be accomplished with Backbone.js.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |