Perl, Tridion

Tridion Business Connector client

A bit of a niche entry this one. Will only be of interest to those who use Tridion, one of the more ‘heavyweight’ CMS solutions.

I generally have a number of repetitive tasks that are extremely tedious to accomplish using the browser based GUI. So I constructed a simple command line tool that allows me to script tasks using a SOAP interface known as the Tridion Business Connector.

The client takes the following arguments:

bcclient.exe /h [hostname] /u [user] /p [password] /d [domain] /x "[request XML]"

Why did I build this? Very useful when called via scripting tools. In my case, Perl.
Continue reading

Uncategorized

Happy Christmas

I’ve finally got some time off from work. Not managed to update the blog for a few months, which is a shame, because I quite enjoy doing it. I’ve also had a few emails from satisfied customers. Some of you out there actually take the time to post feedback. Much appreciated. Though I had to code a spam filter for naughty stuff that had been submitted. Thankfully I now don’t have to go into the database, and bulk delete entries.

Now that I’ve got the time, I’m going to start writing again. I start work again in the new year, and I’m looking forward to it. As things never stand still in development, it’ll be time to pick up a few books, and gain some new skills.

More Content Management integration coming up for me next year (Tridion, possibly Immediacy), and more ASP.Net work. Also going to brush up on my jQuery, and CodeIgniter knowledge. Really would like to do more Open Source based project work, as I’ve been mainly using proprietary applications during the pass few months. With the economy lower than a fat kids self esteem, I can’t be choosy, just glad to be working.

Have a great Christmas, and I’ll see you a few pounds heavier in the new year.

.Net

Validation groups in .Net

Evening all. Not posted in a while as I’ve plenty going on in the ‘real’ world. Anyway, last week I was building a search form whereby you could either search by reference code, or by using full search criteria.

The problem I had is that both search ‘forms’ existed on one Web Form, and I was using Validation controls to check each. So when using either submit button, both search groups were validated together. Not useful when I wanted to submit each set of controls independently of each other. So there I was, coding to disable either set of validation controls when a submit button is clicked.

“Validation groups!” I hear you cry. Yes, I know that now.
Continue reading

Codeigniter, PHP

Using the Zend framework Lucene library – Part 2

Note: Since this article was written I’ve moved to WordPress, and have not implemented the example code listed below.

In a previous article I talked about using a library from the Zend framework to create a site search.  As you try out this functionality using the search box, above right.

I never finished the article, so I’ll explain here how I implemented this using CodeIgniter.  I’ll also detail how I built the ‘quick results’ tool (click in the search box).
Continue reading

Linux

Linux Mint 5 Elyssa

I’ve been using Ubuntu for the past couple of years now, and have found it a perfectly viable alternative to Windows.  As I mentioned in my very first post, I’m not a Linux zealot taking a political stance.  It’s just a simple preference.  If I was a zealot I’d be using a distribution like Gentoo, Slackware, or Linux From Scatch.  One for the hard nuts, I just want something that works on my five year old laptop.  I’m too tight to upgrade, so that rules out Vista.  Now there’s an OS that drives Linux fundamentalism.

In an attempt to challenge my OS of choice, but still keeping within my Ubuntu comfort zone, I installed Linux Mint last week.  Once slated as just a friendly, sexier version of Ubuntu, it now seems to be gaining in popularity.

Mint: Desktop

I’m very impressed.  I installed the OS, development IDE (Eclipse based Aptana), Apache, PHP, MySQL, and had the development version of this site up and running within a couple of hours.  No messing around getting Flash, RealPlayer, and various audio/video codecs running.  Anything I did need to install was a simple apt-get away in the Ubuntu repositories.
Continue reading