ext js & html5

11
Ext JS & HTML5 2010225日木曜日

Upload: yuki-naotori

Post on 28-Nov-2014

8.881 views

Category:

Documents


3 download

DESCRIPTION

Ext JS 勉強会 2月@東京 資料

TRANSCRIPT

Page 1: Ext JS & HTML5

Ext JS & HTML5

2010年2月25日木曜日

Page 2: Ext JS & HTML5

自己紹介

氏名 : 徳冨 優一

所属 : デジノ株式会社

技術 : Ext JS & Google App Engine (Python)

URL : www.degino.com

Twitter : Tommy1969

2010年2月25日木曜日

Page 3: Ext JS & HTML5

HTML5 概要

Media: video, audio, canvas

Structure: header, footer, section, nav, article, etc...

Form & Grid: form , dataview (*)

Local Database : Web Database

JavaScript : Web Sockets, Web Workers

CSS3 : Effect, Animation

Misc : File API, 加速度センサー

2010年2月25日木曜日

Page 4: Ext JS & HTML5

HTML 5 Demo

2010年2月25日木曜日

Page 5: Ext JS & HTML5

Ext JS と HTML5 の対比

Ext JS HTML5Media ○

Structure ○Form&Grid 重複 ○

LocalDB ○Background ○

Other ○

2010年2月25日木曜日

Page 6: Ext JS & HTML5

Form Example

2010年2月25日木曜日

Page 7: Ext JS & HTML5

Ext JS Roadmap

Ext JS 3.2 (2010/3)

携帯端末用コンポーネント

Ext JS 4.0

HTML5 オフライン機能サポート

HTML5 WebSocket サポート

Canvas サポート

公式サイトより

2010年2月25日木曜日

Page 8: Ext JS & HTML5

Ext JS で HTML5 を活用

Web Database を使うには?

Ext.data.DataProxy を継承 (?)

Canvas, SVG, Video などを使うには

Ext.Panel を継承してパネルを作成

2010年2月25日木曜日

Page 9: Ext JS & HTML5

Canvas Panel 1

MyCanvas = Ext.extend(Ext.Panel, { initComponent:function() { MyCanvas.superclass.initComponent.call(this); this.on({ render: this._render, bodyresize: function(panel, width, height) { if (this.canvas) this.canvas.setSize(width, height); } }); }};

2010年2月25日木曜日

Page 10: Ext JS & HTML5

Canvas Panel 2

MyCanvas._render = function() { var size = this.getSize(); var cfg = Ext.copyTo({ tag : 'canvas', width: size.width, height:size.height }, this, 'poster,start,loopstart,loopend,playcount,autobuffer,loop');

this.canvas = this.body.createChild(cfg);};

2010年2月25日木曜日

Page 11: Ext JS & HTML5

おわり

2010年2月25日木曜日