Your SlideShare is downloading. ×
0
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Yii c orange エンジニア勉強会20140129
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Yii c orange エンジニア勉強会20140129

235

Published on

1月29日に開催されたエスキュービズムエンジニア勉強会の資料です。

1月29日に開催されたエスキュービズムエンジニア勉強会の資料です。

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
235
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Yii-C Orange
  • 2. EC Orange An Enterprise E-Commerce Package Developed Since 2007 (Now 2014)
  • 3. Rapid progress in Web technology in recent years MVC-Frameworks CSS-Frameworks JS-Frameworks etc...
  • 4. Time to shift from Legacy to Modern
  • 5. Introduce a new modern web framework http://www.yiiframework.com/
  • 6. Requirements for the shift
  • 7. Portability require_once(‘path/to/yii.php’); Yii::createWebApplication(‘path/to/main.php’); The magic begins.
  • 8. Modularity if (Yii::app()->hasModule(‘mymodule’)) { Yii::app()->getModule(‘mymodule’); … }
  • 9. Advanced Active Record $posts = Post::model()->published()->recently()->findAll(); $posts = Post::model() ->with(array(‘comments’=>array(‘together’=>false))) ->findAll();
  • 10. Database Migration public function safeUp() { $this->addColumn(‘tbl_xxx ‘, ‘yyy’, ‘TEXT ‘); } public function safeDown() { $this->dropColumn(‘tbl_xxx ‘, ‘yyy’, ); }
  • 11. UnitTest With Fixtures class TblXxx extends CDbTestCase { public $fixtures = array( ‘tbl_xxx’=>’TblXxx’, ); public function testYyy() { ... } }
  • 12. Extensions with Organized Platform http://www.yiiframework.com/
  • 13. Pluggable UI Widgets <?php $this->widget(‘zii.widgets.grid.CGridView’, array( ‘dataProvider’=>$dataProvider)); ?> http://www.yiiframework.com/
  • 14. Customizable Code Generator http://www.yiiframework.com/
  • 15. i18n support Yii::t(‘Xyz.categoryName’, ‘message to be translated’)
  • 16. Read the code and documentation !!
  • 17. Thank you

×