---
title: "web app 前端框架---使用"
author: "ileson"
date: "2014-10-01T15:31:09Z"
tags: []
categories: ["Web前端"]
slug: "web-app"
draft: false
lastmod: "2015-01-02T20:15:02Z"
id: 2124294
url: "https://ileson.iteye.com/blog/2124294"
---

一、**框架简介**
1、[angular](https://angularjs.org/)
[angular.js](http://www.w3cschool.cc/angularjs/angularjs-tutorial.html)

mobile-angular-ui 

2、[require](http://requirejs.org/)

[require.js 入门](http://www.w3cschool.cc/w3cnote/requirejs-tutorial-1.html)

[模块化前端js](http://www.ruanyifeng.com/blog/2012/10/javascript_module.html) 


3、[phonegap 官方](http://phonegap.com/)、[中文网](http://www.phonegapcn.com/)
phonegap 

android app 使用phonegap 的[入门文章](http://www.jb51.net/html5/80728.html)

注意：与android 集成时，文件名不能有中文。（汗）

4、[vuejs](http://vuejs.org/)

[vuejs 入门](http://www.html-js.com/article/Vuejs-Chinese-entry-1-super-simple-MVVM)

[vuejs 在线入门小例子](http://jsfiddle.net/yyx990803/vjvMp/)

5、[zepto](http://zeptojs.com/)

zepto 官网下载时，可以自己选择module 如果想用移动端设备的touch事件。将touch 这个模块的代码copy 到你下载的zepto.min.js 文件的下面。

6、[jquery mobile](http://jquerymobile.com/)

   [jquery mobile 教程](http://www.w3cschool.cc/jquerymobile/jquerymobile-tutorial.html) 
  
  ①、页面跳转时 加上属性 data-ajax="false" 。否则在不同文件间的跳转，样式加载不了。因为jqm 跳转的方式是ajax 无刷新的。用这个属性就是禁用它的ajax load 方式。
  ②、data-role="collapsible" 中的内容，如果是中文可以正常响应屏幕宽度。英文就会不能很好的自适应屏幕。【不知道为啥，这是个bug???】

  ③、[自定义主题](http://themeroller.jquerymobile.com/) 
     theme css 我用的是1.4.4 版本的jquery mobile 。默认只有两套主题，一个灰A主题、一个黑B主题。
     将主题Swatches 相关的css 从jquery.mobile-1.4.4.css 这个文件中拷贝一份相关主题的css 代码。另外新建一个css 文件(jqm.custom.theme.css)
     这要你就可以随意修改里面的css 样式，达到你想要的主题。
     这样你就可以引入你自己定义的主题了。

  [新手问题](http://www.wglong.com/main/artical!details?id=4#q10)


二、[**nodejs**](http://nodejs.org/) 
   [nodejs 入门](http://jingyan.baidu.com/article/a948d6515d4c850a2dcd2e18.html)