《Slides Dev Web》02. Introduction aux frameworks PHP
sûr et efficace • Facilite les tests et la gestion de projets complexes • Utilisation de Design Patterns dès que possible • Comportement par défaut • Extensible • Principe d’inversion de contrôle Différences amework-and-a-library 3http://www.artima.com/forums/flat.jsp?forum=106&thread=152104 1 Design Patterns et webdev • Inversion de contrôle (IoC4) • Model View Controller – M : Accès aux données, logique URL, …) • Object Relational Mapping5 – Active Record, Table Data Gateway, Data Mapper, … • UI Patterns6 MVC for webdev Conventions • Nommage – Classes – Base de données – Fichiers et dossiers •0 码力 | 24 页 | 1.03 MB | 1 年前3
Falcon v3.0.0-b1 Documentationsupport as a separate service due to very different performance characteristics and interaction patterns, compared to a regular RESTful API. In addition to (obviously!) Falcon’s native ASGI support, a html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.0.0 Documentationsupport as a separate service due to very different performance characteristics and interaction patterns, compared to a regular RESTful API. In addition to (obviously!) Falcon’s native ASGI support, a html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationsupport as a separate service due to very different performance characteristics and interaction patterns, compared to a regular RESTful API. In addition to (obviously!) Falcon’s native ASGI support, a html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationsupport as a separate service due to very different performance characteristics and interaction patterns, compared to a regular RESTful API. In addition to (obviously!) Falcon’s native ASGI support, a html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v0.2.0 Documentationuri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered (see also add_sink). resource (instance) – Object which represents a REST Care must be taken to ensure the template does not mask any sink patterns, if any are registered (see also `add_sink`). resource (instance): Object which represents field names fields = set(re.findall(expression_pattern, template)) # Convert Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template)0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v1.0.0 Documentationuri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered (see also add_sink). resource (instance) – Object which represents a REST Care must be taken to ensure the template does not mask any sink patterns, if any are registered (see also `add_sink`). resource (instance): Object which represents field names fields = set(re.findall(expression_pattern, template)) # Convert Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template)0 码力 | 249 页 | 406.22 KB | 1 年前3
CakePHP Cookbook 3.x
objects in-place are now deprecated, and superseded by methods that follow the immutable object patterns described in the PSR-7 standard. Several properties on Cake\Network\Request have been deprecated: deprecated and made obsolete by the PSR- 7 HTTP stack. With responses heading towards immutable object patterns as recommended by the PSR-7 standards, a number of ‘helper’ methods in Response have been deprecated while migrating from a CakePHP 2.x application, you can instead use the InflectedRoute class. Note Patterns used for route elements must not contain any capturing groups. If they do, Router will not function0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
objects in-place are now deprecated, and superseded by methods that follow the immutable object patterns described in the PSR-7 standard. Several properties on Cake\Network\Request have been deprecated: deprecated and made obsolete by the PSR-7 HTTP stack. With responses heading towards immutable object patterns as recommended by the PSR-7 standards, a number of ‘helper’ methods in Response have been deprecated while migrating from a CakePHP 2.x application, you can instead use the InflectedRoute class. Note: Patterns used for route elements must not contain any capturing groups. If they do, Router will not function0 码力 | 967 页 | 2.80 MB | 1 年前3
Falcon v3.1.1 Documentationmore, even if we could implement a flexible router that was capable of matching these complex URI patterns, the app would still not be able to distinguish between /cache/http%3A%2F%2Ffalconframework.org%2Fstatus support as a separate service due to very different performance characteristics and interaction patterns, compared to a regular RESTful API. In addition to (obviously!) Falcon’s native ASGI support, a html#str]) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns, if any are registered. (See also: add_sink()) Warning If strip_url_path_trailing_slash is enabled0 码力 | 540 页 | 476.60 KB | 1 年前3
共 57 条
- 1
- 2
- 3
- 4
- 5
- 6













