Agile is a HTML5+CSS3+JS-based mobile application development framework that is as close to native like as possible in the experience and supports both single-page and multi-page modes.
Agile allows HTML5 to take advantage of mobile application development. All developers are quick to get started, all devices are adaptable, and all projects are available.
Simple, scalable
Agile supports zepto and jquery dual engines and corresponding extensions, while agile supports both single-page and multipage-mode mobile applications that can be used with popular cross-platform development frameworks such as Exmobi and PhoneGap.
A framework, multiple devices
With the help of Agile, your mobile app can quickly and effectively adapt to devices such as mobile phones and tablets with the same code, which is the credit of CSS media query.
Complete components
Agile provides comprehensive, aesthetically pleasing documentation. Here you can find all the detailed documentation on HTML elements, HTML and CSS components, and JavaScript plugins.
Entry
The agile framework itself is developed on the basis of standard HTML5, but because mobile applications require a large number of local capabilities and HTML5 are not competent, it is often necessary to rely on a container to run and to invoke local capabilities in the container.
Exmobi is a mobile application platform launched by the Beacon Star, in addition to encapsulating a rich set of native components and local capabilities, HTML5 is also very good support, so use agile in exmobi to get a better experience. In addition, agile can also run in other containers such as phonegap. How to use agile in Exmobi please refer to http://www.exmobi.cn/agile/case.html.
Directory structure
After downloading the agile source code, unzip it to any directory to see four directories "agile", "Exmobijs", "Ratchet" and "Icomoon", agile is the core of the framework, other directories please click the corresponding link described above, in the document will also mention how to use. The following is an Agile directory structure:
agile/
├──css/
│├──agile.css
│├──agile.min.css
│└──check.css
└──js/
├──agile.js
├──agile.min.js
├──iscroll.js
├──template-native.js
├──touch2mouse.js
└──zepto.js
Some of the documents here are not necessary or can be replaced. The core framework of agile, with agile.* and app.*, must be referenced and other as a third-party support framework. The general production environment recommends the use of files with min.*.
Agile supports dual engines, zepto and jquery, so the zepto here can also be used for jquery, but Zepto is recommended because zepto is more efficient to run.
Iscroll.js is a mobile page scrolling solution, here is the v4.2.5 version, in Agile has encapsulated the interface, generally do not need to call directly, if you need to use a reference Iscroll 4.2.5 simple API.
Template-native.js is a classic JS template engine that can dynamically inject JSON data into a template file to learn more about accessing its location on GitHub.
Basic templates
Using the agile framework, the most basic CSS and JavaScript and HTML pages to refer to are as follows (all JS and CSS use relative addresses):
<! DOCTYPE html>
<meta charset= "Utf-8" >
<title>webapp</title>
<meta name= "viewport" content= "initial-scale=1, maximum-scale=1, User-scalable=no" >
<meta name= "apple-mobile-web-app-capable" content= "yes" >
<meta name= "Apple-mobile-web-app-status-bar-style" content= "Black" >
<link rel= "stylesheet" href= ". /.. /script/agile/css/agile.css ">
<link rel= "stylesheet" href= ". /.. /script/agile/css/app.css ">
<body>
<script type= "Text/javascript" src= ". /.. /script/agile/js/zepto.js "></script>
<script type= "Text/javascript" src= ". /.. /script/agile/js/agile.js "></script>
<script type= "Text/javascript" src= ". /.. /script/agile/js/touch2mouse.js "></script>
<script type= "Text/javascript" src= ". /.. /script/agile/js/app.js "></script>
</body>
Get
Official website: http://www.exmobi.cn/agile/index.html
Help Document: Http://www.exmobi.cn/course/course_27.html
Download this site: agile-dist v3.0.0 | Updated at: 2015-01-15
Agile people produce HTML5+CSS3+JS mobile application Development Framework