Unit Testing using Zend Studio & PHPUnit PRO

The Zend Studio is already equipped with a plugin that allows us an easy usage of the PHPUnit framework when unit testing our code. The following video clip explains how to write unit tests using Zend Studio and PHPUnit.

Generate Comments in Zend Studio PRO

We can easily generate comments for the variables/functions/types we define in Zend Studio. We just need to mark with our mouse the variable/function/type we want to comment and press CTRL + Shift + J.

Types Hierarchy in Zend Studio PRO

When selecting a specific type and pressing CTRL + T we will get a small diagram that shows the types hierarchy the selected type extends from. This shortcut works in Eclipse as well.

Switch Between Opened Files in Zend Studio PRO

Pressing CTRL + F6 we can easily scroll through the opened files and switch to the file we want to edit. This shortcut works in Eclipse as well. Pressing ALT + any of the right / left arrows allows us to switch between the opened files editors. This shortcut works in Eclipse as well.

Zend Studio Comments Shortcut PRO

We can easily place a line in a comment. We just need to place the mouse marker on that line and press CTRL + ‘/’. We can comment more than one line by marking the lines we want to comment and press CTRL + Shift + ‘/’. The following video clip shows that.

Code Format Profiles in PHP Zend Studio PRO

PHP Zend Studio allows us to specify a code format profile we want our code to be formatted with. Once a format profile was set we can easily change the code format of every PHP source code file we open by pressing CTRL+Shift+F. The following video clip shows how to do it.

PHP Zend Framework Code Sample PRO

The learning curve of the PHP Zend Framework isn’t friendly. Based on my experience so far lecturing Zend Framework courses I believe starting with a simple code sample can be very useful. The following video clip explains how to run the sample application I have just developed.

talks

Talks My Tech Talks: Learn, Innovate, Excel 2025 Typing in Python | The life michael Meetup Group | 1.4.2025 | Online video slides Pattern Matching in Java | The life michael Meetup Group | 3.3.2025 | Online video slides Mastering The Collections in JavaScript | The life michael Meetup Group | 3.2.2025 | Online video slides Moving Forward Beyond Java to Kotlin and Scala | The life michael Meetup […]

Update cookies preferences