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.

Software Engineering in PHP HIT April 2015

On April 30th 2015, I will start to deliver the ‘Software Engineering in PHP’ course. It is the 9th time I deliver this course in HIT. It includes a detailed preparation towards the Zend Certified PHP Engineer certification exam. You can find the detailed plan at https://docs.google.com/document/d/11H4W_6w4AD3NSLBw_w5cwzg7UJON5KeZNDc2BcdSACk/pub. You can find more information about the professional […]

Skip to content Update cookies preferences