2

I'm a frontend developer with very low knowledge of backend. I was wondering with todays javascript libraries such as backbone.js and cloud serviced databases like stackmob, mongolab etc.

Could we build everything "frontend" now and just fetch the data from one of these databases?

JimmyRare
  • 3,958
  • 2
  • 20
  • 23

2 Answers2

2

Yes, this is something that is becoming increasingly viable, although there are still challenges that need to be overcome - authentication is a big one (you can't simply store your data store credentials clientside like you might do serverside as anybody could find them and abuse them), although efforts are being made to address this.

Take a look at Firebase as an example of exactly this kind of thing. Their examples page shows examples of applications built without your own backend being required. They just announced their security API this week as a means of addressing the authentication side of things.

Luke Bennett
  • 32,786
  • 3
  • 30
  • 57
0

You must have proxy on your client side to send data to some cloud serviced and allowing cross-domain but you must have origin domain set on cloud serviced to you domain (which can be a problem).

For proxy you can use Java applet, flash object, html5 socket or XMLHttpRequests.

This is not easy and some of this don't working on all modern browsers.

fvisic
  • 104
  • 1
  • 8