How to link database to the javascript code using tools?
Answers
Answered by
1
Answer:
You could write a REST-based service using C# or Java and run it in a Web Container (IIS, Apache Tomcat). The REST-based retrieve data from the database (potentially using Hibernate or NHibernate so that it will not be necessary to write raw SQL) service would return the requested information to the client in JSON format (which can be parsed a lot faster than XML and JavaScript understands it - it sees it as a type of object). The service could be secured using OAuth authentication to ensure that only clients that you authorize are able to access it.
Similar questions