How to run JavaScript on the server

I am writing an iPhone application that should interact with the Google Maps API, so I have to use JavaScript (please correct me if I am mistaken) in order to access the results and the route created.

Since JavaScript support in native iPhone apps is pretty bad and slow, my idea was to ask the remote web server to do this job for me. This server will run Apache and PHP.

So my question is: is it possible to run JavaScript on the server side? And if possible, how would you do it?

+3
source share
4 answers

After a series of studies, I found Aptana Jaxer, an open source software that allows you to run Ajax, HTML, JavaScript and DOM on the server side. It is available at: http://aptana.com/jaxer

On its website it says:

HTML, JavaScript, and CSS are all native to Jaxer, as are XMLHttpRequests, JSON, and DOM scripts. And as a server, it offers access to databases, files and networks, as well as logging, process control, scalability, security, integration APIs and extensibility.

There's also a very beautiful screencast to help you get started in a minute: http://tv.aptana.com/videos/introduction-to-jaxer-10?ref=search&refId=jaxer

+2
source

Javascript API Google ; , - , API Python ( Javascript) - , ( JS).

+4

javascript , .

+1

Google Maps API v3 - iPhone, iPhone OS 3.0 Google Maps . , .

+1

Source: https://habr.com/ru/post/1709615/


All Articles