Category Archives: best practice

First steps on building PDF files from a django app

I’ve been building a web application that operates on information extracted from a storage-engine used by GnuCash. GnuCash 2.6 comes with python-bindings, allowing a developer to rapidly build applications working on data maintained by the application Continue reading First steps on building PDF files from a django app

Building a Broadsoft XSI event consumer on .NET

I wrote about the specifics I encountered with the Broadsoft XSI API before, in this post. I didn’t mention the software I used to support the development of the application. This post will be about what I did to consume data produced by the XSI environment Continue reading Building a Broadsoft XSI event consumer on .NET

Broadsoft XSI event consumer on .NET

I’ve been developing a Windows application that consumes Broadsoft XSI events. Broadsoft has a “comprehensive range of VoIP Applications in a Single Platform” and XSI is a way to consume data produced by their platform, allowing integration of a modern switchboard service with other types of applications. Continue reading Broadsoft XSI event consumer on .NET

Scripted changing of XML files made easy

Changing the content of a configuration file on an Unix system, like Linux, can be easy. That task quickly becomes a whole different ballgame when you’re dealing with XML files, because this format imposes a couple of restrictions on the XML element values, for instance. You’ll probably be able to get the job done when using traditional tools like sed and awk, but I would advise against it. Continue reading Scripted changing of XML files made easy

Automagically minimize javascript in Eclipse on Windows

The WordPress tool I’m developing uses jQuery scripting. I’ve seen people including a minimized version of the scripting and I think that’s a good approach. I’m using Eclipse on Windows on my development system and it happened more than once that I forgot to include the minimized version of the scripting. I found a solution in my search for a way to do this automatically. Continue reading Automagically minimize javascript in Eclipse on Windows

Something to consider when developing a wp plugin

I’ve been busy developing a WordPress plugin lately and I experienced a best practice right away.

While developing the plugin will probably be the only one loaded. Once released into the wild, for instance by testing it on your live site, and being used in conjunction with pre installed plugins, you may run into PHP Fatal error: Cannot redeclare class ... in ... errors, even when you use import_once or require_once. Continue reading Something to consider when developing a wp plugin