《Slides Dev Web》02. Introduction aux frameworks PHP
Model View Controller – M : Accès aux données, logique métier – V : Templates des pages à générer – C : Orchestration, transfert des infos • Front Controller – Traitement et dispatch des requêtes grâce la page générée à partir de la vue, et c’est lui qui renvoie le HTML (objet Response) au client. Performance • Un framework web est lent : – Rendu d’une page nécéssite de traverser tout le code – Pour y en a-t-il tant? L’explication donnée par Joe Gregorio pour le langage Python9 est : « parce que c’est facile. » Dans les faits, cela montre également une maturité de la plateforme. There are people0 码力 | 24 页 | 1.03 MB | 1 年前3
The Definitive Guide to Yii 2.0Y i i 2 . 0 h t t p : / / w w w . y i i f r a m e w o r k . c o m / d o c / g u i d e Q i a n g X u e, A l ex a n d er M a k a r o v , C a r s t en B r a n d t , K l i m o v P a u l , a n d m a n y co T e r m s o f Y i i D o c u m e n t a t i o n . C o p y r i g h t 2 0 1 4 Y i i S o f t w a r e L L C . A l l R i g h t s R e s e r v e d . C o n t e n t s 1 I n t r o d u c t i o n 1 1 . 1 W h a t n g Y i i . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 2 . 3 R u n n i n g A p p l i c a t i o n s . . . . . . . . . . . . . . . . . . . . . . 2 3 2 . 4 S a y i n g H e l l o . . . . .0 码力 | 605 页 | 2.47 MB | 1 年前3
The Definitive Guide to Yii 1.0
1 . 0 Q i a ng X ue a nd X i a ng W e i Z huo C op y r i gh t 2008- 2009. Al l R i gh t s R e s e r v e d . C o n t e n t s C on t e n t s i L i c e n s e i x 1 G e t t i n g S t a r t e d 1 1. i s Yi i B e s t f or ? . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1. 3. 3 How i s Yi i C om p ar e d w i t h O t h e r F r am e w or k s ? . . . . . . . . . . . . 3 1. 4 I n s t al l at i . . . . . . . . . . . . . . . 4 1. 5 C r e at i n g F i r s t Yi i Ap p l i c at i on . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1. 5. 1 C on n e c t i n g t o D at ab as e . . . . . . .0 码力 | 164 页 | 1002.30 KB | 1 年前3
The Definitive Guide to Yii 1.1
1 . 1 Q i a ng X ue a nd X i a ng W e i Z huo C op y r i gh t 2008- 2009. Al l R i gh t s R e s e r v e d . C o n t e n t s C on t e n t s i L i c e n s e x i 1 G e t t i n g S t a r t e d 1 1. 1 C h an ge s R e l at e d w i t h M od e l S c e n ar i os . . . . . . . . . . . . . . . . . 3 1. 3. 2 C h an ge s R e l at e d w i t h E age r Load i n g f or R e l at i on al Ac t i v e R e c or d d . 4 1. 3. 3 C h an ge s R e l at e d w i t h T ab l e Al i as i n R e l at i on al Ac t i v e R e c or d . . . 4 1. 3. 4 C h an ge s R e l at e d w i t h T ab u l ar I n p u t . . . . . . . . . .0 码力 | 184 页 | 1.05 MB | 1 年前3
Yii 2.0 权威指南譩 譩 警 譲 譡 譭 譥 護 譯 譲 譫 謮 譣 譯 譭 謯 譤 譯 譣 謯 譧 譵 譩 譤 譥 Q i a n g X u e, A l ex a n d er M a k a r o v , C a r s t en B r a n d t , K l i m o v P a u l , a n d m a n y co n t r i b u t o r s f r o m t h e Y i ch i n a . co m , cu i l eo n , q i a n s en 1 3 8 6 , d eep zi y u , s h i - y a n g , i y u a n c, x i a o l i u s h i f u , j h q 0 1 1 3 , f u n s o n 8 6 , r i v er l et , a b r a h a m g r ey s 软 轮 輮 轃 软 轰 轹 轲 轩 轧 轨 轴 輲 輰 輱 輴 轙 轩 轩 轓 软 车 轴 轷 轡 轲 轥 轌 轌 轃 輮 轁 转 转 轒 轩 轧 轨 轴 轳 轒 轥 轳 轥 轲 轶 轥 轤 輮 C o n t e n t s 匱 介 介 介绍 绍 绍( ( (卉 卮 却 卲 卯 卤 卵 卣 却 卩 卯 卮 ) ) ) 匱 輱 輮 輱 轙 轩 轩 是什么 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮0 码力 | 537 页 | 4.66 MB | 1 年前3
The PHP Handbook
called a “scripting language” and it’s an interpreted language. If you’ve used compiled languages like C or Go or Swift, the main difference is that you don’t need to compile a PHP program before you run in hand). PHP is also loosely (weakly) typed. Compared to strongly typed languages like Swift, Go, C or Java, you don’t need to declare the types of your variables. Being interpreted and loosely/dynamically other hand, an interpreted language 7 has more flexibility. Fun fact: PHP is written, internally, in C, a compiled and statically typed language. In its nature, PHP is similar to JavaScript, another dynamically0 码力 | 97 页 | 8.78 MB | 1 年前3
CakePHP Cookbook Documentation 5.xorg/Composer-Setup.exe], then type the following line in your terminal from your installation directory (ie. C:\wamp\www\dev): composer self-update && composer create-project --prefer-dist cakephp/app:5.* cms org/Composer-Setup.exe], then type the following line in your terminal from your installation directory (ie. C:\wamp\www\dev): composer self-update && composer create-project --prefer-dist cakephp/app:5.* cms you have to go to php folder (by default) C:\wamp\bin\php\php{version}, copy all the files that looks like icu*.dll and paste them into the apache bin directory C:\wamp\bin\apache\apache{version}\bin. Then0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xWindows Installer21, then type the following line in your terminal from your installation directory (ie. C:\wamp\www\dev): composer self-update && composer create-project --prefer-dist cakephp/app:5.* cms Windows Installer40, then type the following line in your terminal from your installation directory (ie. C:\wamp\www\dev): composer self-update && composer create-project --prefer-dist cakephp/app:5.* cms you have to go to php folder (by default) C:\wamp\bin\php\php{version}, copy all the files that looks like icu*.dll and paste them into the apache bin directory C:\wamp\bin\apache\apache{version}\bin. Then0 码力 | 848 页 | 2.53 MB | 1 年前3
Falcon v3.0.0-b2 Documentationpresence of Cython and then compile (AKA cythonize) the Falcon framework with the system’s default C compiler. $ pip install cython $ pip install --no-build-isolation --no-binary :all: falcon Note that also see warnings about unused functions. You can work around these issues by setting additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0b2 $ export CFL came back in the Location header. Try executing the following: $ http localhost:8000/images/db79e518-c8d3-4a87-93fe-38b620f9d410.png In response, you should get a 404 Not Found. This is the default response0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationpresence of Cython and then compile (AKA cythonize) the Falcon framework with the system’s default C compiler. $ pip install cython $ pip install --no-build-isolation --no-binary :all: falcon Note that also see warnings about unused functions. You can work around these issues by setting additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0 $ export CFLAG came back in the Location header. Try executing the following: $ http localhost:8000/images/db79e518-c8d3-4a87-93fe-38b620f9d410.png In response, you should get a 404 Not Found. This is the default response0 码力 | 344 页 | 1.16 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













