Static Methods and Static Variables in PHP PRO
PHP supports many of the OOP concepts we know. The syntax is very similar to the syntax in Java. This video clip shows how to define static methods and static variables.
Delegates in PHP PRO
Although PHP doesn’t support delegates (as in C#) the possibility to define the __invoke magic method allows us to write code as if we were using delegates in C#. The following video clip shows that.
The First Programming Language ACD
I was recently asked ‘what is your recommendation for the first programming language to teach in a three years academic program?’. Thinking about this question, it was clear to me the programming language itself is just a tool and the topics been taught are the ones that should be in question. Unlike many others, I believe […]
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.
Maximize Zend Studio Editor View PRO
Pressing CTRL+M maximizes the editor view. Pressing again returns the editor view back to its normal size.
Zend Studio List of Shortcuts PRO
Using the Zend Studio we can easily get a detailed list of all shortcuts. We just need to press CTRL + Shift + L.
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.
Open Source 2011 Conference BIZ
On June 30th I am going to lecture about Hybrid Applications for Mobile Telephones in Open Source 2011 conference. You can download the slides. If you have any professional question following my lecture please don’t hesitate and place it as a comment to this post.