Language improvements Codeigniter

September 22nd, 2010 by Xavier Perez 
The language library in Codeigniter is very simple, and doesn’t  support variable substitution, only partial or complete phrases. For this reason, I have made minor changes to allow the variable substitution, thus it’s not the same espelling in different idiomas. (more…)

Data registry class improvements

September 22nd, 2010 by Xavier Perez 
More improvements has been added to this class: Instead of saving data in your session to be retrieved anywhere, I have developed my own registry class (similar to Zend Registry), with more functionalities. Support for namespaces Support for persistent namespaces (any data can be collected in any other page during customer navigation) Support as caching system Support for saving in session or files Support...

Data Registry class improvements

July 12th, 2010 by Xavier Perez 
Data Registry have been improved to handle files, as a normal file storage, as a caching system or as a repository space. Now, in examples, all storage vars are saved in files, with TTL. Any class of var can be saved for every user session, but also Data_Registry can save files for all users, not only restricted to every user. Allows to save config files, language translations, core data, mysql results… Take...

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 – 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,...

LQueryBU – Light Query Business Units

February 27th, 2010 by Xavier Perez 
Many frameworks comes with its CRUD, Scaffolding, AdoDB, but it’s slow in programming it, and hard to mantain. I have developed my own DB class, it isn’t a wrapper, its an interface between Models (MVC concept),  and DB wrappers. Performs SQL and PHP business units, all together, designed to avoid large DAOs, to increase preformance, better visibility and clarity, and improvement of development...

PHP Unit testing

February 26th, 2010 by Xavier Perez 
How to test our applitacion ? Must we make automatic testing or post testing scripts ? See :

PHP optimimization

February 26th, 2010 by Xavier Perez 
Great article about the PHP evolution and current optimization, from 1993 to today. Read complete article:

Codeigniter Profiler

February 26th, 2010 by Xavier Perez 
I have been working with Codeigniter in the last two months, and seeking for a good profiler, but no luck. I have made my own profiler, similar to Kohana or Symfony, top bar, div positioned absolute, transparent and collapsable. In the next month I will add cookie vars, logs, code tracing and I will try to add firePHP code to the class. Also I’m working with a modular memcache class, and memcache...