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

Codeginiter profiler with FirePHP

March 25th, 2010 by Xavier Perez 
I have added to my own Profiler the hability to display results on Firebug. I have two form of display data: firebar or window.  Window display data on a div over the code, allowing to read enterilly all the page, meanehilr firebar display data on the firebug console (must to have instaled firephp ) (more…)

How Zend Server can improve high foot print frameworks

March 22nd, 2010 by Xavier Perez 
Zend Server (and also Zend Server Comunity Edition), comes with own APC, cache and some more improvements all together, and also two servers: Apache with php as cgi, and a lighthttpd, allowing to server static pages and dinamyc pages separatelly, and decreasing foot print in almost 300%. Frameworks as Zend, with a foot print of 12MB RAM, takes only 4MB RAM served with Zend Server, allowing the system...

Best PHP framework ?

March 22nd, 2010 by Xavier Perez 
Which is the best PHP framwework to develop your applications ? There are a lot of frameworks out there that can do your requeriments without problems, but you must to make another important questions: How many visitors are expected to have your site ? How much important it’s the quick development versus maintainability ? How many developers will work on it ? What kind of helpers and custom...

Zend Server 5.0 released

March 3rd, 2010 by Xavier Perez 
Zend server 5.0 have been released, and bring the opportinuty to try&by or download the Zend Server Comunity Edition. Zend Server Community Edition is a pre-integrated PHP application stack that’s been tested by Zend to ensure the highest levels of reliability. You can use it to run your application in production, during development and testing, ensuring a consistent environment throughout...

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

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 :