/source/Slides.js
https://bitbucket.org/benluo/shlug_slides_201205 · JavaScript · 112 lines · 111 code · 1 blank · 0 comment · 0 complexity · 1af1da353f60283dfcac58fb3e4e17a1 MD5 · raw file
- slides = [
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"Enyo 2 与无 template 的 python web 应用"},
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"关于我"},
- {content:"自由软件跟从者"},
- {content:"email: benluo@gmail.com"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"讲座安排"},
- {content:"Enyo 简介"},
- {content:"Python Web 框架选型"},
- {content:"Enyo + Zerkzeug + SQLAlchemy 框架"},
- {content:"问答"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"Enyo 历史"},
- {tag:"h2", content:"Enyo 史前史"},
- {content:"Palm OS 5 运行在 Treo 手机上"},
- {content:"Mojo 运行在 Pre/Pixi/Veer 手机上"},
- {tag:"h2", content:"Enyo 历史"},
- {content:"Enyo 1 运行在 Touchpad 平板电脑上"},
- {content:"Enyo 2 计划运行在将来出的 open webOS 手机上"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"Enyo 2 的特点"},
- {content:"HTML 只是JS 文件的容器"},
- {content:"基本上是JS和CSS来实现网页应用"},
- {content:"原则上是跨平台的"},
- {content:"Enyo 2 是直接从 Enyo 1 来的,应该对手机应用最适合"},
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"Enyo 2 的典型程序"},
- {content:"index.html 作为程序的入口"},
- {content:"enyo 目录里包含 enyo.js 和 enyo.css 是 enyo 的核心库。"},
- {content:"source 或其它目录下保存应用的 JS 文件。"},
- {content:"source 或其它目录下保存应用的 css 文件"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"index.html"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"应用的 JS 主程序"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"Python web 框架选型"},
- {content: 'Django 太重,而且有 template '},
- {content: 'Flask 封装多,有些我不喜欢的封装, 有 template'},
- {content: 'CherryPy 不活跃,不喜欢它的 url 分发的方式'},
- {content: 'Pyride 有 template, 有zope 血统'},
- {content: 'Tornado 介绍中太强悍,而且用了 eventloop, 有点担心'},
- {tag:'h2', content: '最终选择 Zerkzurg -- Flask 底层的库'},
- {content: '无 template'},
- {content: '够轻量'},
- {content: '和 SQLAlchemy 配合'},
- {content: 'URL 分发经过封装可以比较好看'}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"相关链接"},
- {tag: "a href='http://enyojs.com'", content:"Enyo 2 -- 从 webOS 演化来的 JS 库"},
- {tag: 'br'},
- {tag: "a href='http://www.djangoproject.com'", content:"Django -- 流行的 Python Web 框架"},
- {tag: 'br'},
- {tag: "a href='http://flask.pocoo.org'", content:"Flask -- 新晋轻量级 Python Web 框架"},
- {tag: 'br'},
- {tag: "a href='http://cherrypy.org'", content:"CherryPy -- 轻量级 Python Web 框架"},
- {tag: 'br'},
- {tag: "a href='http://www.pylonsproject.org/projects'", content:"Pyride -- 轻量级 Python Web 框架,Zope 血统"},
- {tag: 'br'},
- {tag: "a href='http://http://www.tornadoweb.org/'", content:"Tornado -- 从 FaceBook 来的 Python Web 框架"},
- {tag: 'br'},
- {tag: "a href='http://Zerkzeug.pocoo.org'", content:"Zerkzeug -- Flask 的底层库"},
- {tag: 'br'},
- {tag: "a href='http://http://www.sqlalchemy.org/'", content:"SQLAlchemy -- Python 中最流行的 ORM 库"}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"代码展示"},
- {tag:"a href='https://benluo@bitbucket.org/benluo/meixigeshidan-werkzeug-enyo'", content: '梅玺阁食单'},
- {tag: 'br'},
- {tag:'a href="https://benluo@bitbucket.org/benluo/shlug_slides_201205"', content: '本讲座演示文档'},
- {tag: 'br'}
- ]
- },
- {
- classes: "scroller-slide", components: [
- {tag:"h1", content:"问答"}
- ]
- }
- ];