A big and general question, although NOT a discussion
My friend and I are discussing a web application being developed. It currently uses PHP, but PHP does not store anything, and they are all based on OAuth. All this speaks of an independent API. PHP really just mirrors a lot of Javascript logic for browsers without Javascript support.
If you decide to include Javascript as a requirement (don't go into this ... a whole different problem)
Are there any technical, fundamental problems serving the application like HTML + Javascript placed on a CDN? That is 100% static javascript and HTML without server logic. Because Javascript is just as capable of making all API calls as PHP. Are any existing sites being used?
We can't think of any show stoppers, but it seems like a scary idea is to make the "web application" a 100% client side ... so look for more input.
(To clarify, we are talking about deploying using javascript and HTML ONLY and refusing server-side processing outside the JSON API or something else)
Thanks in advance!
source share