CakePHP Cookbook 2.xrelease of 2.0 You can also clone the repository using git [https://git-scm.com/]: git clone -b 2.x git://github.com/cakephp/cakephp.git Regardless of how you downloaded it, place the code inside of require PDO. You should make sure you have the correct PDO extensions installed. Warning CakePHP 2.x is end-of-life and in maintenance mode (critical bugfixes only). As such, functionality added in PHP from GitHub by cloning the GitHub [https://github.com/cakephp/cakephp] repository: git clone -b 2.x git://github.com/cakephp/cakephp.git Permissions CakePHP uses the app/tmp directory for a number0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.xCakePHP Cookbook Documentation Release 2.x Cake Software Foundation Sep 10, 2023 Contents 1 Getting Started 1 Blog Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . the better: but fear not if you’re a procedural fan. 1 CakePHP Cookbook Documentation, Release 2.x 4. Finally, you’ll need a basic knowledge of the MVC programming pattern. A quick overview can be and download the latest release of 2.0 You can also clone the repository using git4: git clone -b 2.x git://github.com/cakephp/cakephp.git Regardless of how you downloaded it, place the code inside of0 码力 | 820 页 | 2.52 MB | 1 年前3
Apache Unomi 2.x - DocumentationAPACHE UNOMI 2.X - DOCUMENTATION Apache Software Foundation 1. WHAT’S NEW 1.1. WHAT’S NEW IN APACHE UNOMI 2.0 Apache Unomi 2 is a new release focused on improving core functionalities and robustness --data-raw '{ "itemId": "apache", "itemType": "scope" }' Is replaced by the following in Apache Unomi 2.x: If using the default Apache 1.x data model, our Unomi 2 migration process will handle the data model0 码力 | 117 页 | 4.78 MB | 1 年前3
ThinkJS 3.0 中文文档变得更加简 单、高效。从 3.0 开始,ThinkJS 基于 koa 2.x,完全兼容 koa 里的 middleware 等插件。 同时,ThinkJS 支持 Extend 和 Adapter 等方式,方便扩展框架里的各种功能。 特性 支持 Middleware、Extend、Adapter 等扩展方式 基于 Koa 2.x 开发 性能优异,单元测试覆盖程度高 内置自动编译、自动更新机制,方便开发环境快速开发 install -g think-cli 安装完成后,系统中会有 thinkjs 命令(可以通过 thinkjs -v 查看版本号)。如果找不到这个命 令,请确认环境变量是否正确。 如果是从 2.x 升级,需要将之前的命令删除,然后重新安装。 创建项目 执行 thinkjs new [project_name] 来创建项目,如: $ thinkjs new demo; $ cd demo; | | |--- css | | |--- img | | |--- js 升级指南 本文档为 2.x 升级到 3.x 的文档,由于本次升级接口改动较大,所以无法平滑升级。本文档更多的 是介绍接口变化指南。 核心变化 3.0 抛弃了已有的核心架构,基于 Koa 2.x 版本构建,兼容 Koa 里的所有功能。主要变化为: 之前的 http 对象改为 ctx 对象 执行完全改为调用 middleware0 码力 | 129 页 | 2.12 MB | 1 年前3
Egg & Node.js 从⼩⼯坊⾛向企业级开发EggJS / Scrat / Vue ▸ Follow me at : @atian25 @liuyong25 @liuyong25 @atian25 全景图 Koa 基于规范实现⼀一套框架 - Egg 基于上层框架开发的应⽤用 社区⽣生态 团队架构师 ⼀一线开发者 Node.js Plugin 插件⽣生态 适合特定团队业务场景的上层框架 跃,最能被前端接受的 Node.js Base on Koa [2/8] Base on Koa ▸ Koa based framework ▸ 当前解决异步编程最好的 Web 通⽤用框架,洋葱模型 ▸ 所有源代码 100% 掌握并且参与到核⼼心代码贡献 (@fengmk2 @dead_horse) Base on Koa ▸ 类似于 Connect 的定位,专注于 http lication 扩展。 ▸ 功能之间的顺序不不能简单的交给开发者,需要统⼀一编排,管理理。 ▸ 对于企业级应⽤用来说,还⽐比较基础,往往还需要⾮非常多的上层封装才能使⽤用。 WIKI:koa-vs-express.md Specification [3/8] 先思考⼏几个问题: 企业级开发中需要关注的有哪些点? ⽽而开发⼈人员和团队技术负责⼈人,关注点⼀一样么? 理理想的企业级0 码力 | 70 页 | 7.57 MB | 1 年前3
ThinkJS 2.0 Documentationsame time. ThinkJS provides us very simple methods to implement i18n and custom themes. Express and koa are simple frameworks, they all only provide the very basic functions. So for developing complex projects project’s complexity. Besides, no one can ensure all the third party plugins are safety and efficient. Koa 1.x solved asynchronous callbacks problem by using */yield feature. But the newer async/await feature Configurable routers Supports international and custom themes Comparing with other frameworks Express/Koa Sails Disadvantages You can read more about ES6/7 features here: learn-es2015 ECMAScript 6 Guide0 码力 | 141 页 | 1.61 MB | 1 年前3
ThinkJS 2.0 中文文档ThinkJS ������������������������ express/koa � 2 ��������������������������������������� ����������������������������������������������� ���������������������� koa 1.x �� ES6 �� */yield ������������ */yield �� ES6/7 ������������ JavaScript Promise��� learn-es2015 ������� ��������� �������� � express/koa �� � sails �� ThinkJS ��� ES6/7 ���� ECMAScript 6 �� � JavaScript ���� ES2015 �� ECMAScript 6 iconv-lite gm ���� npm run test-cov Bash ���� �� ���� ���� �� ���� ���� ���� thinkjs express koa sails node-inspector mocha istanbul muk pm2 nodemailer node-crontab Node.js ����������� callback0 码力 | 238 页 | 1.87 MB | 1 年前3
ThinkJS 2.1 Documentationsame time. ThinkJS provides us very simple methods to implement i18n and custom themes. Express and koa are simple frameworks, they all only provide the very basic functions. So for developing complex projects project’s complexity. Besides, no one can ensure all the third party plugins are safety and efficient. Koa 1.x solved asynchronous callbacks problem by using */yield feature. But the newer async/await feature Configurable Routers Supports international and custom themes Comparing With Other Frameworks Express/Koa Sails But Sails still uses callbacks in asynchronous code. That’s too hard to develop, and can’t0 码力 | 148 页 | 1.69 MB | 1 年前3
ThinkJS 2.2 Documentationsame time. ThinkJS provides us very simple methods to implement i18n and custom themes. Express and koa are simple frameworks, they all only provide the very basic functions. So for developing complex projects project’s complexity. Besides, no one can ensure all the third party plugins are safety and efficient. Koa 1.x solved asynchronous callbacks problem by using */yield feature. But the newer async/await feature Configurable Routers Supports international and custom themes Comparing With Other Frameworks Express/Koa Sails But Sails still uses callbacks in asynchronous code. That’s too hard to develop, and can’t0 码力 | 156 页 | 2.62 MB | 1 年前3
ThinkJS 2.2 中文文档使用很简单的方法就可以支持国际化和多主题等功能。 与其他框架的对比 与 express/koa 对比 express/koa 是 2 个比较简单的框架,框架本身提供的功能比较简单,项目中需要借助大量的第三 方插件才能完成项目的开发,所以灵活度比较高。但使用很多第三方组件一方面提高了项目的复 杂度,另一方面第三方插件质量参差不齐,也会带来内存泄漏等风险。 koa 1.x 使用 ES6 里的 */yield 解决了异步回调的问题,但 看性能。虽然 ThinkJS 更适合大型项 目,功能和复杂度远远超过 Express 和 Koa,但性能上并不比 Express 和 Koa 逊色多少,具体的测 试数据请见下图。 注 :以上数据使用分布式压力测试系统测试。 从上图中测试数据可以看到,虽然 ThinkJS 比 Express 和 Koa 性能要差一些,但差别并不大。 ThinkJS 和 Sails.js 都更符合大型项目,但 网络请求 superagent request 日志 log4js 日期处理 moment 编码转化 iconv-lite 图像处理 gm 框架 thinkjs express koa sails 调试 node-inspector 单元测试 mocha istanbul muk 服务管理 pm2 邮件 nodemailer 定时任务 node-crontab0 码力 | 277 页 | 3.61 MB | 1 年前3
共 641 条
- 1
- 2
- 3
- 4
- 5
- 6
- 65













