• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
  Java_script_day
 

Java_script_day

on

  • 202 views

 

Statistics

Views

Total Views
202
Views on SlideShare
202
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

      Java_script_day Java_script_day Presentation Transcript

    • 舐め回す会ブログDiv 山田友典
    • アジェンダ● 新エディタの技術的背景 ○ YUI ○ closure tools ○ WYSIWYG ○ compatibility view ○ アプリケーションログ
    • YUI● V2● OOP● CDNとloader● local storage
    • YUI - oopクラス化されたライブラリ構成http://developer.yahoo.com/yui/docs/YAHOO.widget.Editor.html
    • YUI - oop継承やmixinのサポートvar Class1 = function(info) {alert("Class1: " + info); }; Class1.prototype.testMethod = function(info) { alert("Class1: " + info); }; var Class2= function(info) { Class2.superclass.constructor.call(this, info); alert("Class2: " + info); }; YAHOO.lang.extend(Class2, Class1); Class2.prototype.testMethod = function(info) { Class2.superclass.testMethod.call(this, info); alert("Class2: " + info); }; var class2Instance = new Class2("constructor executed");class2Instance.testMethod("testMethod invoked");
    • YUI - CDNとloader● view-source:http://blog.ameba. jp/ucs/entry/srventryinsertinput.do?editor_flg=2● http://developer.yahoo.com/yui/articles/hosting/
    • closure tools ● closure templates ○ 小さなMVC ○ HTMLがそのままかける ○ 適度なロジック ○ soy → js
    • closure tools ● closure templates ● closure compiler
    • closure tools ● closure compiler ○ optimization level ■ SIMPLE_OPTIMIZATION var ■ ADVANCED_OPTIMIZATION
    • WYSIWYG● contenteditableとdocument.designMode● document.execCommand● キャレットと選択範囲● browserscope
    • compatibility view ● ドキュメントモードとブラウザモード(ie8) ● compatibility view list ○ kb978506とkb2447568
    • アプリケーションログ● クライアントサイド ○ スタックトレース● サーバーサイド ○ GAE ○ analytics