Javascript is not only used for web pages and website programs. You can also create real-time applications, server solutions, desktops, and mobile applications. There are two types of mobile applications: Web applications in browsers and local applications. Local applications are usually faster and more powerful because they have access to devices such as file systems, sensors, and cameras. Local applications are usually written in the language specified by the mobile phone, such as Objective-C and Java. Therefore, independent developers usually use HTML + CSS + Javascript solutions. Fortunately, thanks to the latest technology, we can easily switch web applications to real local applications.
Titanium Appcelerator(Http://www.appcelerator.com /)
Video (http://vimeo.com/moogaloop.swf? Clip_id = 8730218 & server = vimeo.com & show_title = 0 & show_byline = 0 & show_portrait = 0 & color = & fullscreen = 1)
This horrible tool allows you to use the Web technology you know to create powerful mobile apps for iPhone, iPad, and Android through local control (BlackBerry will be supported later. These technologies include HTML5, CSS3, Javascript, PHP, Ruby, and Python. In addition, it has recently updated the documentation.
You can use any framework you want to use (such as Mootools, jQuery, and Prototype) and use the latest features of CSS3 and Javascript. This is because the Titanium program actually runs in the smart embedded Webkit (Safari) window. Starting from Titanium 1.0, only Javascript simulators except Webkit Webview are available. As Mitchell wrote:
In Titanium 0.8, the Webview of Webkit is used as the core, surrounded by GPS, user interface, camera, and data mapped to the operating system. In Titanium 1.0, developers can now choose to build the Objective-C on the iPhone or Java on Android by directly binding the API to the operating system.
If you have learned the Titanium mobile phone API, you will find how simple it is to use geographic positioning or mouse gestures. You can even connect your application to Facebook with just a few lines of code.
PhoneGap(Http://www.appcelerator.com /)
Like Titanium, Phone Gap allows you to use HTML and Javascript to build applications for multiple mobile platforms, including iPhone, Google Android, Saipan, Palm, and blackberry. Here you can see the features currently supported by these platforms.
Frankly speaking, I only use Titanium, but PhoneGap seems to be a good choice.
QuickConnectFamily and NibleKit are also available. The first is quite powerful, and the second lacks documentation and does not support cross-platform (only for iPhone and iPod ). I also recommend iWebkit, but its homepage has recently been hacked (I'm not kidding ...).
You may be interested in frameworks that make your work easier. For example, if you want your app to have a special iPhone interface and appearance, try:
JQTouch(Http://www.jqtouch.com /)
It allows you to easily create an iPhone application running on a Webkit browser (you can also use Titanium or PhoneGap to create a local application ).
In addition to jQTouch, there is also an option: IUI. You can find it in Google Code.
If you want to select a lightweight and non-jQuery framework, you can try WebApp, which is designed to simulate the real user GUI of iPhone and iPod Touch.
XUI(Http://xuijs.com /)
We heard your words. What is another Javascript framework ?! When using PhoneGap for development, using modern Javascript (such as Prototype, MooTools, YUI, Ext, and even jQuery) will lead to slow loading time. The biggest reason is that these libraries are too large, mainly because they contain a large number of cross-browser compatibility code. So far, there are few browser implementations and different requirements on the mobile phone platform. Therefore, consider XUI.
I have already said enough...
Cappuccino(Http://cappuccino.org /)
This framework is designed for non-Objective-C developers. Capucchino introduces Objective-J.
Objective-J is a new programming language based on Objective-C. It is also a superset of Javascript, which represents any valid Javascript code is also available Objective-J code. Anyone familiar with Javascript and object-oriented principles will not have any difficulty in learning Objective-J. Familiarity with Objective-C is helpful, but not necessary.
You can use this framework to create a mobile app that is as good as a desktop app (thanks to Titanium ). Take a look at some examples: 280 slides, Mockingbird or Github.
IProcessingHttp://luckybite.com/iprocessing)
Using the above framework, you may not be able to create 3D applications and games. So with iProcessing. It is an open programming framework that helps people develop local iPhone applications using Processing language. It is a combination of the Processing. js Library and the Javascript Application Framework on the iPhone.
Video (http://www.youtube.com/v/tENliJSMEB8&rel=0&color1=0xb1b1b1&color2=0xd0d0d0&hl=en_US&feature=player_embedded&fs=1)
Link: http://article.yeeyan.org/view/153993/174186