1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
-
Upload
bicol-itorg -
Category
Education
-
view
707 -
download
3
Transcript of 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
![Page 1: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/1.jpg)
Free Powerpoint TemplatesPage 1
Free Powerpoint Templates
Yii: PHP FrameworkBenedicto B. Balilo Jr.
BUCS AuditoriumSeptember 28, 2013
1:00 – 5:00pm
![Page 2: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/2.jpg)
Free Powerpoint TemplatesPage 2
![Page 3: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/3.jpg)
Free Powerpoint TemplatesPage 3
Notable Framework
for Java
•Apache Struts•JavaServer Faces•Jt Design Pattern Framework•Apache Wicket
for PHP
•CakePHP•Laravel•CodeIgniter•Symfony•Yii•Zend Framework
for Python
•Django•Flask•Pyjamas•web2py•Pylons•Turbogears •Twisted •Web.py •Pythonic•Zope•Pyroxide
for Ruby•Ruby on Rails•Ramaze
![Page 4: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/4.jpg)
Free Powerpoint TemplatesPage 4
high-performance PHP framework best for developing Web 2.0 applications.
Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.
Yii is pronounced as Yee or [ji:], and is an acroynym for "Yes It Is!".
![Page 5: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/5.jpg)
Free Powerpoint TemplatesPage 5
- the brainchild of Quiang Xue (founder)
- project started on January 1, 2008, in order to fix some drawbacks of the PRADO Framework
- October 2008, first alpha version of Yii was released.
- December 3, 2008, Yii 1.0 was formally released.
Yii History
![Page 6: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/6.jpg)
Free Powerpoint TemplatesPage 6
Yii Features• Model-View-Controller (MVC) design pattern
• Generation of complex WSDL service specifications and management of Web service request handling
• Internationalization and localization (I18N and L10N)
• Layered caching scheme
• Error handling and logging
• Security measures include cross-site scripting (XSS) prevention, cross-site request forgery (CSRF) prevention, cookie tampering prevention, etc.
![Page 7: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/7.jpg)
Free Powerpoint TemplatesPage 7
Yii Features
• Unit and functionality testing based on PHPUnit and Selenium
• Automatic code generation for the skeleton application, CRUD applications, etc
• Code generated by Yii components and command line tools complies to the XHTML standard
• Carefully designed to work well with third-party code. For example, it's possible to use code from PEAR or Zend Framework in a Yii application
![Page 8: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/8.jpg)
Free Powerpoint TemplatesPage 8
Three steps to build your application rapidly:
• You create the database;• Yii generates the base PHP code;• You customize the code to fit your exact needs.
![Page 9: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/9.jpg)
Free Powerpoint TemplatesPage 9
Yii MVC Architecture
![Page 10: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/10.jpg)
Free Powerpoint TemplatesPage 10
![Page 11: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/11.jpg)
Free Powerpoint TemplatesPage 11
• Download Yii framework, extract to any location• Copy framework file into your xampp folder• Set the PHP path to set path=“c:\xampp\htdocs\php”• run YIIC application e.g. yiic webapp ../htdocs/<webname>
Yii Installation
![Page 12: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/12.jpg)
Free Powerpoint TemplatesPage 12
![Page 13: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/13.jpg)
Free Powerpoint TemplatesPage 13
![Page 14: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/14.jpg)
Free Powerpoint TemplatesPage 14
GRUD Generator
password: abc
![Page 15: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/15.jpg)
Free Powerpoint TemplatesPage 15
GRUD Generator
![Page 16: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/16.jpg)
Free Powerpoint TemplatesPage 16
Bicol IT Yii Generator
Open NetBean 7.0, load bicolit as existing project
![Page 17: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/17.jpg)
Free Powerpoint TemplatesPage 17
![Page 18: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/18.jpg)
Free Powerpoint TemplatesPage 18
![Page 19: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/19.jpg)
Free Powerpoint TemplatesPage 19
Latest News
AUG 11, 2013. Yii 1.1.14 is releasedWe are very pleased to announce that Yii Framework version 1.1.14 is released. You can download it at yiiframework.com/download/.
JUL 23, 2013. Website deface detailsIt was recently announced that the Yii website was defaced, but until recently we were still investigating.
MAY 3, 2013. Yii 2 Public Preview AvailableWe are very pleased to announce that Yii 2 is now available for public preview at GitHub. This is a major milestone during the Yii 2 development which was started more than two years ago and has since undergone complete rewrite.
![Page 20: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/20.jpg)
Free Powerpoint TemplatesPage 20
Why go to Manila if you can build your CAREER here in Legazpi
Why do the hardcoding work if you can do that in Yii Framework
![Page 21: 1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.](https://reader033.fdocuments.us/reader033/viewer/2022052618/554f79ccb4c9052a518b4984/html5/thumbnails/21.jpg)
Free Powerpoint TemplatesPage 21
Thank you for listening
credit to Yii development team, Yii Framework Community