使⽤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
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
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 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 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 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
《Slides Dev Web》 12. Risques applicatifs
Utiliser la 2FA • Plusieurs tentatives pour s’en affranchir : – Microsoft22, passwordless23 authentication – 2022 : Passkeys : JS API WebAuthN24 + CTAP/U2F25 Passkeys26 • Paire de clés asymétriques biométrie • Communication : – User Agent <=> Authenticator : CTAP / U2F – User Agent <=> Relying Party : API JS WebAuthn28 7 Figure 2: Architecture 8 Figure 3: Reg 9 Passkeys : Acteurs29 Passkeys : Enregistrement30 uk/guidance/password-guidance-simplifying-your-approach 22https://www.microsoft.com/security/blog/2021/09/15/the-passwordless-future-is-here-for-your-microsoft- account/ 23https://hacks.mozilla.org/2014/10/password0 码力 | 12 页 | 474.37 KB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
images/cookies (ex: GIF9) – Applets, Flash, ActiveX, … – XHR : XML HTTP Request (IE5, 1999 pour OWA) – Fetch API • Pas obligatoire d’avoir du JS, XML ni d’être asynchrone ! AJAX • XHR est devenue la méthode standard autocompletion – Validation avec interrogation du serveur – … L’objet XMLHttpRequest • Initiative de Microsoft – Composant ActiveX de IE5 – Adopté par Mozilla 1.0 et Safari 1.2 – Standardisation W3C en cours var xhr; function createXMLHttpRequest() { if (window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } } • Dans son contexte110 码力 | 11 页 | 91.09 KB | 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
共 79 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













