Tracking Downloads with Google Analytics

Posted by Floyd Price Mon, 27 Jul 2009 16:05:00 GMT

Once upon a time ago you would have installed your Web Traffic Analytics software on your server which would process your logs, however Google have completely changed the game and made it so easy to record your stats by pasting a simply bit of JavaScript in to each page.

The down side of this is that Downloads and Other Server Side actions can not be captured, and if Conversion Tracking is your game (and why wouldn't it be) you really need this metric.


Debugging your rails controllers with JRuby and Mongrel

Posted by Colin Fri, 24 Jul 2009 07:48:00 GMT

If like me you think that NetBeans is a superb IDE, but quiet often for some unknown reason end up firing up TextMate to fix a bug or add a new feature, only to realise you lose all of the lovely debugging tools that come with the IDE. Well we can take a step in the right direction by allowing you to break out of your controller actions and into a irb console..


Using JRuby LDAP to authenticate users with rails

Posted by Colin Tue, 21 Jul 2009 09:20:00 GMT

Many enterprises have an Active Directory infrastructure setup. Wouldn’t it be nice if your jruby app could exploit this already in place infrastructure to authenticate your users. ruby-net-ldap has been around for a while and allows users to do exactly this with MRi ruby and now thanks to Ola bini it is now possible with jruby.


Advanced Oracle: Parsing XML fragments in Oracle functions and procedures

Posted by Adrian Tue, 21 Jul 2009 08:03:00 GMT

Sometimes it makes sense to use XML when passing data in to your database. For example, you might need to pass an arbitrarily sized list of parameters in to your function. Oracle has great XML support, and this brief article will show you how to include XML processing in your queries.


WPF Scrolling Marque Example (in C#)

Posted by Adrian Thu, 16 Jul 2009 21:28:00 GMT

If you're trying to implement a scrolling marquee in your WPF application, or just programatically moving text and other elements around a canvas, you might find this example useful.


Setting meaningful version numbers for .Net projects

Posted by Adrian Tue, 14 Jul 2009 14:18:00 GMT

This handy little command line tool (C# source included) will hunt through the folders of your solution looking for AssemblyInfo.cs files. If it finds any, it'll prompt you for a new version number and will then update all values of AssemblyVersion and AssemblyFileVersion with the new value. This makes it very easily to ensure that your version numbers are always meaningful.


Using the Bing XML Search API with Ruby

Posted by Adrian Mon, 13 Jul 2009 09:43:00 GMT

This code demonstrates how you can use the Bing XML api to generate Bing search results for your Ruby (and Ruby on Rails) application


Basic C#: Converting a string to a proper Enum value

Posted by Adrian Tue, 07 Jul 2009 15:52:00 GMT

This is a very quick beginners tip for those learning .NET. In it, I show you how you can convert between strings, which might be loaded from configuration files or user input, and Enums, that you use to define constants in your application.


Configuring log4net at runtime, without XML

Posted by Adrian Tue, 07 Jul 2009 09:05:00 GMT

This quick C# code snippet shows you how you can configure log4net for your application without the need for XML config files. This is useful if you need to enable/disable logging from within the user interface, for example.


Bing: Performing a basic web search over SOAP with the new Bing API 2.0

Posted by Adrian Mon, 06 Jul 2009 11:42:00 GMT

Here's a very quick code sample that you can use to add Bing API search capabilities to your .NET application. You will need to sign-up and get an API key for this to work, but it's free and you can use an existing Live ID if you have one (for example, for MSDN).


About

We are a small British company that produces business-oriented software and solutions. These articles are a product of our daily work - information that we think might be useful to share. We hope you find them useful.

Our Software

These are some of our products. Several are open source, some are web-based and others are proprietary:

Categories

Archives

Syndicate

ml> ._trackPageview(); } catch(err) {} ml> l> pageTracker._trackPageview(); } catch(err) {} ml> ._trackPageview(); } catch(err) {} ml> l>