JqMobi (App Framework) (1), jqmobiapp

Source: Internet
Author: User

JqMobi (App Framework) (1), jqmobiapp
Get started with jqMobi (App Framework) (1) 1. What is jqMobi?

JqMobi is a javascript framework developed by appMobi for HTML5 browsers and mobile devices. It is an extremely fast selection library for queries and supports W3C queries.
JqMobi source code is rewritten based on jQuery source code, but the two are different products. jqMobi is smaller, faster, and more compatible.

The above paragraph is from Baidu Baike, but the above explanation is not comprehensive because jqmobi has been acquired and continues to develop, and jqmobi is not limited to the selection of databases for queries.

2. Features of jqMobi
  • Fast
  • Small Size
  • Applicable to smartphones and tablets
  • Provides 60 API calls
  • The same syntax as JQuery (I personally think it is the same as the syntax structure and jqMobi is compatible with JQuery. The parameters in some specific functions are not the same, for example, $. ajax (). For details, refer to the official APIs of both)
  • Scalable plug-ins
3. What is App Framework?

Intel acquired HTML 5 mobile App company appMobi HTML5 development tool XDK and Related Employees in February 22, 2013, and then renamed jqMobi as App Framework. To put it bluntly, jqMobi is actually an App Framework. Currently, many developers and tutorials in China are based on the jqMobi name.

4. Composition of App Framework

This is probably a hurdle for many beginners. They don't know what this product is at the beginning. The first reason is that the App Framework is still very young, it has only more than two years of history and is still in the early stage of development. Therefore, there are very few materials in China and they are all very old. Here we also need to talk about Intel, the official website development guide of the App Framework is really bad, and the acquisition is not well developed.
Let's take a look at the composition structure of jqMobi to understand the composition of the App Framework:

  • JqMobi query selection library === App Framework query selection Library (this is what the App Framework referred to on the Internet), this part is the API call, including Ajax calls and webkit-specific system selector calls. To put it bluntly, it is a syntax function or something. You can understand that this part is equivalent to JQuery.

  • JqUi = af. ui. This part is the user interface library, which provides buttons, parts, fixed headers/footer, and controllable rolling parts.

  • JqPlugin = Plugins, which is a plug-in. The officially downloaded package comes with some plug-ins, including the pop-up window of popup and some common plug-ins such as the scroller rolling area, of course, you can not only find more plug-ins on the Internet, but also develop plug-ins by yourself. the ui is equivalent to Jquery Mobile.

To sum up, you can think of the App Framework as a Javascript Framework developed on HTML5 Mobile cross-platform, similar to JQery and Jquery Mobile. Of course it is not the same.

5. Download the App Framework

Here is the official website of App Framework: http://app-framework-software.intel.com/
Click the Download button to download it, or you can download it on github.
When I write this blog post, the latest version is 2.1.0. After downloading and unzipping the package, the file directory is as follows:

Therefore, you can directly open index.html to learn more about the content of the App Framework. Before that, we also said that the official documents are poorly written. Therefore, I suggest you directly use the content in this package to learn the App Framework, it is strongly recommended that you use the chrome browser to learn the best experience.

6. Understand the directory structure of App Framework
  • Build folder, as the name suggests, the file here is the content of the file you need to use the App Framework for Development. Here, you just need to perform the relevant application as needed, the specific usage will be discussed later.

  • Then press F12 to call up the console and you will find an error. This is because the corresponding App catalog in this folder is missing and put under the documentation folder, you can see the full version of the document, i'm not sure if this problem persists when you see this article. I am planning to submit it on github for correction. At least this problem exists in version 2.1.0.

  • The contents referenced by index.html in the root directory of the folder and the file are basically an official API document. For details, you can read more about the content.


If you want to learn English, you have no foundation at all. What should you learn? Download a mobile APP to learn,

An app can be used as a friend of a school bully. If you are a friend of a school, you will be ignorant. You need to make a friend of a school bully and ask him questions modestly. However, you 'd better solve a big problem at a time, then ask him to take a meal (for example, let him give the grammar he has learned and take notes) (hope to adopt
 
What do I need to learn when creating a mobile app? I have no foundation at all. Can some simple apps be completed independently?

C, JAVA, and other software should
 

Related Article

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.