|
1 | 1 | # Doctrine 2 plugin for Zend Server Z-Ray
|
2 | 2 |
|
3 |
| -> Displays information about your Doctrine entities |
| 3 | +> Displays information about your Doctrine 2 entities |
4 | 4 |
|
5 |
| -> Displays information about your Doctrine queries |
| 5 | +> Displays information about your Doctrine 2 queries |
| 6 | +
|
| 7 | +> Displays information about your Doctrine 2 caches |
6 | 8 |
|
7 | 9 | This is a plugin to add functionality to the Zend Server Z-Ray. It will result in additional tab(s) to be presented in the browser.
|
8 | 10 |
|
9 |
| - * **Every change is tracked**. Want to know whats new? Take a look at [CHANGELOG.md](CHANGELOG.md) |
10 |
| - * **Listen to your ideas.** Have a great idea? Bring your pull request or open a new issue. See [CONTRIBUTING.md](CONTRIBUTING.md) |
| 11 | + * **Every change is tracked** Want to know whats new? Take a look at [CHANGELOG.md](CHANGELOG.md) |
| 12 | + * **Listen to your ideas** Have a great idea? Bring your pull request or open a new issue. See [CONTRIBUTING.md](CONTRIBUTING.md) |
| 13 | + * **Looking for a demo** You can use the [Demo Project](https://github.com/sandrokeil/Z-Ray-Doctrine2-Demo) to try out the Doctrine 2 Z-Ray plugin |
11 | 14 |
|
12 | 15 | ## Installation
|
| 16 | +Simply install the Doctrine 2 Z-Ray plugin via the Zend Server plugin gallery. |
13 | 17 |
|
14 |
| -- Copy the content of `zray` directory to |
15 |
| - |
16 |
| -``` |
17 |
| - /usr/local/zend/var/zray/extensions/Doctrine2 |
18 |
| -``` |
19 |
| - |
20 |
| -Or equivalent install location on Windows. The `Doctrine2` directory on the server should look like this: |
21 |
| - |
22 |
| -``` |
23 |
| -DoctrineOrm.php |
24 |
| -logo.png |
25 |
| -zray.php |
26 |
| -``` |
| 18 | + |
27 | 19 |
|
28 | 20 | ## Doctrine 2 Z-Ray in action
|
29 |
| - |
30 | 21 | After installation was successful, there are additional tabs in the Z-Ray toolbar.
|
31 | 22 |
|
32 | 23 | ### Tab Entities
|
33 |
| - |
| 24 | + |
34 | 25 |
|
35 |
| -The `Entities` tab displays information about used entities of the current page. There are the following columns: |
| 26 | +The `Entities` tab displays information about used entities of the current page and entity mappings. |
| 27 | +There are the following columns: |
36 | 28 |
|
37 | 29 | * **Entity**: FCQN of the entity class
|
38 |
| - * **Number Of Unique Entities**: This is how many unique objects of this entity exist |
39 |
| - * **Number Of Referenced Entities**: This is how many references exist for this entity |
| 30 | + * **Number Of Unique Entities**: How many unique objects of this entity exist |
| 31 | + * **Number Of Referenced Entities**: How many references exist for this entity |
40 | 32 |
|
41 | 33 | ### Tab Queries
|
42 |
| - |
| 34 | + |
43 | 35 |
|
44 | 36 | The `Queries` tab displays information about executed queries. There are the following columns:
|
45 | 37 |
|
46 |
| - * **Query**: The executed query |
47 |
| - * **Number**: The number of executions e.g. with different parameters |
| 38 | + * **Query**: The executed query with parameter |
| 39 | + * **Number**: The number of executions |
48 | 40 | * **Cached**: The number of cached queries
|
49 | 41 |
|
50 |
| -Note that real queries are calculated with `Number - Cached`. |
| 42 | +Note: real queries are calculated as `Number - Cached`. |
| 43 | + |
| 44 | +### Tab Cache |
| 45 | + |
| 46 | + |
| 47 | +The `Cache` tab displays information about Doctrine 2 caches. |
51 | 48 |
|
52 | 49 | ## More Info
|
53 | 50 | Want to extend the Doctrine 2 Z-Ray extension? Looking for more information on Z-Ray? Try these links:
|
54 | 51 |
|
55 |
| -- [Z-Ray Documentation](https://github.com/zend-server-extensions/Z-Ray-Documentation) |
56 |
| -- [Zend Server Online Help - Z-Ray overview](http://files.zend.com/help/Zend-Server/zend-server.htm#z-ray.htm) |
| 52 | +- [Z-Ray Documentation](https://github.com/zend-server-plugins/Documentation) |
57 | 53 | - [Zend.com](http://www.zend.com/en/products/server/z-ray)
|
0 commit comments