A new feature in MODX 2.2 allows Elements to define if tags in default property and property set values are pre-processed. This allows values provided to Elements in this way to use tags in values that are processed before being used by the Element, the same way it would be if the tags appeared directly in the Element tag string.
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…
I’ve created a quick utility Snippet for MODX Revolution that logs how long it takes to execute a Snippet (or Chunk) you wrap with it. Makes it easy to find out if a particular tag is creating a performance bottleneck in your MODX Resources.
I was terribly anxious for the inaugural MODXpo event in Dallas. I had not given a presentation in front of anyone since 2000, when I was a Knowledge Management Analyst for an Enterprise Portal startup called Viador. Back then I did training sessions for the Technical Field Agents, and I remember how much I hated giving presentations. In fact, I think that’s why I quit that job, because they had just informed me that would be my full time gig. But I digress.
Despite the anxiety, I was the one who needed to present xPDO, so I was going and I was presenting. Now, to even get to Dallas, I had to travel 11 hours from my home in Taos, New Mexico. I only recently moved to the Taos area, and my knowledge of the roads is, well, inadequate at best. And combined with Google Maps, life threatening at worst, as I found out Sunday morning shortly after 6am.
MODX Evolution’s Snippet Parameters were reinvented in Revolution as Element Properties: any Element can now have them, not just Snippets. And in addition, Property Sets. Groups of properties that any number of Elements can share, in a variety of ways. Cool, huh!?
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.
- NEWER POSTS
- OLDER POSTS
- page 2 of 3