Upload
chang-yu-sheng
View
11
Download
0
Embed Size (px)
Citation preview
Laravel BePsvPT
2016/04/21
Basic Info
Began at April 2011
Open Source - https://github.com/composer/composer
Cross Platform
PHP 5.3.2
Project Basis
Basic Info
composer.json
composer.lock
Basic Usage
composer create-project package directory
composer install
composer update
composer require package
composer init
composer.lockcomposer.json
Laravel The PHP Framework For Web Artisans
Basic Info
Began at June 2011
Open Source and Cross Platform
PHP 5.5.9 ( 5.2 )
PHP 5.6 ( 5.3 )
Routing
Routing
http://www.ccu.edu.tw/show_news.php?id=3489
http://www.ccu.edu.tw/bulletin_list.php?type=1&page=2
http://www.ccu.edu.tw/bulletin_list.php?keyword=&year=2016&month=&before_after=0&bulletin_range=1&bulletin_type=0&dept=&submit=
Routing
http://www.ccu.edu.tw/news
http://www.ccu.edu.tw/news/255
http://www.ccu.edu.tw/news/255/edit
Routing
Routing
Routing
Controller
Controller
http://i2.wp.com/blog.epixhd.com/wp-content/uploads/2015/01/SoulPlane_AirTrafficController.gif
Controller
Controller
Eloquent ORM
Before Eloquent ORM
Create connection
Prepare SQL statement
Execute SQL statement
Eloquent ORM
Eloquent ORM
Eloquent ORM
Eloquent ORM
Eloquent ORM
Eloquent ORM
Eloquent ORM
Update
Destroy
Limit or Take
Security
Security
SQL Injection
XSS
CSRF
Miscellaneous
Most Popular Framework since 2013
http://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2013/12/chart1-1024x853.pnghttp://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2015/03/1427547421php_framework_popularity_at_work_-
_sitepoint2c_2015-1024x625.png
Most Popular Framework since 2013
http://www.google.com.tw/trends/explore?hl=zh-TW&q=laravel,+symfony,+nette,+codeigniter,+yii&date=1/2011+64m&cmpt=q&tz=Etc/GMT-8&tz=Etc/GMT-8&content=1
Performance
http://www.iceframework.org/doc/introduction/benchmark
Demo
Any Questions?
Reference
https://laravel.com
https://getcomposer.org
https://en.wikipedia.org/wiki/Composer_(software)
https://en.wikipedia.org/wiki/Laravel
Thanks