W
W
Weageoo2013-02-18 15:55:40
Web development
Weageoo, 2013-02-18 15:55:40

Website without the use of server technology

There are a lot of server-side technologies/frameworks in vogue now that allow you to dynamically generate HTML content: APS.NET, Ruby On Rails, and so on. On the other hand, JavaScript MV* frameworks like AngularJS, Backbone, etc. are gaining popularity. Is it possible to build a website that is large enough and uses only JavaScript MV* frameworks and AJAX requests to web services to populate the site with content? Would all pages be just static HTML?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Antelle, 2013-02-18
@Weageoo

External data sources can: be unreliable (and the site should not go down); give data in the wrong format (for example, there are no filters or are closed from the eyes of users, or there are just a lot of them); give them away for a long time; be legally or logically inapplicable to return to users.
Therefore, large sites somehow process data, store it, cache it, etc., which is why the backend is needed.
In general, it is possible to do something, but somehow it is unreasonably difficult and not entirely reliable. This is of course if the site is not a blog with pictures: this one will take off on one static if you prepare it correctly.

W
WEBIVAN, 2013-02-18
@WEBIVAN

Purely theoretically, of course, you can find external services that allow cross-domain requests and provide api for storing and retrieving data in such a strange way.
There should be 2 services: image storage and database.
Even if we assume that such services will be found and will be free, or have an adequate price, which I strongly doubt ...
The speed of such a site will be, to put it mildly, not very good. It's the browser that needs to make a bunch of requests to the left servers, and then draw all this on js.
The key question is "why"?

V
Vyacheslav Slinko, 2013-02-18
@KeepYourMind

Yes, you can.
The main problem is cross-domain requests:
- CORS is not available in all browsers;
- JSONP not for all APIs;
- only GET can be forwarded through an iframe.

U
Urvin, 2013-02-18
@Urvin

Of course it is possible. Vkontakte, for example, works.

R
rassadin, 2013-02-19
@rassadin

Any site must meet the conditions of compatibility with a certain bar.
For a fairly large site , especially if it is a site providing services,
this compatibility bar should be quite low, for example 0.5% of the audience.
Thus, it will be necessary not only to support technically outdated browsers,
but also to provide work without the use of JS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question