Wednesday, July 30, 2014
Tips to develop IPhone Apps
Issue 1: Cross origin requests are only supported for HTTP
Solution:
1. While Angular applications are purely client-side code, and it is possible to open them in a web browser directly from the file system, it is better to serve them from a HTTP web server. In particular, for security reasons, most modern browsers will not allow JavaScript to make server requests if the page is loaded directly from the file system.
2. Use Web server to serve the static contents, such as Apache HTTP Server, Tomcat, Play Framework, node.js. Tomcat is my chosen framework, because I have existing investment in Tomcat.
How to develop AngularJS Project ?
1. Develop within a dynamic web project running on tomcat. (Equinix)
2. Develop with Play Framework. (GE)
3. Develop with node.js (AngularJS Example)
4. Develop with Dynamic Web Project, where we will host SpringMVC.
Labels:
IPhone
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment