Backbone.js is a lightweight JavaScript library that adds structure to your client-side code. Developers commonly use libraries like Backbone.js to create single-page applications (SPAs). What is a Single-Page-Application? A single page Web App is a website that attempts to recreate the experience of a native desktop or mobile application. On a Single Page Web App you are less likely to see page refreshes, the browser navigation within the app is often overridden and there will usually be some offline capabilities. To a user their interaction with a Single Page Web App will be almost identical to how they interact with a full native application. Backbone has many advantages over other js frameworks. Backbone is mature, popular, and has a number of plugins and extensions available that build upon it. It has been used to create non-trivial applications by companies such as Disqus, Walmart, SoundCloud and LinkedIn. Backbone organizes its whole code under t...
The four core database operations used in database driven application development are create,read,update and delete(CRUD). Create This is one o f the four basic database operations ,CRUD. create operations are those that add new records or documents to a collection in MongoDB. You can create documents in a MongoDB collection using any of the following basic operations: insert upsert The insert() is the primary method to insert a document or documents into a MongoDB collection and is analogous to the INSERT statement in SQL. It has the following syntax: db.collection.insert( <document> ) If the collection does not exist , then the insert() method creates the collection during the first insert. The update() operation in MongoDB accepts an “ upsert ” flag that modifies the behavior of...