Archive

Posts Tagged 'PHP'

A nice tutorial on Drupal in Italian

Logo Drupal Having to put me to understand and learn Drupal to work I came across the problem of finding tutorial in Italian, which allowed me to immediately enter the key points of the logic of this Open Source CMS.

I must say that the search was brief, because thanks to the usual search engine :-) I managed to find a link to a guide in the language of the Peninsula, which allowed me to understand some concepts.

Continue reading ...

Guide to Programming with Zend Framework

4 commenti December 9, 2008 Nicholas 4 comments

Title: Guide to Programming with Zend Framework
Authors: Cal Evans
Year: January 2008
Pages: 222
Publisher: Sybex
ISBN: 978-0-9738621-5-7
Price: $ 34.99

I regret having to make a bad review on a computer book, but unfortunately I can not fail to tell my feelings and my experience in reading these pages.

The book in question describes the general operation of the Zend Framework, a framework of the hottest in the world of PHP programmers.

Continue reading ...

PHP Refactoring - Lez. 4: Extraction of code and elimination of temporary variables

Often we find in the methods of a class of code that can be reused in various parts of the same, or we see that put in that position does not give any intuitive meaning.

An improvement in the readability of the object is to extract this group of rows with a common meaning and place in a method that is invoked whenever the need is present.

Another problem is the presence of temporary variables, which do nothing but increase the risk of bugs and may be replaced by self-explanatory code, in the form of a private method of the class.

The following is an example to better clarify the concept:

Continue reading ...