R
R
RukaBoga2017-10-09 12:33:53
Google
RukaBoga, 2017-10-09 12:33:53

Push API without server language. Only JS(AJAX) + Cloud JSON. Is it real?

Colleagues,
good day!

The question has arisen whether it is possible to implement the PUSH API on a site where, according to the security policy, there is no way to use access to server languages ​​and databases. At most, it will be possible to obtain permission to upload the file to the root of the site and re-upload it manually, for example, before each submission. HTTPS is available.

Actually a subject.
There is an idea, but I don’t know how feasible it is, to implement the whole thing on JS (AJAX) + Cloud JSON from Google.

Is it possible? Or maybe there are other implementation options. The main thing is that it all fits into the framework of security policies with the preservation of personal data, etc. etc.

I would be grateful for any hints who have already implemented such things or know that in theory it works. Unfortunately, it is not possible to "smoke" this whole thing by typing.

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2017-10-19
@mindtester

1 - no. push is essentially an action performed by the SERVER
2 - without a database and code, you don’t even have to ajax-it on such a hosting
3 - Google Cloud Storage is a unified storage, you can say no-sql database. and in general, it is NOT free
4 - I would advise you to look at Azure - Functions (code) and Mobile Apps (code and pushing, among other things) - free limits are very sufficient to get comfortable and get your hand on it and even quite use it in production for narrow circle of testers. and another big question about the tariffs that shine in case of success - MS has a policy of competitive tariffs (if C # confuses - not a question, js is fully supported, and the starting database can be MySql instead of MS Azure SQL)
ps
Azure Documet DB - api compatible with MongoDB if it's interesting to grow
Azure CosmosDB - supports all major apis (Document, Graph, SQL) and will be giga-mega-available-with-quick-response-guarantee if needed in case of mega success
and if at the initial stages, you will need very large storage for a penny - Azure Table Storage is a key-value for fantastically little money
pps
, including a free plan for just Azure web hosting, gives up to 10 sites, with a total amount of statics up to 1Gb and support for all major server code technologies - starting from your favorite MS asp.net, ending with php and node.js
, and about all this, there is just an abundance of information in Russian in Habré, MSDN (not only documentation!), TechDays, MVA, etc.:
https://www.techdays. en/Tags?tabIndex=-1
https://habrahabr.ru/search/?q=Azure#h
https://docs.microsoft.com/ru-ru/azure/
https://msdn.microsoft.com/magazine/ee310108
https://mva .microsoft.com/training-topics/cloud_de...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question