You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: 001-yii-values.md
+18-16
Original file line number
Diff line number
Diff line change
@@ -2,48 +2,50 @@
2
2
3
3
## Goal
4
4
5
-
The Yii project aims to build and maintain_practical_ and _helpful_ tools and community.
5
+
The Yii project aims to build and support_practical_ and _helpful_ tools and community.
6
6
7
7
## Values
8
8
9
9
The values we express in our work support the goal. We try to
10
10
11
-
- Be Practical
12
-
-[High Performance](#high-performance)
13
-
-[Sensible Defaults and Flexibility](#sensible-defaults-and-flexibility)
11
+
- Be practical
12
+
-[High performance](#high-performance)
13
+
-[Sensible defaults and flexibility](#sensible-defaults-and-flexibility)
14
14
-[Be practice-oriented](#be-practice-oriented)
15
-
- Be Helpful
15
+
- Be helpful
16
16
-[Be simple](#be-simple)
17
17
-[Be explicit](#be-explicit)
18
18
-[Be consistent](#be-consistent)
19
19
20
-
## Be Practical
20
+
## Be practical
21
21
22
-
### High Performance
22
+
### High performance
23
23
24
-
Performance is a necessary condition of practicality. Software should not waste machine or human resources.
24
+
Performance is a necessary condition of practicality. Software shouldn't waste machine resources or human resources.
25
25
26
-
### Sensible Defaults and Flexibility
26
+
### Sensible defaults and flexibility
27
27
28
-
We prefer sensible defaults and conventions that users can customize. We seek a balance between flexibility, discipline and simplicity that meets common needs.
28
+
We prefer sensible defaults and conventions that users can customize.
29
+
We seek a balance between flexibility, discipline and simplicity that meets common needs.
29
30
30
31
### Be practice-oriented
31
32
32
-
We prefer practice over theory. For example:
33
+
We prefer practice to theory. For example:
33
34
34
35
- Solutions for known use cases should avoid excess complexity by providing only needed flexibility.
35
36
- Standard implementations should take practical use into account.
36
37
- Experience is at least as useful as theory in guiding design.
37
38
- Context is critical in determining appropriateness.
38
39
39
-
## Be Helpful
40
+
## Be helpful
40
41
41
-
This value guides technical decisions as well as community activity. Consideration of how software features help users should guide development. Community-wise, we value any helpful contribution, be it a
42
-
pull request or an answer in the forum.
42
+
This value guides technical decisions as well as community activity.
43
+
Consideration of how software features help users should guide development.
44
+
Community-wise, we value any helpful contribution, be it a pull request or an answer in the forum.
43
45
44
-
When the other principles could conflict, we choose a solution that is more helpful to the community.
46
+
When the other principles could conflict, we choose a solution that's more helpful to the community.
Copy file name to clipboardexpand all lines: 005-development-tool.md
+7-10
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# 005 - Yii Development Tool
1
+
# 005 - Yii development tool
2
2
3
-
For Yii 3 the number of packages increased significantly in order to achieve more reusability and independent releases.
4
-
In order to ease development of the framework itself we have created a special tool available from [yiisoft/yii-dev-tool](https://github.com/yiisoft/yii-dev-tool).
3
+
For Yii 3 the number of packages increased significantly to achieve more reusability and independent releases.
4
+
To ease development of the framework itself we've created a special tool available from [yiisoft/yii-dev-tool](https://github.com/yiisoft/yii-dev-tool).
5
5
6
6
```
7
7
$ ./yii-dev
@@ -31,17 +31,14 @@ Available commands:
31
31
update Update packages
32
32
```
33
33
34
-
There are multiple commands available. The most important ones are `install` and `update`. What it does is:
34
+
There are many commands available. The most important ones are `install` and `update`. What it does is:
35
35
36
36
1. Install/update all packages listed in [`packages.php`](https://github.com/yiisoft/yii-dev-tool/blob/master/packages.php)
37
37
or individual package from that list if specified.
38
-
2. For every packages installed check `vendor` directory for packages listed in `packages.php`. If there are any,
39
-
replace package directory with a symlink to another package source.
38
+
2. For every package installed check `vendor` directory for packages listed in `packages.php`.
39
+
If there is any, replace package directory with a symlink to another package source.
40
40
41
-
As a result you will have multiple packages using each other so there is no need to `git push` and `composer install` / `composer update`
41
+
As a result you will have many packages using each other, so there is no need to `git push` and `composer install` / `composer update`
42
42
during development.
43
43
44
44
A [detailed example](https://github.com/yiisoft/yii-dev-tool#usage-example) of using the tool is available in its README.
45
-
46
-
> Note: In case you are using PhpStorm you have to add `yiisoft` exclusion pattern in "Settings → Directories → Exclude Files".
0 commit comments