Make a Lasting Impression

Join the Mailing List

Who's Online

17 user(s) are online (4 user(s) are browsing ImpressCMS Blog)

Members: 0
Guests: 17

ImpressCMS proudly uses SourceForge
ImpressCMS on

Real-time collaboration with Slack

Slack LogoAfter a few days of testing and configuring some integrations, we are evaluating Slack at the moment as real-time collaboration tool. If you are interested in testing out the tool, simply make a login and ask to be added to the impresscms organisation. If you have a address, you can register with that address and you will be added automatically. Welcome to the conversation! keep reading ...


Building Bridges - What's on the Other Side?

Bridge and fog

I just returned from a vacation with my family to California, where I hoped to capture one of those beautiful photos of the Golden Gate Bridge. However, what we found was a cloud-draped bridge, with only a few glimpses of the structure. Even cloaked in clouds and mist, with the other shore invisible, the view was spectacular and we still ventured across safely.

While I was going through the photos we took, I realized how much life and this project resemble this bridge.

keep reading ...


Real Good Code and Code Standards

CodeA while ago, there were some emails going around between @fiammybe, @MekDrop, @eyekeeper and I about being able to test new commits against a given code standard to avoid unnecessary work later on. This is a good question and practice, as is testing the code before integrating it into a development branch leading up to a release. There are tools that facilitate both of these processes - applying code standards and testing - and most modern IDE provide ways to do these things. However, such tools are only guides, as are the standards themselves.

Code Standards Are Good

When we first adopted our coding standards, we did so for several reasons:

keep reading ...

No comment

Accessing the Database in ImpressCMS

DB abstractI've spent a fair amount of time unraveling the intricacies of the core of ImpressCMS and it is quite revealing. At times, I wonder - "What were they thinking?". At other times - "What was I thinking?" The latest area I've been focusing on is the database classes.

PHP 5.5 is out, and with that, the deprecation of the mysql extension, which we have used exclusively since before our first release. The 1.3 release introduced a sketchy and incomplete foundation for adding PDO support, but it hasn't been fully implemented. Until now, that is.

keep reading ...


Preloads, A Visual Aid

PresentOur last exercise in core functionality was a deeper look at preloads, and I wanted to give you a little present to help bring it all together. So, I did it by writing a new preload just to display all the preload events as they were being triggered.

With this preload, you see debug messages throughout the page as each event triggers. Not every page triggers every event because some of them are attached to other processes, like loading HTML textareas. The code comments indicate where in the core to look for the specific events, if you're interested. There is one event (startCoreBoot) that triggers before the necessary language file loads to display a friendly debug message (that will be addressed in an upcoming patch). But, the basic information will be understood.

This preload can also serve as a template for your own preloads - just rename the file and class to match your needs, then customize the methods you wish to fire your process. Remove the other methods to keep the memory usage down and you're all set!

Happy Twelfth Night!

You can download the 'preload debug' patch from our SourceForge patch repository.

Subscribe to latest posts