3 ms·
OK, then, sorry if I'm being dense, but how can it be "for serving web apps"? App seems an odd term for a site consisting of only static files.
by ds9 13y ago
OK, then, sorry if I'm being dense, but how can it be "for serving web apps"? App seems an odd term for a site consisting of only static files.
- packetslave 13y agoPerhaps you've heard of this new language, JavaScript?
- ds9 13y agoStill 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.