使⽤Laravel 8 PHP主流框架打造 RESTful API
RESTful 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 年前3Hello 算法 1.2.0 繁体中文 C# 版
Hello 演算法 C# 語言版 作者:靳宇棟(@krahets) 程式碼審閱:@hpstory Release 1.2.0 2024‑12‑06 序 兩年前,我在力扣上分享了“劍指 Offer”系列題解,受到了許多讀者的鼓勵與支持。在與讀者交流期間,我 最常被問到的一個問題是“如何入門演算法”。漸漸地,我對這個問題產生了濃厚的興趣。 兩眼一抹黑地刷題似乎是最受歡迎的方法,簡單、直接 ng、xBLACKICEx、IsChristina、JoseHung、qualifier1024、QiLOL、 pengchzn、Guanngxu、L‑Super、WSL0809、Slone123c、lhxsm、yuan0221、what‑is‑me、theNefelibatas、 longranger2、cy‑by‑side、xiongsp、JeffersonHuang、Transmigra 時間複雜度分析統計的不是演算法執行時間,而是演算法執行時間隨著資料量變大時的增長趨勢。 “時間增長趨勢”這個概念比較抽象,我們透過一個例子來加以理解。假設輸入資料大小為 ? ,給定三個演算 法 A、B 和 C : 第 2 章 複雜度分析 www.hello‑algo.com 29 // 演算法 A 的時間複雜度:常數階 void AlgorithmA(int n) { Console.WriteLine(0);0 码力 | 379 页 | 18.79 MB | 10 月前3Hello 算法 1.2.0 繁体中文 C++ 版
Hello 演算法 C++ 語言版 作者:靳宇棟(@krahets) 程式碼審閱:宮蘭景(@Gonglja) Release 1.2.0 2024‑12‑06 序 兩年前,我在力扣上分享了“劍指 Offer”系列題解,受到了許多讀者的鼓勵與支持。在與讀者交流期間,我 最常被問到的一個問題是“如何入門演算法”。漸漸地,我對這個問題產生了濃厚的興趣。 兩眼一抹黑地刷題似乎是最受歡迎的方法 ng、xBLACKICEx、IsChristina、JoseHung、qualifier1024、QiLOL、 pengchzn、Guanngxu、L‑Super、WSL0809、Slone123c、lhxsm、yuan0221、what‑is‑me、theNefelibatas、 longranger2、cy‑by‑side、xiongsp、JeffersonHuang、Transmigra 時間複雜度分析統計的不是演算法執行時間,而是演算法執行時間隨著資料量變大時的增長趨勢。 “時間增長趨勢”這個概念比較抽象,我們透過一個例子來加以理解。假設輸入資料大小為 ? ,給定三個演算 法 A、B 和 C : 第 2 章 複雜度分析 www.hello‑algo.com 29 // 演算法 A 的時間複雜度:常數階 void algorithm_A(int n) { cout << 0 << endl;0 码力 | 379 页 | 18.79 MB | 10 月前3Hello 算法 1.2.0 繁体中文 C语言 版
Hello 演算法 C 語言版 作者:靳宇棟(@krahets) 程式碼審閱:宮蘭景(@Gonglja) Release 1.2.0 2024‑12‑06 序 兩年前,我在力扣上分享了“劍指 Offer”系列題解,受到了許多讀者的鼓勵與支持。在與讀者交流期間,我 最常被問到的一個問題是“如何入門演算法”。漸漸地,我對這個問題產生了濃厚的興趣。 兩眼一抹黑地刷題似乎是最受歡迎的方法,簡 ng、xBLACKICEx、IsChristina、JoseHung、qualifier1024、QiLOL、 pengchzn、Guanngxu、L‑Super、WSL0809、Slone123c、lhxsm、yuan0221、what‑is‑me、theNefelibatas、 longranger2、cy‑by‑side、xiongsp、JeffersonHuang、Transmigra 記錄。需要注意的是,Python 中 range(a, b) 對應的區間是“左閉右開”的,對應的走訪範圍為 ?, ? + 1, … , ? − 1 : // === File: iteration.c === /* for 迴圈 */ int forLoop(int n) { int res = 0; // 迴圈求和 1, 2, ..., n-1, n for (int i = 1; i0 码力 | 392 页 | 18.83 MB | 10 月前3Julia 1.11.5 Documentation
. . . . . . . . 363 28 Calling C and Fortran Code 365 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 367 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 369 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
. . . . . . . . 363 28 Calling C and Fortran Code 365 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 367 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 369 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.4
. . . . . . . . 363 28 Calling C and Fortran Code 365 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 367 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 369 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
. . . . . . . . 367 28 Calling C and Fortran Code 368 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 370 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 372 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling0 码力 | 2058 页 | 7.45 MB | 3 月前3julia 1.12.0 beta1
. . . . . . . . 367 28 Calling C and Fortran Code 368 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 370 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 372 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling0 码力 | 2047 页 | 7.41 MB | 3 月前3Julia 1.12.0 RC1
. . . . . . . . 368 28 Calling C and Fortran Code 369 28.1 Creating C-Compatible Julia Function Pointers . . . . . . . . . . . . . . . . . . . . . 371 28.2 Mapping C Types to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . 373 28.3 Mapping C Functions to Julia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380 28.4 C Wrapper Examples . . . . . . . . . . . . . . . . . . 17 More About Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 28.18 C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 29 Handling0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 42 条
- 1
- 2
- 3
- 4
- 5