CodeIgniter 4 Modular SAS
May 12th, 2022 by Admin
This is a Structure Application Starter, to be used as base for any project
What is CodeIgniter Modular ?
CodeIgniter is a PHP full-stack web framework that is light, fast, flexible, and secure. More information can be found at the official site.
The “Modular Structure” allows to separate each module from other, having each one, controllers, database, filters, libraries,...
Comments Off on CodeIgniter 4 Modular SAS
XCache (v.3)
December 29th, 2015 by Xavier Perez
XCache allows to cache everything, html, json, views, objects, results from a Class->method, also can put a Cache-Control headers to be used for CDN’s or proxies.
Three methods allowed:
As a trait, with inheritance of all methods and automatic method cache.
As a trait, using XCache methods within same class.
Independent, using XCache as a separate class.
XCache comes with this drivers:
File
Memcache
Memcached
MongoDB
Apc
Redis
Read...XHMVC Cross Modules for Codeigniter 3.0
July 2nd, 2015 by Xavier Perez
Based on Wiredesign HMVC, (Hiererchical Model/View/Contoller), XHMVC allow to have common modules shared betweeen all applications.
All the modules can have all components under only one directory: config, controllers, helpers, languages, libraries, models, views
This allow to re-use a module component in other projects, only with a simple copy/paste !!
Modules can be shared between different applications...Multiple Inheritance – XTends
August 1st, 2013 by Xavier Perez
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.
Most of my developments have common classes, but every project have it’s own particularities.
I make developments under MVC concept, and all controllers have an inheritance from a Core_Controller,...XHMVC – Common modular extensions
June 12th, 2013 by Xavier Perez
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 Wiredesignz), allowing to share this core to multiple applications.
Also, you can share config parameters, helpers, libraries, languages, views, and modules !!.
From version 1.4.1, you can extend from your...Codeginiter 2.1.2 + HMVC 5.4 + Common application
September 4th, 2012 by Xavier Perez
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 libraries (HMVC MX base)
An application can load a library, helper etc… as usual…
$this->load->library('mylibrary').
// If this library exists in application/library folder, then use this.
// If this library not exists locally, the try to load from common/libraries
Also,...Convention over configuration
January 26th, 2011 by Xavier Perez
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 offers simplicity and also scalability, giving a lot of tools and making easy a complex queries. But… I need more…
Why I must to tell the ORM all the tables I use ?
Why I must to tell...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...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...