July 1st, 2015 by Xavier Perez 
Benchmark trace & log any php, without modifying a single line of code. Usefull to trace access, monitoring run times & ram and debugging params (get / post / argv). This class can log time and resources used during PHP script execution until they exit without having to change the actual script code. It appends to a log file the time a script took execute since the class was loaded, as well...

Basic SEO guidelines

October 6th, 2010 by Xavier Perez 
1. The internal optimization refers to factors that you can control in your website: * The text on your website. * The number of web pages on your website. * The number of keywords and related keywords in their web pages. * The links on your web pages to other pages on your site. * The links on its website to other websites. * The structure of your website. * The robots.txt file on your site. * The...

New Data_Registry Class

June 1st, 2010 by Xavier Perez 
I have developed a new class to save any kind of data in a php program, and retrieve it in any other php script. The Data_registry class is a singleton class, and all data can have persistence saved in the session files (DB, memcache also). It’s an great improvement over Zend_Registry class, duo to it’s better capabilities. This can help in debugging, tracing code, retrieving errors after...

PHP Scalability – Part2

March 3rd, 2010 by Xavier Perez 
Apache servers with PHP as a module, expends a lot of memory and resources on each process, and it’s not intended to serve static pages. Also, PHP cache, as memcached, cacheLite, and other cache systems can be an important aid to lighten apache process, but still are huge. Here comes APC, an opcode cache, that can be one of the best part of my own tests, achieving a 100% better performance on...

PHP Scalability – Part1

March 1st, 2010 by Xavier Perez 
In the last years, PHP have been taken part of the market to other technologies, as .NET and Java, but till now, have been declared ‘non scalable’, thus it’s owns limitations, the absence of a ‘distributted services’ concept. PHP it’s a language, and Apache have been the server over the years. A lot of web sites, takes the important decision to buy more hardware,...

PHP optimimization

February 26th, 2010 by Xavier Perez 
Great article about the PHP evolution and current optimization, from 1993 to today. Read complete article:    http://talks.php.net/show/drupal08/