Jqmobi (App Framework) Getting Started learning (i)

Source: Internet
Author: User

Jqmobi (App Framework) Introductory Learning (i) 1. What is Jqmobi?

Jqmobi is a JavaScript framework developed by Appmobi for HTML5 browsers and mobile devices, and is an extremely fast query selection library that supports Web search.
Jqmobi source code is based on the jquery source rewrite, but the two belong to different products, jqmobi volume smaller, faster, compatibility is different.

The above paragraph from the Baidu Encyclopedia, but at present because Jqmobi has been acquired and continue to develop, and Jqmobi not only limited to the query selection library, so the above explanation is not very comprehensive.

2. Features of the Jqmobi
    • Fast speed
    • Small size
    • Suitable for smartphones and tablets
    • 60 API calls are available
    • The same syntax as jquery (individuals think that only the same grammatical structure and Jqmobi-compatible jquery, the parameters on some specific functions are not the same, such as $.ajax (), specific reference to the official API of both)
    • Plug-ins can be extended
3. What is the app Framework?

Intel February 22, 2013 acquired HTML 5 mobile app Appmobi HTML5 development tool XDK and related employees, after which Jqmobi renamed the app Framework. Plainly Jqmobi is actually the app Framework. Since many of the developers and tutorials in the country remain above the name Jqmobi, explain it a little bit.

4. Composition of the APP framework

This estimate will be a lot of beginners in the heart of a hurdle, beginners are completely confused what this goods, to learn from, the first is because the app framework is still very young, only two years of history, but also in the early development, so the domestic information is very small, and are very old, Here, too. Intel,app framework of the official website development guidance written is really rotten to explode, acquisition is not well developed.
Let's compare the composition of the Jqmobi with the composition of the app framework:

  • Jqmobi Query Select library = = = App Framework Query selection library (this is what the app framework refers to in the Internet), this is the API call, including AJAX calls, System selector calls for WebKit, etc. To be blunt is a grammatical function or something, which you can understand as part of jquery.

  • Jqui = = = Af.ui, which is part of the user interface library that provides buttons, parts, fixed header/footer, and controllable rolling parts.

  • Jqplugin = = = Plugins, this part is the plug-in, the official download of the package comes with some plug-ins, including popup popup window, scroller scrolling area and other common plug-ins, of course, you can not only find more plug-ins on their own online can also develop their own plug-ins, This section and the above Af.ui you can understand as the equivalent of jquery Mobile.

In conclusion, you can understand that the app framework is a JavaScript framework that is similar to Jqery and jquery mobile, and is not equivalent to a HTML5 moving cross-platform development.

5. Download the app Framework

This is the official website of the app framework: http://app-framework-software.intel.com/
Just click the download button to download it, or you can load it on GitHub.
When writing this blog, the latest version is 2.1.0, download and unzip the file directory as follows:

Since then, we can directly open index.html to learn more about the content of the app framework, and have said that the official document is poorly written, so I suggest that you can use the contents of this package to learn the app framework directly. It is strongly recommended that you learn in chrome for the best experience.

6. Understand the directory structure of the app framework
  • The build folder, as the name implies, is the file you need to use the app framework for development, and the application is done according to your needs, as described in the following section.

  • Documentation folder, this can be regarded as a grammar document, but the writing is very bad, many even do not have a complete example, and there are some HTML content on the small error, Including you to open the index.html and then press F12 to bring up the console will find an error, here is due to the lack of the corresponding app framework JS and CSS files in this folder, you can copy to the build folder Appframework.js, Appframework.ui.js, Af.ui.css and Icons.css in the Documentation folder, you can see the full version of the document, I am not sure when you see this article will still have this problem, I have plans to submit a correction on GitHub, at least at present 2.1. Version 0 has this problem.

  • The rest of the folder and file is the root directory of the index.html referenced content, the basic composition of an official API document, the specific people can look at the content, not much to say.

Jqmobi (App Framework) Getting Started learning (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.