Enviar búsqueda
Cargar
前后端mvc经验 - webrebuild 2011 session
•
7 recomendaciones
•
964 vistas
RANK LIU
Seguir
简单的介绍和讲解mvc以及自己经验过的传统前端与大前端的一些经验。
Leer menos
Leer más
Educación
Tecnología
Entretenimiento y humor
Denunciar
Compartir
Denunciar
Compartir
1 de 28
Descargar ahora
Descargar para leer sin conexión
Recomendados
AngularJS Directives
AngularJS Directives
Eyal Vardi
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
AngularJS Routing
AngularJS Routing
Eyal Vardi
AngularJS in 60ish Minutes
AngularJS in 60ish Minutes
Dan Wahlin
Built in filters
Built in filters
Brajesh Yadav
Building complex User Interfaces with Sitecore and React
Building complex User Interfaces with Sitecore and React
Jonne Kats
UI-Router
UI-Router
Loc Nguyen
Binding components, events + data sources in HTML + JS
Binding components, events + data sources in HTML + JS
Vladimir Dzhuvinov
Recomendados
AngularJS Directives
AngularJS Directives
Eyal Vardi
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
AngularJS Routing
AngularJS Routing
Eyal Vardi
AngularJS in 60ish Minutes
AngularJS in 60ish Minutes
Dan Wahlin
Built in filters
Built in filters
Brajesh Yadav
Building complex User Interfaces with Sitecore and React
Building complex User Interfaces with Sitecore and React
Jonne Kats
UI-Router
UI-Router
Loc Nguyen
Binding components, events + data sources in HTML + JS
Binding components, events + data sources in HTML + JS
Vladimir Dzhuvinov
Get AngularJS Started!
Get AngularJS Started!
Dzmitry Ivashutsin
Jqeury ajax plugins
Jqeury ajax plugins
Inbal Geffen
How routing works in angular js
How routing works in angular js
codeandyou forums
Filters in AngularJS
Filters in AngularJS
Brajesh Yadav
Controller in AngularJS
Controller in AngularJS
Brajesh Yadav
Анатолий Поляков - Drupal.ajax framework from a to z
Анатолий Поляков - Drupal.ajax framework from a to z
LEDC 2016
Web&java. jsp
Web&java. jsp
Asya Dudnik
React 101
React 101
Casear Chu
Data::FormValidator Simplified
Data::FormValidator Simplified
Fred Moyer
Working with Javascript in Rails
Working with Javascript in Rails
Seungkyun Nam
Architecture, Auth, and Routing with uiRouter
Architecture, Auth, and Routing with uiRouter
Christopher Caplinger
AngularJS Services
AngularJS Services
Eyal Vardi
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scope
Brajesh Yadav
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
AngulrJS Overview
AngulrJS Overview
Eyal Vardi
React & Redux
React & Redux
Federico Bond
07 Php Mysql Update Delete
07 Php Mysql Update Delete
Geshan Manandhar
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Chris Scott
Jquery
Jquery
baabtra.com - No. 1 supplier of quality freshers
06 Php Mysql Connect Query
06 Php Mysql Connect Query
Geshan Manandhar
Web 前端工程师与成长
Web 前端工程师与成长
RANK LIU
3 p strategy sems 10-v4
3 p strategy sems 10-v4
guestec6b92bb
Más contenido relacionado
La actualidad más candente
Get AngularJS Started!
Get AngularJS Started!
Dzmitry Ivashutsin
Jqeury ajax plugins
Jqeury ajax plugins
Inbal Geffen
How routing works in angular js
How routing works in angular js
codeandyou forums
Filters in AngularJS
Filters in AngularJS
Brajesh Yadav
Controller in AngularJS
Controller in AngularJS
Brajesh Yadav
Анатолий Поляков - Drupal.ajax framework from a to z
Анатолий Поляков - Drupal.ajax framework from a to z
LEDC 2016
Web&java. jsp
Web&java. jsp
Asya Dudnik
React 101
React 101
Casear Chu
Data::FormValidator Simplified
Data::FormValidator Simplified
Fred Moyer
Working with Javascript in Rails
Working with Javascript in Rails
Seungkyun Nam
Architecture, Auth, and Routing with uiRouter
Architecture, Auth, and Routing with uiRouter
Christopher Caplinger
AngularJS Services
AngularJS Services
Eyal Vardi
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scope
Brajesh Yadav
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
AngulrJS Overview
AngulrJS Overview
Eyal Vardi
React & Redux
React & Redux
Federico Bond
07 Php Mysql Update Delete
07 Php Mysql Update Delete
Geshan Manandhar
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Chris Scott
Jquery
Jquery
baabtra.com - No. 1 supplier of quality freshers
06 Php Mysql Connect Query
06 Php Mysql Connect Query
Geshan Manandhar
La actualidad más candente
(20)
Get AngularJS Started!
Get AngularJS Started!
Jqeury ajax plugins
Jqeury ajax plugins
How routing works in angular js
How routing works in angular js
Filters in AngularJS
Filters in AngularJS
Controller in AngularJS
Controller in AngularJS
Анатолий Поляков - Drupal.ajax framework from a to z
Анатолий Поляков - Drupal.ajax framework from a to z
Web&java. jsp
Web&java. jsp
React 101
React 101
Data::FormValidator Simplified
Data::FormValidator Simplified
Working with Javascript in Rails
Working with Javascript in Rails
Architecture, Auth, and Routing with uiRouter
Architecture, Auth, and Routing with uiRouter
AngularJS Services
AngularJS Services
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scope
AngularJS Compile Process
AngularJS Compile Process
AngulrJS Overview
AngulrJS Overview
React & Redux
React & Redux
07 Php Mysql Update Delete
07 Php Mysql Update Delete
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Jquery
Jquery
06 Php Mysql Connect Query
06 Php Mysql Connect Query
Destacado
Web 前端工程师与成长
Web 前端工程师与成长
RANK LIU
3 p strategy sems 10-v4
3 p strategy sems 10-v4
guestec6b92bb
η+τέχνη+τ..
η+τέχνη+τ..
bymafe
φουά γκρα
φουά γκρα
bymafe
Roots equations
Roots equations
oscar
Prism March 2011
Prism March 2011
afpizzitola
In Spirit and in Truth Diocese of Chichester
In Spirit and in Truth Diocese of Chichester
Katherine Lyddon
Asp.Net Core - Meetup BH
Asp.Net Core - Meetup BH
André Paulovich
My love
My love
bymafe
C/P/R Revives Your Magazine
C/P/R Revives Your Magazine
AURAS Design
F008
F008
bymafe
Roots equations
Roots equations
oscar
Virtualidad
Virtualidad
JuanKMillos
Turismo Emilia Romagna: un'APT alla scoperta del web sociale
Turismo Emilia Romagna: un'APT alla scoperta del web sociale
tagbologna lab
Good practice in church school partnerships Diocese of Bath and Wells
Good practice in church school partnerships Diocese of Bath and Wells
Katherine Lyddon
Greek management
Greek management
Katerina Papageorgiou
Twitter
Twitter
Cindy Kuhrasch
Ggdbo tag bolognacamp
Ggdbo tag bolognacamp
tagbologna lab
Powerpoint koe
Powerpoint koe
guest38eba36
Dramas for creation time
Dramas for creation time
Katherine Lyddon
Destacado
(20)
Web 前端工程师与成长
Web 前端工程师与成长
3 p strategy sems 10-v4
3 p strategy sems 10-v4
η+τέχνη+τ..
η+τέχνη+τ..
φουά γκρα
φουά γκρα
Roots equations
Roots equations
Prism March 2011
Prism March 2011
In Spirit and in Truth Diocese of Chichester
In Spirit and in Truth Diocese of Chichester
Asp.Net Core - Meetup BH
Asp.Net Core - Meetup BH
My love
My love
C/P/R Revives Your Magazine
C/P/R Revives Your Magazine
F008
F008
Roots equations
Roots equations
Virtualidad
Virtualidad
Turismo Emilia Romagna: un'APT alla scoperta del web sociale
Turismo Emilia Romagna: un'APT alla scoperta del web sociale
Good practice in church school partnerships Diocese of Bath and Wells
Good practice in church school partnerships Diocese of Bath and Wells
Greek management
Greek management
Twitter
Twitter
Ggdbo tag bolognacamp
Ggdbo tag bolognacamp
Powerpoint koe
Powerpoint koe
Dramas for creation time
Dramas for creation time
Similar a 前后端mvc经验 - webrebuild 2011 session
Doctrine For Beginners
Doctrine For Beginners
Jonathan Wage
Basics of AngularJS
Basics of AngularJS
Filip Janevski
Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8
Michelangelo van Dam
Yii Introduction
Yii Introduction
Jason Ragsdale
10 Things Every Plugin Developer Should Know (WordCamp Atlanta 2013)
10 Things Every Plugin Developer Should Know (WordCamp Atlanta 2013)
arcware
Rails is not just Ruby
Rails is not just Ruby
Marco Otte-Witte
Crafting beautiful software
Crafting beautiful software
Jorn Oomen
Zend framework service
Zend framework service
Michelangelo van Dam
Zend framework service
Zend framework service
Michelangelo van Dam
Web internship Yii Framework
Web internship Yii Framework
Noveo
Introduction to Zend Framework web services
Introduction to Zend Framework web services
Michelangelo van Dam
Bootstrat REST APIs with Laravel 5
Bootstrat REST APIs with Laravel 5
Elena Kolevska
深入淺出 MVC
深入淺出 MVC
Jace Ju
Bag Of Tricks From Iusethis
Bag Of Tricks From Iusethis
Marcus Ramberg
Becoming a better WordPress Developer
Becoming a better WordPress Developer
Joey Kudish
Symfony2 from the Trenches
Symfony2 from the Trenches
Jonathan Wage
jQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends Forever
stephskardal
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & Tricks
Hjörtur Hilmarsson
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Nicolás Bouhid
Symfony2 - from the trenches
Symfony2 - from the trenches
Lukas Smith
Similar a 前后端mvc经验 - webrebuild 2011 session
(20)
Doctrine For Beginners
Doctrine For Beginners
Basics of AngularJS
Basics of AngularJS
Unit testing after Zend Framework 1.8
Unit testing after Zend Framework 1.8
Yii Introduction
Yii Introduction
10 Things Every Plugin Developer Should Know (WordCamp Atlanta 2013)
10 Things Every Plugin Developer Should Know (WordCamp Atlanta 2013)
Rails is not just Ruby
Rails is not just Ruby
Crafting beautiful software
Crafting beautiful software
Zend framework service
Zend framework service
Zend framework service
Zend framework service
Web internship Yii Framework
Web internship Yii Framework
Introduction to Zend Framework web services
Introduction to Zend Framework web services
Bootstrat REST APIs with Laravel 5
Bootstrat REST APIs with Laravel 5
深入淺出 MVC
深入淺出 MVC
Bag Of Tricks From Iusethis
Bag Of Tricks From Iusethis
Becoming a better WordPress Developer
Becoming a better WordPress Developer
Symfony2 from the Trenches
Symfony2 from the Trenches
jQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends Forever
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & Tricks
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Symfony2 - from the trenches
Symfony2 - from the trenches
Último
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
Celine George
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
Jayanti Pande
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
Maksud Ahmed
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
Chameera Dedduwage
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
Disha Kariya
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Admir Softic
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
sanyamsingh5019
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
TechSoup
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
Janet Corral
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
AyushMahapatra5
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Steve Thomason
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
GeoBlogs
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
pragatimahajan3
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
agholdier
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Association for Project Management
Último
(20)
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
前后端mvc经验 - webrebuild 2011 session
1.
MVC
Enhance front end rank work @ youa WED team http://t.sina.com/rank
2.
We tell browsers what
to do.
3.
• • •
4.
• • •
5.
6.
7.
8.
• •
9.
MVC
http http
10.
C,V
11.
12.
final class YourActionController
extends BaseActionController { public function index() { $modal = $this->load(‘yourModel.php’); $data = $modal->getData(); $this->setView(‘test/index.tpl’, $data); } }
13.
•
View Controller • •
14.
• •big pipe •
mobile app • Controller
15.
16.
• •
1 • Controller
17.
18.
• • • •Controller •Model
controller
19.
<?php YourActionController extends BaseActionController
{ public function register() { $model = $this->load(‘account.model’); $username = $this->request(‘username’); $password = $this->request(‘password’); $model->register($username, $password); } }
20.
<?php YourActionController extends BaseActionController
{ public function register() { $model = $this->load(‘account.model’); $emailType = 1; $mobileType = 2; $type = $this->request(‘usertype’); if ($type==$emailType) { $model->register($username, $password, $type); } } } <?php YourModel extends BaseModel { const EMAIL_TYPE = 1; const MOBILE_TYPE = 2; public function register($username, $password, $type) {} }
21.
HTML
Javascript Smarty CSS MVC framework PHP log
22.
23.
•
V,C •
24.
25.
26.
27.
• • •
28.
thanks
Notas del editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Descargar ahora