使⽤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
Laravel 5.0 Documentation
iv. Deferred Providers ii. Service Container i. Introduction ii. Basic Usage iii. Binding Interfaces To Implementations iv. Contextual Binding v. Tagging vi. Practical Applications vii. Container components implement interfaces which are located in the illuminate/contracts repository. This repository has no external dependencies. Having a convenient, centrally located set of interfaces you may use for integration with local, Amazon S3, and Rackspace cloud storage - all with one, unified and elegant API! Storing a file in Amazon S3 is now as simple as: Storage::put('file.txt', 'contents'); For more0 码力 | 242 页 | 1.44 MB | 1 年前3
CmlPHP v2.x 开发手册
1.6.17.2 1.6.18 1.6.19 1.6.20 1.6.21 1.6.22 1.6.23 注意事项 同时查询多个库 模型-MongoDB Orm详细Api 服务 视图 统一的API Html模板引擎 Blade模板引擎 锁-并发处理 缓存 语言包 日志 调试 Session自定义保存位置 框架自带的扩展包 插件 使用说明 系统挂载点 常用常量 x开发手册 本教程是针对CmlPHP开发框架的V2.x系列版本的开发使用教程。 本教程离线版下载:pdf、mobi、epub CmlPHP主页:cmlphp.com CmlPHP v2.x Api手册:api.cmlphp.com CmlPHP简介 CmlPHP是基于php5.3+(v2.7开始要求php5.4+)版本开发的 MVC/HMVC/MVSC/HMVSC框架,支持composer、分布式数据库、分 pc等缓存, 支持多种url模式、URL路由[RESTful],支持多项目集成、第三方扩 展、支持插件。 CmlPHP在Model层做了缓存集成,开发者无需关注数据缓存的问题, 按照相应的API调用即可获得最大性能。从而从根本上避免了新手未 使用缓存,或缓存使用不当造成的性能不佳的问题。也杜绝了多人协 同开发缓存同步及管理的问题 CmlPHP支持根目录、子目录,单入口、多入口部署、支持独立服务0 码力 | 245 页 | 720.67 KB | 1 年前3
CmlPHP v2.x 开发手册
6.15.7 16. 同时查询多个库 1.6.6.16 7. 模型-MongoDB 1.6.7 1. Orm详细Api 1.6.7.1 8. 服务 1.6.8 9. 视图 1.6.9 1. 统一的API 1.6.9.1 2. Html模板引擎 1.6.9.2 3. Blade模板引擎 1.6.9.3 10. 锁-并发处理 x开发手册 本教程是针对CmlPHP开发框架的V2.x系列版本的开发使用教程。 本教程离线版下载:pdf、mobi、epub CmlPHP主页:cmlphp.com CmlPHP v2.x Api手册:api.cmlphp.com CmlPHP简介 CmlPHP是基于php5.3+(v2.7开始要求php5.4+)版本开发的MVC/HMVC/MVSC/HMVSC 框架,支持composer、分 memcache、redis、apc等缓存,支持多种url模式、URL路由[RESTful],支持多项目集 成、第三方扩展、支持插件。 CmlPHP在Model层做了缓存集成,开发者无需关注数据缓存的问题,按照相应的API调 用即可获得最大性能。从而从根本上避免了新手未使用缓存,或缓存使用不当造成的 性能不佳的问题。也杜绝了多人协同开发缓存同步及管理的问题 CmlPHP支持根目录、子目录,单入口、多入口部署、支持独立服务器、虚拟主机、0 码力 | 251 页 | 973.37 KB | 1 年前3
CmlPHP v2.x 开发手册
快捷方法 通过某字段值获取数据 添加数据 通过某字段值更新数据 通过字段值删除数据 获取总数 获取列表 注意事项 同时查询多个库 模型-MongoDB Orm详细Api 服务 视图 统一的API Html模板引擎 Blade模板引擎 锁-并发处理 缓存 语言包 日志 调试 Session自定义保存位置 框架自带的扩展包 插件 使用说明 系统挂载点 常用常量 x开发手册 本教程是针对CmlPHP开发框架的V2.x系列版本的开发使用教程。 本教程离线版下载:pdf、mobi、epub CmlPHP主页:cmlphp.com CmlPHP v2.x Api手册:api.cmlphp.com 4 CmlPHP简介 CmlPHP是基于php5.3+(v2.7开始要求php5.4+)版本开发的MVC/HMVC/MVSC/HMVSC框架,支持 compos is、apc等缓存, 支持多种url模式、URL路由[RESTful],支持多项目集成、第三方扩展、支持插件。 CmlPHP在Model层做了缓存集成,开发者无需关注数据缓存的问题,按照相应的API调用即可获得最大 性能。从而从根本上避免了新手未使用缓存,或缓存使用不当造成的性能不佳的问题。也杜绝了多人 协同开发缓存同步及管理的问题 CmlPHP支持根目录、子目录,单入口、多入口部署、支0 码力 | 143 页 | 1.54 MB | 1 年前3
Falcon v3.0.1 Documentationreliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, reliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, large-scale deployments. Flexible. Falcon leaves a lot of decisions and i`mplementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0 Documentationreliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, reliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, large-scale deployments. Flexible. Falcon leaves a lot of decisions and i`mplementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 344 页 | 1.16 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
Falcon v3.1.1-b3 Documentationreliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, reliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationreliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, reliance on magic globals for routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
共 78 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













