3 ms·
Still not much of an app unless the JS does AJAX, but then it's talking to a server that's running some dynamic process, maybe with DB access etc. - right?
by ds9 13y ago
Still not much of an app unless the JS does AJAX, but then it's talking to a server that's running some dynamic process, maybe with DB access etc. - right?
- Isofarro 13y agoNot necessarily. You can make an ajax request to a static resource. The server doesn't have to be a dynamic process. Static resources are just files. A client-side JavaScript Twitter could be done this way. Every tweet, or timeline can be pre-baked into a static json file, and ajaxed in. Twitter can then be simplified to a backend application that updates these files. Granted, tweeting is a separate matter; that requires an endpoint that processes data.
- WhitneyLand 13y agoCross-domain REST is the big win. MongoLab, APIs, Widgets, etc.