Tag archives: backbone

How to build a news aggregator with backbone.js - Part 2

In the previous post, I have been using backbone.js to retrieve news provided by newsinapp.io. Now, I need to display them in an unique HTML page. By unique page, I mean that all user interactivities will be only in one HTML page, and backend server will provide only data and no HTML tags.

How will be the GUI of this application ? First, a list will display each latest news. When a news is selected, the content detail will be displayed on the side. In addition, an image or video will be shown if it is available.

Explanation view

NewsItemView or ...

Continue reading

How to build a news aggregator with backbone.js - Part 1

In this post and the following, we will build a news aggregator in an unique page using backbone.js. By unique page, I mean that all user interactivities will be only in one HTML page, and backend server will provide only data and no HTML tags. Finally, fed by news, this application will use an API RESTful, http://newsinapp.io

backbone.js is a MVC framework in Javascript. A new quirk? A plaything for skilled developers? A fancy of a few gurus in javascript? I’m probably not the only person who thinks it. So I decided to look at ...

Continue reading