wave-framework/scaffolding-app
Composer 安装命令:
composer require wave-framework/scaffolding-app
包简介
An example application using the Wave Framework
README 文档
README
An example application to get started with the Wave framework.
To get started first install Composer
$ curl -s http://getcomposer.org/installer | php
Then create a new wave-framework/scaffolding-app project
The simplest thing to do is just clone the master branch, (dev-master), e.g.
$ composer.phar create-project wave-framework/scaffolding-app ./test dev-master
Then you can run a few of the setup scripts, but at the very minimum you need to generate the routes cache
$ cd test
$ ./vendor/bin/wave generate/routes
Regenerating Routes... done
$
You can also have a script populate the default database configuration by running
$ ./vendor/bin/wave install
Manually regenerating views can be done with
$ ./vendor/bin/wave generate/views
In development mode views are automatically regenerated when they change.
Apache configuration
Wave requires Apache mod_rewrite (or an equivilent that can transform each request into public/index.php).
A typical VirtualHost configuration might look something like this:
<VirtualHost *:80> ServerName wave-app.localhost DocumentRoot /var/www/wave-app/public <Directory /var/www/wave-app/public> # Rewrite directives are set in public/.htaccess. Move # them here if you prefer to leave AllowOverride None AllowOverride all </Directory> # Consolidate log files into the same directory the app logs # go into. ErrorLog /var/www/wave-app/logs/web_error.log CustomLog /var/www/wave-app/logs/web_access.log common </VirtualHost>
Once you have configured your Apache environment you should be able to browse to the application in your browser and be met with a welcome page (and an obligatory gold star).
wave-framework/scaffolding-app 适用场景与选型建议
wave-framework/scaffolding-app 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 51 次下载、GitHub Stars 达 0, 最近一次更新时间为 2012 年 12 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wave-framework/scaffolding-app 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wave-framework/scaffolding-app 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-12-14