チェンジセット 763
- コミット日時:
- 2008/07/03 18:03:35 (5 ヶ月前)
- ファイル:
-
- as3/GeniusFramework/Readme.txt (更新) (2 diffs)
- as3/GeniusFramework/app-template/html-template (追加)
- as3/GeniusFramework/app-template/html-template/AC_OETags.js (追加)
- as3/GeniusFramework/app-template/html-template/MouseWheelSupport.js (追加)
- as3/GeniusFramework/app-template/html-template/history (追加)
- as3/GeniusFramework/app-template/html-template/history/history.css (追加)
- as3/GeniusFramework/app-template/html-template/history/history.js (追加)
- as3/GeniusFramework/app-template/html-template/history/historyFrame.html (追加)
- as3/GeniusFramework/app-template/html-template/index.template.html (追加)
- as3/GeniusFramework/app-template/html-template/playerProductInstall.swf (追加)
- as3/GeniusFramework/app-template/script/generate.sh (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/GeniusFramework/Readme.txt
r623 r763 5 5 6 6 - Flex用のフレームワーク 7 - ビューはMXMLとASを完全に分離 8 - スケルトン作成コマンド 9 - 状態管理の仕組み 7 - ビュー層は The Flex Code-Behind Pattern(*1) を採用 (MXML と AS の分離) 8 - コントローラ層は Thread ライブラリ(*2)を採用 9 - スケルトン作成シェルコマンドコマンド付属 10 - BrowserManager と ViewStack を使った状態管理の仕組み(デフォルトはページ単位) 10 11 - Macの変速ホイールスクロールサポート 11 12 - 独自ビューコンポーネント 12 - イベントとコマンドの仕組み13 - コア部分はインターフェイスで構成14 - 各インターフェイスの雛形実装クラスを提供15 13 - 自由な拡張が可能 14 15 *1 The Flex Code-Behind Pattern 16 http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/ 17 18 *2 Thread ライブラリ 19 http://www.libspark.org/wiki/Thread 16 20 17 21 … … 20 24 コマンドを使うと簡単にプロジェクトのスケルトンを作ることが出来ます。 21 25 22 ./genius -p プロジェクト名 -n ネームスペース-o 出力先26 ./genius -p プロジェクト名 -n パッケージ -o 出力先 23 27 24 28 ex) ./genius -p Sample -n jp.seagirl.sample -o ~/Desktop as3/GeniusFramework/app-template/script/generate.sh
r623 r763 1 1 #!/bin/sh 2 2 3 type=' ';3 type='type'; 4 4 name=''; 5 path='./';5 output='./'; 6 6 7 while getopts "t:n: p:h" opt7 while getopts "t:n:o:h" opt 8 8 do 9 9 case $opt in 10 10 t ) type=$OPTARG;; 11 11 n ) name=$OPTARG;; 12 p ) path=$OPTARG;;12 o ) output=$OPTARG;; 13 13 h ) echo 'You can use options below. 14 14 -t type "Command" or "Model" or "View" 15 15 -n name ex) ThreePane 16 - p path (default value is "./")16 -o output 17 17 ';; 18 18 ? ) echo 'usage -h'; … … 21 21 done 22 22 23 echo このスクリプトはただいま開発中です。 23 # カレントディレクトリ 24 a=${0%/*}; 25 b=${a%/*}; 26 27 if [ $a != $b ] 28 then 29 current=$b/script; 30 else 31 current='.'; 32 fi 33 34 if [ $current != '.' ] 35 then 36 exit; 37 fi 38 39 if [ $type = 'type' ] 40 then 41 echo '"type" must be specified. use "-t"'; 42 exit; 43 elif [ $type = 'Model' ] 44 then 45 46 echo created ../src/jp/seagirl/sample/models/${name}Model.as; 47 elif [ $type = 'View' ] 48 then 49 echo 'View' $current; 50 else 51 echo 'type must be "Model" or "View".'; 52 exit; 53 fi 54 55 exit;
