Tag: architecture
-
Cache Cache – Wicked Whupsie
Why did a wicked wiki page take seconds to load when nobody was editing it? Why did a whups ticket report recalculate the same numbers over and over again even though nothing had changed? And why were we spending CPU time trying to calculate available categories and queues on every single request? Conventional wisdom has…
-
Worms infested my code base and I am fighting back
The sabberworm/php-css-parser used to be bundled with the horde/css-parser library. Supposedly the one is a shield before the other, separating the code base from this particular beast. But over time it crept in and infested various places. How to fight back It’s time to teach the worm some manners and throw it out where it…
-
Code Generators: Bad, worse & ugly
Code generators have been invented and forgotten at least four times in software history. They have an appeal to developers like the sun to Daedalus’ son. Let’s not be Icarus, let’s keep them generators at a distance and watch them carefully. Whenever a language, framework or paradigm forces developers to do the same thing over…
-
Turba Addressbook (II) – Architecture
In the first chapter we looked at Turba’s features, APIs, Protocols. In the current installment, I want to present the concepts and structure of the code. Turba is among the oldest horde applications. As such, it contains parts from various stages of Horde’s development.