A discussion covering the question of persistence in the next releases of MODX and current progress on relevant initiatives.
What success MODX has achieved over the past ten years is, in my opinion, entirely due to two core tenets that the community has always stood behind. Those ideals are modularity and extensibility.
It’s been over 10 years since Ryan, Raymond, and myself founded the MODX CMS project and a lot has changed in the world of both content management and web development in that time.
JetBrains—the makers of IntelliJ IDEA—have unsurprisingly created the only PHP development environment worth paying for a license of.
xPDO is a light-weight ORB (object-relational bridge) library that works on PHP 5, and takes advantage of the newly adopted standard for database persistence in PHP 5.1+, PDO.
There are a number of benefits to using xPDO instead of writing SQL directly against the database.
In an effort to remove the dependency on Ant, the Java-based build tool we have been using to build, test, and produce distribution packages of MODx Revolution, I spent the last week learning Phing, refactoring the xPDO and MODx Revolution build processes to use it, and writing a custom Phing Task to handle our YUICompressor requirements.
I recently published a new Snippet for quickly caching the output of any MODx Element for a configurable amount of time. By default, it uses the Resource caching mechanism and stores it's data uniquely by Resource, properties, and additional REQUEST parameters. So anytime the page is requested and the cache has expired, the Element will be processed fresh. And that's just the simplest application…
MODX Revolution is a content management platform that I have been developing with Shaun McCormick, the MODX Team, and the MODX community for the past few years. It is now in Release Candidate phase and I have finally found a few moments to convert my personal site to this new platform.
I've restarted work on SQLite support for xPDO, and things are looking good so far. This will be targeted at PHP 5.2's PDO driver for SQLite3, not the older sqlite2 PDO driver included with PHP 5.1.x that is no longer available via PECL. It may be easily adaptable however.