var record = '/record/' var hyperf = '/hyperf/' var laravel = '/laravel/' export default [ { // Hyperf text: 'Hyperf', collapsed: true, items: [ { text: '入口文件', link: hyperf + '入口文件' }, { text: '初始化依赖注入 (DI) 容器', link: hyperf + 'DI' }, { text: '初始化容器类', link: hyperf + 'container' }, { text: '启动服务', link: hyperf + '启动服务' }, { text: '接收请求', link: hyperf + '接收请求' }, { text: '响应', link: hyperf + '响应' }, { text: '附录1 container的get方法', link: hyperf + '附录1 container的get方法' }, { text: '附录2 注解命令获取', link: hyperf + '附录2 注解命令获取' }, { text: '附录3 命令注册Application', link: hyperf + '附录3 命令注册Application' }, { text: '附录4 Application Run方法', link: hyperf + '附录4 Application_Run' }, { text: '附录5 初始化中间件', link: hyperf + '附录5 初始化中间件' }, ] }, { // Laravel text: 'Laravel', collapsed: true, items: [ { text: 'laravel配置', link: laravel + 'laravel配置' }, { text: 'index入口文件', link: laravel + 'index入口文件' }, { text: '实现自动加载', link: laravel + '实现自动加载' }, { text: '实例化容器', link: laravel + '实例化容器' }, { text: '设置基础目录', link: laravel + '设置基础目录' }, { text: '注册基础绑定', link: laravel + '注册基础绑定' }, { text: '注册服务提供者', link: laravel + '注册服务提供者' }, { text: '注册核心别名类', link: laravel + '注册核心别名类' }, { text: '解析HTTP内核', link: laravel + '解析HTTP内核' }, { text: '处理请求', link: laravel + '处理请求' }, { text: '解析路由', link: laravel + '解析路由' }, { text: '容器类', link: laravel + '容器类' }, { text: '渲染页面', link: laravel + '渲染页面' }, { text: '终止', link: laravel + '终止' }, { text: '服务提供者', link: laravel + '服务提供者' }, { text: 'facades', link: laravel + 'facades' }, { text: '用户认证', link: laravel + 'auth' }, { text: 'Eloquent查询构造器_1', link: laravel + 'Eloquent查询构造器_1' }, { text: 'Eloquent查询构造器_2', link: laravel + 'Eloquent查询构造器_2' }, ] }, { text: '杂记', collapsed: true, items: [ { 'text': 'env文件读取', link: record + 'env文件读取' }, { 'text': '主题语法', link: record + '主题语法' }, { 'text': 'iStoreOS路由系统', link: record + 'iStoreOS路由系统' }, { 'text': 'NGINX-PROXY', link: record + 'NGINX-PROXY' } ] } ]