《Slides Dev Web》02. Introduction aux frameworks PHP
nécéssite de traverser tout le code – Pour chaque requête toute l’appli est chargée – Plus de code qu’une appli standalone – Plus de requêtes • Solutions – Cache de pages, d’opcode – Jointures ORM, vues, procédures POO, PDO, JSON, … • PHP 6, Unicode , , • PHP 7, que du rêve! • PHP 8, JIT compilation, …11 Il y a plus de vingt ans, Rasmus Lerdorf bricola un outil pour savoir qui consultait son CV. Zend, c’est à dire un tas de modules est fourni avec pour faire de l’imagerie, des bases de données, du XML, etc. Et plus encore sur la page History of PHP12 et Wikipedia: PHP13. Les différentes moutures de PHP 7 offrent0 码力 | 24 页 | 1.03 MB | 1 年前3
《Slides Dev Web》 09. Services Web
de la plateforme • Recommandation du w3c depuis 2003 • SOAP = abus de langage, service web WS-* est plus exact • Spécifications WS-*8 : – spécifications liées aux différents aspects des services web – pour REST ou SOAP ? • SOAP (WS-*) – hérité du monde de l’entreprise – plus de code pour manipuler la requête et générer la réponse – plus flexible, extensible (namespace) – valider requêtes depuis WDSL – nécessité PHP) • REST – hérité du web – plus facile et rapide à utiliser – plus lisible et plus compact – maintenance plus facile – meilleure tolérance aux pannes Pour aller plus loin… • Références 16https://martinfowler0 码力 | 6 页 | 47.90 KB | 1 年前3
《Slides Dev Web》 01. Cours devweb
Product 9. 10. 11. 12. Rendu projet, Présentation • Il n’est pas interdit d’en ajouter Conseils • Le plus simple possible, pas trop de données • Application crédible (vraies données, cas réalistes) • Projet vous n’êtes pas l’auteur • Le déploiement est long : commencez tôt ! • Il est moins risqué travailler plus au début du projet qu’à la fin ! • Discutez ! Echangez ! Évaluation des projets • Note intermédiaire route, validation des entrées, contrôleur, vue – Application déployée avec tous les éléments cités plus haut testable et fonctionnel Évaluation des projets - suite • Note finale : – Code : 50% ∗ Absence0 码力 | 7 页 | 129.56 KB | 1 年前3
《Slides Dev Web》 03. Laravel
composants d’autres frameworks • Mai 2013 : version 4, utilise composer5 • Août 2014 : projet PHP le plus populaire6 sur github • Qui7 utilise Laravel ? • version 9 publiée 08.02.22, v10 : 07.02.23 1https://laravel – Mise en route plus rapide : pré-configuré – Environnement dédié au dev, identique pour chaque développeur • Cloud (koding.com, coder.com, repl.it, gitpod …) – Mise en route plus rapide : pré-configuré synchro disponibles Aide à la mise en place du dev env • Paquets AMP (WAMP, EasyPHP, …) • Pour aller plus vite : – Windows : Laragon24 – Laravel Valet pour Mac25, Ubuntu26, et WSL27 • Windows avec WSL0 码力 | 8 页 | 224.34 KB | 1 年前3
Falcon v2.0.0 Documentationcookie. (See also: RFC 6265, Section 4.1.2.3) • path (str) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If uri.decode(encoded_uri, unquote_plus=True) Decodes percent-encoded characters in a URI or query string. This function models the behavior of urllib.parse.unquote_plus, albeit in a faster, more straightforward encoded_uri (str) – An encoded URI (full or partial). Keyword Arguments unquote_plus (bool) – Set to False to retain any plus (‘+’) characters in the given string, rather than converting them to spaces (default0 码力 | 184 页 | 671.87 KB | 1 年前3
Falcon v3.0.0-b1 Documentation(str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.0.0 Documentation(str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentation(str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentation(str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If (str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v2.0.0 Documentation(str [https://docs.python.org/3/library/stdtypes.html#str]) – Scopes the cookie to the given path plus any subdirectories under that path (the “/” character is interpreted as a directory separator). If uri.decode(encoded_uri, unquote_plus=True) Decodes percent-encoded characters in a URI or query string. This function models the behavior of urllib.parse.unquote_plus, albeit in a faster, more straightforward html#str]) – An encoded URI (full or partial). unquote_plus (bool [https://docs.python.org/3/library/functions.html#bool]) – Set to False to retain any plus (‘+’) characters in the given string, rather than0 码力 | 265 页 | 299.57 KB | 1 年前3
共 56 条
- 1
- 2
- 3
- 4
- 5
- 6













