Skip to content

Commit decd515

Browse files
committed
Merge pull request #15 from sandrokeil/develop
merged Develop
2 parents a2cafab + 0b7bcb5 commit decd515

14 files changed

+790
-66
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Z-Ray-Doctrine2 CHANGELOG
22

3+
## 1.1.0 (2015-07-27)
4+
5+
* All entity mappings now displayed
6+
* Added count of executed queries with cache info
7+
* Added parameters to queries
8+
* Added SQL transaction tracking
9+
* Added query syntax highlighting expand text support (show more / show less)
10+
* Added query number
11+
* Added cache tab
12+
313
## Version 1.0.0 (2015-05-07)
414

515
* Added entities tab

README.md

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,53 @@
11
# Doctrine 2 plugin for Zend Server Z-Ray
22

3-
> Displays information about your Doctrine entities
3+
> Displays information about your Doctrine 2 entities
44
5-
> Displays information about your Doctrine queries
5+
> Displays information about your Doctrine 2 queries
6+
7+
> Displays information about your Doctrine 2 caches
68
79
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.
810

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
1114

1215
## Installation
16+
Simply install the Doctrine 2 Z-Ray plugin via the Zend Server plugin gallery.
1317

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+
![Zend Server Plugin Gallery](docs/img/plugin_gallery.png)
2719

2820
## Doctrine 2 Z-Ray in action
29-
3021
After installation was successful, there are additional tabs in the Z-Ray toolbar.
3122

3223
### Tab Entities
33-
![Tab Doctrine 2 Entities](docs/img/tab_entities.jpg)
24+
![Tab Doctrine 2 Entities](docs/img/tab_entities.png)
3425

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:
3628

3729
* **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
4032

4133
### Tab Queries
42-
![Tab Doctrine 2 Queries](docs/img/tab_queries.jpg)
34+
![Tab Doctrine 2 Queries](docs/img/tab_queries.png)
4335

4436
The `Queries` tab displays information about executed queries. There are the following columns:
4537

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
4840
* **Cached**: The number of cached queries
4941

50-
Note that real queries are calculated with `Number - Cached`.
42+
Note: real queries are calculated as `Number - Cached`.
43+
44+
### Tab Cache
45+
![Tab Doctrine 2 Queries](docs/img/tab_cache.png)
46+
47+
The `Cache` tab displays information about Doctrine 2 caches.
5148

5249
## More Info
5350
Want to extend the Doctrine 2 Z-Ray extension? Looking for more information on Z-Ray? Try these links:
5451

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)
5753
- [Zend.com](http://www.zend.com/en/products/server/z-ray)

README.txt

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
The Doctrine 2 plugin for Zend Server Z-Ray provides various information about the usage of Doctrine 2 in your application. Get a deeper look how entities and queries are used. Additional features are in the planning.
22

3-
## Tab Entities
4-
The `Entities` tab displays information about used entities of the current page. There are the following columns:
3+
### Tab Entities
4+
The `Entities` tab displays information about used entities of the current page and entity mappings.
5+
There are the following columns:
56

67
* **Entity**: FCQN of the entity class
7-
* **Number Of Unique Entities**: How many unique objects of this entity exist.
8-
* **Number Of Referenced Entities**: How many references exist for this entity.
8+
* **Number Of Unique Entities**: How many unique objects of this entity exist
9+
* **Number Of Referenced Entities**: How many references exist for this entity
910

10-
## Tab Queries
11+
### Tab Queries
1112
The `Queries` tab displays information about executed queries. There are the following columns:
1213

13-
* **Query**: The executed query.
14-
* **Number**: The number of executions e.g. with different parameters.
15-
* **Cached**: The number of cached queries.
14+
* **Query**: The executed query with parameter
15+
* **Number**: The number of executions
16+
* **Cached**: The number of cached queries
1617

17-
Note: real queries are calculated as `Number - Cached`.
18+
Note: real queries are calculated as `Number - Cached`.
19+
20+
### Tab Cache
21+
The `Cache` tab displays information about Doctrine 2 caches.

deployment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"name" : "doctrine2",
44
"display_name" : "Doctrine 2",
5-
"version" : "1.0.1",
5+
"version" : "1.1.0",
66
"type": ["zray"],
77
"logo": "docs/img/doctrine.png",
88
"eula": "LICENSE.txt",
@@ -12,4 +12,4 @@
1212
"min": "1.0.0"
1313
}
1414
}
15-
}
15+
}

docs/img/plugin_gallery.png

56.6 KB
Loading

docs/img/tab_cache.png

20 KB
Loading

docs/img/tab_entities.png

33.7 KB
Loading

docs/img/tab_queries.png

49.6 KB
Loading

0 commit comments

Comments
 (0)