Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I have to use a Backend when using Backbone.js?

I want to develop a relatively simple application that calculates some value based on several inputs. I dont want a backend, all the calculation can be done in the browser.

Im a little new to JavaScript and WebApps and I came across Backbone.js.

I really like the MVC design, however, they mention a backend a lot. My question:

  • Is a backend server absolutely required?
  • Is a backend server optional but without one there isn't much point in backbone.
  • Or will backbone will really help me out?
like image 427
Robert Avatar asked Dec 17 '11 14:12

Robert


1 Answers

  1. Backend is not required.
  2. Backbone can fully work without any backend if your application doesn't require one.
  3. That depends on your application. If you want to retrieve value of some inputs and calculate a result then Backbone won't do that for you - it will help you structure your code. If you app is simple and don't need support for models, views and collections or routing, then there is no point in using Backbone. Hard to answer this question.

For example: Classic todo example application doesn't use any backend.

like image 95
kubetz Avatar answered Oct 28 '22 00:10

kubetz