4amics - 4amics.com - Xavier Perez Blog
General Information:
Latest News:
Multiple Inheritance – XTends 1 Aug 2013 | 06:53 pm
PHP can’t do multiple inheritance as : class MyClass extends Base_controller, Another_controller Interfaces doesn’t solve the problem, namespaces solve partialy, and traits it’s only an approach. M...
XHMVC – Common modular extensions 12 Jun 2013 | 03:38 pm
Cross Modular Extensions for Codeigniter allow to share modules, controllers, views and models with many applications. XHMVC brings to you a standard Codeginiter core and a standard HMVC core (from Wi...
Codeginiter 2.1.2 + HMVC 5.4 + Common application 4 Sep 2012 | 07:41 pm
Recentlly, I needed a common modules folder for various applications, and now I have decided to share my solution. The common folder can have helpers, libraries, modules (HMVC) and thir_party librarie...
Convention over configuration 27 Jan 2011 | 04:39 am
Ok, we are sure that convention over configuration it’s the best practice to reduce time, gaining simplicity, and increasing its readibility. But, what moore ? I have been working with ORM’s that of...
Basic SEO guidelines 6 Oct 2010 | 07:33 pm
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 keyw...
Language improvements Codeigniter 22 Sep 2010 | 07:38 pm
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 subs...
Data registry class improvements 22 Sep 2010 | 06:58 pm
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 functiona...
Data Registry class improvements 12 Jul 2010 | 08:48 pm
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 o...
New Data_Registry Class 2 Jun 2010 | 04:38 am
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 ...
Codeginiter profiler with FirePHP 26 Mar 2010 | 03:36 am
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 ...