切换导航
🛠️ 开发工具箱
首页
时间戳转换
JSON格式化
Base64互转
API测试
PDF转Word
图片压缩
AI翻译
心得分享
心得分享
分享开发心得和技术经验
Python FastAPI框架从入门到实战
后端开发
2026-04-12 10:14
Python FastAPI框架从入门到实战 FastAPI是Python生态中增长最快的Web框架,它基于Python类型提示构建,提供了自动API文档生成、请求验证、异步支持等现代特性。FastAPI的性能与Node.js和Go相当,同时保持了Python的简洁优雅。本文将带你从零开始学习FastAPI,构建一个完整的RESTful API项目。 一、快速上手 pip install f...
Node.js事件循环与异步编程深度解析
后端开发
2026-04-06 02:07
Node.js事件循环与异步编程深度解析 Node.js的核心设计理念是单线程、非阻塞I/O,这一切都建立在事件循环(Event Loop)机制之上。深入理解事件循环的工作原理,对于编写高性能的Node.js应用至关重要。本文将从事件循环的底层机制出发,结合实际案例,帮你彻底掌握Node.js异步编程。 一、事件循环的六个阶段 Node.js的事件循环分为六个主要阶段,每个阶段都有一个先进先...
PHP8新特性全面解析与实战应用
后端开发
2026-04-04 10:07
PHP8新特性全面解析与实战应用 PHP8是PHP语言的重大里程碑版本,带来了许多令人兴奋的新特性、性能提升和语法改进。从JIT编译器到联合类型,从命名参数到Match表达式,PHP8让PHP编程变得更加现代和高效。本文将全面解析PHP8的核心新特性,并通过实际代码示例展示如何在项目中应用这些特性。 一、JIT编译器 PHP8引入了JIT(Just-In-Time)编译器,这是最底层的性能提...
ThinkPHP5框架学习笔记
后端开发
2026-03-25 23:10
ThinkPHP5框架学习笔记 ThinkPHP是国内使用最广泛的PHP框架之一,以其简洁的语法、丰富的功能和完善的文档深受开发者喜爱。ThinkPHP5是框架的一次重大升级,全面拥抱了PHP7的新特性,引入了更多现代化设计。本文将系统地介绍ThinkPHP5的核心概念和实战技巧。 一、MVC架构详解 ThinkPHP遵循MVC(Model-View-Controller)设计模式,将应用分...
RESTful API设计规范
后端开发
2026-03-21 23:10
RESTful API设计最佳实践与规范 RESTful API是现代Web服务架构中最流行的接口设计风格。一个设计良好的API不仅能提高前后端的协作效率,还能降低系统的维护成本。本文将从URL设计、HTTP方法、状态码、认证授权、版本控制等方面,系统地介绍RESTful API的设计规范和最佳实践。 一、URL设计规范 1. 使用名词而非动词 URL应该表示资源,而不是操作。HTTP方法...
文章分类
全部文章
前端开发
后端开发
DevOps运维
数据库技术
工具使用
编程思维
开发心得
基本
文件
流程
错误
SQL
调试
请求信息 : 2026-04-16 03:55:00 HTTP/2.0 GET : www.xpwl.work/index/article?category_id=16
运行时间 : 0.089462s [ 吞吐率:11.18req/s ] 内存消耗:3,689.70kb 文件加载:79
查询信息 : 7 queries 1 writes
缓存信息 : 1 reads,1 writes
配置加载 : 76
/www/wwwroot/www.xpwl.work/public/index.php ( 0.88 KB )
/www/wwwroot/www.xpwl.work/thinkphp/start.php ( 0.72 KB )
/www/wwwroot/www.xpwl.work/thinkphp/base.php ( 2.60 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Loader.php ( 21.07 KB )
/www/wwwroot/www.xpwl.work/vendor/composer/autoload_static.php ( 10.49 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/deprecation-contracts/function.php ( 0.98 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php80/bootstrap.php ( 1.50 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
/www/wwwroot/www.xpwl.work/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php73/bootstrap.php ( 0.99 KB )
/www/wwwroot/www.xpwl.work/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-helper/src/helper.php ( 2.88 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/common.php ( 15.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Route.php ( 60.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Config.php ( 6.38 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Hook.php ( 4.71 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Support/Helpers.php ( 2.54 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Helpers.php ( 1.89 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-captcha/src/helper.php ( 1.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Validate.php ( 42.78 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-queue/src/common.php ( 1.19 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Console.php ( 23.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Error.php ( 3.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/convention.php ( 10.37 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/App.php ( 21.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Request.php ( 49.78 KB )
/www/wwwroot/www.xpwl.work/application/config.php ( 12.00 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Env.php ( 1.21 KB )
/www/wwwroot/www.xpwl.work/application/database.php ( 2.17 KB )
/www/wwwroot/www.xpwl.work/application/extra/addons.php ( 0.19 KB )
/www/wwwroot/www.xpwl.work/application/extra/queue.php ( 0.55 KB )
/www/wwwroot/www.xpwl.work/application/extra/site.php ( 0.87 KB )
/www/wwwroot/www.xpwl.work/application/extra/upload.php ( 1.05 KB )
/www/wwwroot/www.xpwl.work/application/tags.php ( 1.23 KB )
/www/wwwroot/www.xpwl.work/application/common.php ( 15.57 KB )
/www/wwwroot/www.xpwl.work/thinkphp/helper.php ( 17.30 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Debug.php ( 7.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Log.php ( 6.05 KB )
/www/wwwroot/www.xpwl.work/addons/summernote/Summernote.php ( 1.42 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/Addons.php ( 7.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Cache.php ( 6.10 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/driver/File.php ( 7.27 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/Driver.php ( 5.98 KB )
/www/wwwroot/www.xpwl.work/application/common/behavior/Common.php ( 3.02 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Lang.php ( 7.42 KB )
/www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php ( 11.81 KB )
/www/wwwroot/www.xpwl.work/application/index/lang/zh-cn.php ( 10.79 KB )
/www/wwwroot/www.xpwl.work/extend/fast/Form.php ( 39.79 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Article.php ( 2.71 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Base.php ( 3.15 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Controller.php ( 6.07 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/traits/controller/Jump.php ( 4.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/View.php ( 6.77 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/view/driver/Think.php ( 5.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Template.php ( 44.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/template/driver/File.php ( 2.24 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Article.php ( 0.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Model.php ( 69.55 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Db.php ( 6.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/connector/Mysql.php ( 3.89 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Connection.php ( 29.97 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Query.php ( 93.80 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/builder/Mysql.php ( 4.53 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Builder.php ( 31.81 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/BelongsTo.php ( 7.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/OneToOne.php ( 10.03 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/Relation.php ( 3.61 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Category.php ( 0.14 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/paginator/driver/Bootstrap.php ( 5.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Paginator.php ( 9.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Expression.php ( 1.11 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Collection.php ( 11.10 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/ToolUsageStats.php ( 0.37 KB )
/www/wwwroot/www.xpwl.work/runtime/temp/f129fe533e1b896832fbaa77dcac8f47.php ( 10.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Url.php ( 12.72 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Response.php ( 8.28 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/debug/Html.php ( 4.17 KB )
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000143s ]
[ CACHE ] INIT File
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003406s ]
[ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001153s ]
[ LANG ] /www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000063s ]
[ ROUTE ] array ( 'type' => 'module', 'module' => array ( 0 => 'index', 1 => 'article', 2 => NULL, ), )
[ HEADER ] array ( 'accept-encoding' => 'gzip, br, zstd, deflate', 'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'accept' => '*/*', 'host' => 'www.xpwl.work', 'content-length' => '', 'content-type' => '', )
[ PARAM ] array ( 'category_id' => '16', )
[ LANG ] /www/wwwroot/www.xpwl.work/public/../application/index/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003426s ]
[ RUN ] app\index\controller\Article->index[ /www/wwwroot/www.xpwl.work/application/index/controller/Article.php ]
[ DB ] INIT mysql
[ VIEW ] /www/wwwroot/www.xpwl.work/public/../application/index/view/article/index.html [ array ( 0 => 'site', 1 => 'canonical_url', 2 => 'seo', 3 => 'list', 4 => 'categories', 5 => 'currentCategoryId', ) ]
0.090213s