Archive for the ‘ Programming ’ Category

Using a Bespoke CDN with WordPress

I have been helping a friend with his website lately and again it started to slow down, due to the massive traffic the site gets.  The last time I checked the stats Elephant Journal get’s 250,000 visitors a month with approximately 450,000 page views!  That’s quite a busy wee site.

A while back we moved some of the static files off site, and that helped massive get the site another 70,000 visitors a month – people didn’t drop out or bounce while they were waiting for the site to load.  This was real easy to do, and just meant we pointed the URL of the file to the new server.  But now the site is slowing again, and I believe it is due to the massive number of images that get downloaded.  So how do you move all these images off site and update all the URLs?  WordPress comes to the rescue…but you need to do some coding. Read the rest of this entry »

Linq to Objects vs Generic List

If you know me, then you know I like to make things run fast.  I like testing performance of my software.  So with a recent website, I noticed that I query a tiny database table a lot.  There surely is a faster why to do it, and with Linq statements you can query in memory objects like Sql.  Nice…? Read the rest of this entry »

ASP.net Weird Bug

The Problem

Could someone explain the following to me.  I have a page with a couple of buttons on it.  They sit nicely next to each other with a  nice gap.  Here’s the Html (webforms): Read the rest of this entry »

ASP.net C# – List vs IList

Sorry for reopening this old debate, but I have been struggling with getting my head around this concept but came to a conclusion of my own. Read the rest of this entry »

Google Maps API v3.0 – Multiple Markers, Multiple Infowindows

Like many of you out there that use Google Maps, when v3.0 of it came out you jumped at the chance to use it!  But I couldn’t get the multiple markers, multiple info windows to work, no matter what I found on Google’s site.

Searching got me to this blog:

http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows

And it states this guy is writing a book on this very subject.  So this should have the answer.  Well bollocks it did!  Stop writing your book now matey! Read the rest of this entry »

Timesheets : A virtual Tiny new home

I was shown last week a new virtual server setup from Fasthosts. It’s pretty awesome, and it comes with Windows 2008 therefore IIS 7.0, and then you can add SQL Server 2008 Express edition for free. So basically a lovely big chunky new server for a small amount of money, less than my current server! Read the rest of this entry »

Yoga Glasgow

It’s been a few weeks now that this website went live, but I was busy with http://tiny.projecttime.co.uk/ so blogging about it was put to the side.

Yoga Glasgow, run by Siobhan Fitzgerald, is another yoga school based in Glasgow.  It was also another site run on an open source CMS engine, Joomla again I believe, and the developer didn’t know really much at all about design.  I say again I don’t know much about design, no formal training, but I know what looks good. Read the rest of this entry »

ASP.net c# : yielding to the power of yield

Here is another thing that I have been learning with ASP.net and C#. For ages I have seen the yield syntax and wondered what it did. I never found a solid example until the weekend. Read the rest of this entry »

timesheets : tiny update again

This weekend I was out in the sun a lot. I think it got my brain working more than usual. On Saturday I found the power of MVC.net. I mean seriously, MVC.net will change the way I programme and I know people have harped on at me for years now, but this is, it’s finally clicked! Read the rest of this entry »

Timesheets : tiny roadmap

The next 6 months will see a lot of growth  in tiny.  I really want to get it to a point where it is no longer tiny in features, just tiny in footprint on your computer.  So what will be added in the next 6 months to tiny? Read the rest of this entry »