From 0066e95290981872f3e6ce28630f9c1c3c8c3edb Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 19 May 2013 14:57:00 -0400 Subject: [PATCH] renamed files. --- CHANGELOG.md | 7 +++++++ LICENSE.md | 32 ++++++++++++++++++++++++++++ README.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++ UPGRADE.md | 45 ++++++++++++++++++++++++++++++++++++++++ apps/bootstrap/LICENSE.md | 32 ++++++++++++++++++++++++++++ apps/bootstrap/README.md | 40 +++++++++++++++++++++++++++++++++++ apps/bootstrap/readme.md | 40 ----------------------------------- changelog.md | 7 ------- license.md | 32 ---------------------------- readme.md | 53 ----------------------------------------------- upgrade.md | 45 ---------------------------------------- 11 files changed, 209 insertions(+), 177 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 UPGRADE.md create mode 100644 apps/bootstrap/LICENSE.md create mode 100644 apps/bootstrap/README.md delete mode 100644 apps/bootstrap/readme.md delete mode 100644 changelog.md delete mode 100644 license.md delete mode 100644 readme.md delete mode 100644 upgrade.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..90e0268 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +Yii Framework 2 Change Log +========================== + +Version 2 +--------- + +- Initial release. \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..6edcc4f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,32 @@ +The Yii framework is free software. It is released under the terms of +the following BSD License. + +Copyright © 2008-2013 by Yii Software LLC (http://www.yiisoft.com) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Yii Software LLC nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..54bd499 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +Yii 2.0 Public Preview +====================== + +Thank you for choosing Yii - a high-performance component-based PHP framework. + +If you are looking for a production-ready PHP framework, please use +[Yii v1.1](https://github.com/yiisoft/yii). + +Yii 2.0 is still under heavy development. We may make significant changes +without prior notices. **Yii 2.0 is not ready for production use yet.** + +[![Build Status](https://secure.travis-ci.org/yiisoft/yii2.png)](http://travis-ci.org/yiisoft/yii2) + + +DIRECTORY STRUCTURE +------------------- + + apps/ ready-to-use Web apps built on Yii 2 + bootstrap/ a simple app supporting user login and contact page + build/ internally used build tools + docs/ documentation + yii/ framework source files + tests/ tests of the core framework code + + +REQUIREMENTS +------------ + +The minimum requirement by Yii is that your Web server supports PHP 5.3.?. + + +DOCUMENTATION +------------- + +For 1.1 users, you may refer to [Upgrading from Yii 1.1](docs/guide/upgrade-from-v1.md) +to have a general idea of what has changed in 2.0. + +We are writing more documentation to get you started and learn more in depth. + + +HOW TO PARTICIPATE +------------------ + +**Your participation to Yii 2 development is very welcome!** + +You may participate in the following ways: + +* [Report issues](https://github.com/yiisoft/yii2/issues) +* [Give us feedback or start a design discussion](http://www.yiiframework.com/forum/index.php/forum/42-design-discussions-for-yii-20/) +* Fix issues, develop features, write/polish documentation + - Before you start, please adopt an existing issue (labelled with "ready for adoption") or start a new one to avoid duplicated efforts. + - Please submit a merge request after you finish development. + diff --git a/UPGRADE.md b/UPGRADE.md new file mode 100644 index 0000000..470e375 --- /dev/null +++ b/UPGRADE.md @@ -0,0 +1,45 @@ +Upgrading Instructions for Yii Framework v2 +=========================================== + +!!!IMPORTANT!!! + +The following upgrading instructions are cumulative. That is, +if you want to upgrade from version A to version C and there is +version B between A and C, you need to following the instructions +for both A and B. + + +General upgrade instructions +---------------------------- + +- Make a backup. +- Clean up your 'assets' folder. +- Replace 'framework' dir with the new one or point Git to a fresh + release tag and checkout. +- Check if everything is OK, if not — revert to previous stable version and post + issues to [Yii issue tracker](https://github.com/yiisoft/yii2/issues). + + +Upgrading from v1.1.x +--------------------- + +- All framework classes are now namespaced, and the name prefix `C` is removed. + +- The format of path alias is changed to `@yii/base/Component`. + In 1.x, this would be `system.base.CComponent`. See guide for more details. + +- The root alias `@yii` now represents the framework installation directory. + In 1.x, this is named as `system`. We also removed `zii` root alias. + +- `Object` serves as the base class that supports properties. And `Component` extends + from `Object` and supports events and behaviors. Behaviors declared in + `Component::behaviors()` are attached on demand. + +- All collection classes are dropped in favor of SPL classes. + +- `CFormModel` is removed. Please use `yii\base\Model` instead. + +- `CDbCriteria` is replaced by `yii\db\Query` which includes methods for + building a query. `CDbCommandBuilder` is replaced by `yii\db\QueryBuilder` + which has cleaner and more complete support of query building capabilities. + diff --git a/apps/bootstrap/LICENSE.md b/apps/bootstrap/LICENSE.md new file mode 100644 index 0000000..6edcc4f --- /dev/null +++ b/apps/bootstrap/LICENSE.md @@ -0,0 +1,32 @@ +The Yii framework is free software. It is released under the terms of +the following BSD License. + +Copyright © 2008-2013 by Yii Software LLC (http://www.yiisoft.com) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Yii Software LLC nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/apps/bootstrap/README.md b/apps/bootstrap/README.md new file mode 100644 index 0000000..63c3f29 --- /dev/null +++ b/apps/bootstrap/README.md @@ -0,0 +1,40 @@ +Yii 2 Bootstrap Application +=========================== + +** NOTE ** Yii 2 and the relevant applications and extensions are still under heavy +development. We may make significant changes without prior notices. Please do not +use them for production. Please consider using [Yii v1.1](https://github.com/yiisoft/yii) +which is production ready. + + +Thank you for choosing Yii 2 - the new generation of high-performance PHP framework. + +The Yii 2 Bootstrap Application is a Web application template that you can easily customize +to fit for your needs. It is particularly suitable for small Websites which mainly contain +a few informational pages. + + +DIRECTORY STRUCTURE +------------------- + + commands/ contains console commands (controllers) + config/ contains application configurations + controllers/ contains Web controller classes + models/ contains model classes + runtime/ contains files generated during runtime + vendor/ contains dependent 3rd-party packages + views/ contains view files for the Web application + www/ contains the entry script and Web resources + + + +REQUIREMENTS +------------ + +The minimum requirement by Yii is that your Web server supports PHP 5.3.?. + + +INSTALLATION +------------ + + diff --git a/apps/bootstrap/readme.md b/apps/bootstrap/readme.md deleted file mode 100644 index 63c3f29..0000000 --- a/apps/bootstrap/readme.md +++ /dev/null @@ -1,40 +0,0 @@ -Yii 2 Bootstrap Application -=========================== - -** NOTE ** Yii 2 and the relevant applications and extensions are still under heavy -development. We may make significant changes without prior notices. Please do not -use them for production. Please consider using [Yii v1.1](https://github.com/yiisoft/yii) -which is production ready. - - -Thank you for choosing Yii 2 - the new generation of high-performance PHP framework. - -The Yii 2 Bootstrap Application is a Web application template that you can easily customize -to fit for your needs. It is particularly suitable for small Websites which mainly contain -a few informational pages. - - -DIRECTORY STRUCTURE -------------------- - - commands/ contains console commands (controllers) - config/ contains application configurations - controllers/ contains Web controller classes - models/ contains model classes - runtime/ contains files generated during runtime - vendor/ contains dependent 3rd-party packages - views/ contains view files for the Web application - www/ contains the entry script and Web resources - - - -REQUIREMENTS ------------- - -The minimum requirement by Yii is that your Web server supports PHP 5.3.?. - - -INSTALLATION ------------- - - diff --git a/changelog.md b/changelog.md deleted file mode 100644 index 90e0268..0000000 --- a/changelog.md +++ /dev/null @@ -1,7 +0,0 @@ -Yii Framework 2 Change Log -========================== - -Version 2 ---------- - -- Initial release. \ No newline at end of file diff --git a/license.md b/license.md deleted file mode 100644 index 92a3254..0000000 --- a/license.md +++ /dev/null @@ -1,32 +0,0 @@ -The Yii framework is free software. It is released under the terms of -the following BSD License. - -Copyright © 2008-2012 by Yii Software LLC (http://www.yiisoft.com) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of Yii Software LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/readme.md b/readme.md deleted file mode 100644 index 54bd499..0000000 --- a/readme.md +++ /dev/null @@ -1,53 +0,0 @@ -Yii 2.0 Public Preview -====================== - -Thank you for choosing Yii - a high-performance component-based PHP framework. - -If you are looking for a production-ready PHP framework, please use -[Yii v1.1](https://github.com/yiisoft/yii). - -Yii 2.0 is still under heavy development. We may make significant changes -without prior notices. **Yii 2.0 is not ready for production use yet.** - -[![Build Status](https://secure.travis-ci.org/yiisoft/yii2.png)](http://travis-ci.org/yiisoft/yii2) - - -DIRECTORY STRUCTURE -------------------- - - apps/ ready-to-use Web apps built on Yii 2 - bootstrap/ a simple app supporting user login and contact page - build/ internally used build tools - docs/ documentation - yii/ framework source files - tests/ tests of the core framework code - - -REQUIREMENTS ------------- - -The minimum requirement by Yii is that your Web server supports PHP 5.3.?. - - -DOCUMENTATION -------------- - -For 1.1 users, you may refer to [Upgrading from Yii 1.1](docs/guide/upgrade-from-v1.md) -to have a general idea of what has changed in 2.0. - -We are writing more documentation to get you started and learn more in depth. - - -HOW TO PARTICIPATE ------------------- - -**Your participation to Yii 2 development is very welcome!** - -You may participate in the following ways: - -* [Report issues](https://github.com/yiisoft/yii2/issues) -* [Give us feedback or start a design discussion](http://www.yiiframework.com/forum/index.php/forum/42-design-discussions-for-yii-20/) -* Fix issues, develop features, write/polish documentation - - Before you start, please adopt an existing issue (labelled with "ready for adoption") or start a new one to avoid duplicated efforts. - - Please submit a merge request after you finish development. - diff --git a/upgrade.md b/upgrade.md deleted file mode 100644 index 470e375..0000000 --- a/upgrade.md +++ /dev/null @@ -1,45 +0,0 @@ -Upgrading Instructions for Yii Framework v2 -=========================================== - -!!!IMPORTANT!!! - -The following upgrading instructions are cumulative. That is, -if you want to upgrade from version A to version C and there is -version B between A and C, you need to following the instructions -for both A and B. - - -General upgrade instructions ----------------------------- - -- Make a backup. -- Clean up your 'assets' folder. -- Replace 'framework' dir with the new one or point Git to a fresh - release tag and checkout. -- Check if everything is OK, if not — revert to previous stable version and post - issues to [Yii issue tracker](https://github.com/yiisoft/yii2/issues). - - -Upgrading from v1.1.x ---------------------- - -- All framework classes are now namespaced, and the name prefix `C` is removed. - -- The format of path alias is changed to `@yii/base/Component`. - In 1.x, this would be `system.base.CComponent`. See guide for more details. - -- The root alias `@yii` now represents the framework installation directory. - In 1.x, this is named as `system`. We also removed `zii` root alias. - -- `Object` serves as the base class that supports properties. And `Component` extends - from `Object` and supports events and behaviors. Behaviors declared in - `Component::behaviors()` are attached on demand. - -- All collection classes are dropped in favor of SPL classes. - -- `CFormModel` is removed. Please use `yii\base\Model` instead. - -- `CDbCriteria` is replaced by `yii\db\Query` which includes methods for - building a query. `CDbCommandBuilder` is replaced by `yii\db\QueryBuilder` - which has cleaner and more complete support of query building capabilities. -