使⽤Laravel 8
PHP主流框架打造
RESTful APIRESTful API ⾃我介紹 • 王盛立 • 出版過⼀本 使⽤Laravel 8 PHP主流框架打造RESTful API(iT邦幫忙鐵⼈賽系列書) • 浪浪的事 Side Project https://langlangthing.com/ 今⽇菜單 ⾃我介紹 RESTful API Laravel程式範例說明 延伸補充資料 前後端分離 WEB API RESTful RESTful API 是什麼 Representational state transfer (REST) 表現層狀態轉換 Client Server REQUEST RESPONSE GET https://localhost/api/v1/articles/1 HTTP STATUS : 200 OK HTTP 協定 HTTP VERBS. URL. HTTP STATUS. 14:07:22", "updated_at": "2021-09-08 14:07:22" } } 201 CREATED https://localhost/api/v1/articles Headers Headers Body Body REQUEST RESPONSE JSON Accept : application/json Content-Type0 码力 | 22 页 | 3.41 MB | 1 年前3
《Slides Dev Web》 09. Services Web
systèmes, langages, … – Solution : Protocole générique, abstraction différences – Exemples : RPC, RMI (java), CORBA, DCOM (MS) • Utiliser les technologies du web, comme HTTP et XML : – indépendantes de la distribuées3 pour l’entreprise – Mashups4 d’applications web (exemples5) – Applications Facebook, API Google6 – IFTTT7 • Consommer un service web ≠ Créer un service web SOAP • AVANT : Simple Object états suivants sont documentés dans la réponse () SOAP vs REST • webservice : exposer son API en REST ou SOAP ? • SOAP (WS-*) – hérité du monde de l’entreprise – plus de code pour manipuler la0 码力 | 6 页 | 47.90 KB | 1 年前3
CakePHP Cookbook Documentation 5.xLevels Logging Scopes Logging to Files Logging to Syslog Creating Log Engines Logging Formatters Log API Log Convenience Methods Logging Trait LogTrait Using Monolog Modelless Forms Form Creating a but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing community and gain instant fame and fortune. The API https://api.cakephp.org/ Straight to the point and straight from the core developers, the CakePHP API (Application Programming Interface) is the most0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620 Log API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing community and gain instant fame and fortune. The API https://api.cakephp.org/ Straight to the point and straight from the core developers, the CakePHP API (Application Programming Interface) is the most0 码力 | 848 页 | 2.53 MB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
tterns/book/ 15http://jstherightway.org/ 2 – Bookmarklets16, exemples17 – Requêtes HTTP (Fetch API, Xml Http Request) • Développement d’applications complètes, parfois offline • Langage de script généraliste généraliste (paquets npm) Caractéristiques du langage • Orienté Objet par prototype • Syntaxe proche de C, Java • Faiblement typé : – Pas de déclaration, type déterminé par la dernière affectation – Risque : typo depuis le parent Avec jQuery • Création et ajout : 33https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode 9 var noeud = $('Nouveau texte
'); // create node $("body").append(noeud);0 码力 | 10 页 | 91.95 KB | 1 年前3
CakePHP Cookbook 3.x
Streams Using the FileLog Adapter Logging to Syslog Writing to Logs Using Levels Logging Scopes Log API Convenience Methods Logging Trait Using Monolog Modelless Forms Creating a Form Setting Form Values Collections Making Collections Rewindable Cloning Collections Folder & File Basic Usage Folder API File API Hash Hash Path Syntax Expression Types Attribute Matching Types Http Client Doing Requests but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Levels Logging Scopes Logging to Files Logging to Syslog Creating Log Engines Logging Formatters Log API Log Convenience Methods Logging Trait LogTrait Using Monolog Modelless Forms Form Creating a Collections Making Collections Rewindable Cloning Collections Folder & File Basic Usage Folder API Folder File API File Hash Hash Hash Path Syntax Expression Types Attribute Matching Types Http Client but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747 Log API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863 Folder API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 864 File API . . . . . . . . . . . . . . . . . . . . but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 Log API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853 Folder API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854 File API . . . . . . . . . . . . . . . . . . . . but will remain longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
request cycle Benefits Where to Get Help The Official CakePHP website The Cookbook The Bakery The API The Test Cases The IRC channel Official CakePHP Forum Stackoverflow Where to get Help in your Language Element Caching Elements Requesting Elements from a Plugin 2.0 2.1 Creating your own view classes View API More about Views Themes Media Views JSON and XML views Helpers Models Understanding Models More ConsoleOptionParser from an array Getting help from shells Getting help as XML Routing in shells / CLI Shell API More topics Shell Helpers Running Shells as cronjobs Completion Shell Code Generation with Bake Schema0 码力 | 1096 页 | 958.62 KB | 1 年前3
共 83 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













