Posted by: Matthew | July 7, 2009

Trade Me advertising … why?

Trade Me has recently updated its design, which on the whole is pretty good. However, they have also added in third party, graphical advertising. The site always stood out above the rest (the likes of eBay for example) for its clean appearance and no-clutter approach. I can’t help but think … why add the ugly advertising? Looking more like eBay is not a good thing.

Ok, yes, there is the fact that there is a lot of traffic in NZ going to these pages on a daily basis, so there is the potential to serve up a lot of impressions and demand a premium for it. However, TradeMe has a very sound financial model – it makes money and it makes it very well! It’s not like they needed to do it to increase revenue. I suspect that FairFax Media will have pushed this, opening up TradeMe as a new target for their existing customers who already advertise with them.

Will people really care? Probably not, but I’ve lost a bit of respect for them going down this path.

Posted by: Matthew | April 13, 2009

IE8 – Is your site prepared?

Internet Explorer 8 (IE8) is set to be part of Windows Update in the coming weeks. For most people, that means an automatic upgrade from Internet Explorer 7 (IE7), probably not really noticing much difference.

So what’s to be prepared about? IE8 is more  ’standards compliant’ than previous versions, meaning that your website may not look or even work exactly as you intend in the new browser! To update a web-site’s design to be standards compliant can be time consuming, especially seen as you may have only just got through updating to support IE7!!

Microsoft thought about this and so offers the ability to select a version of internet explorer that your site supports.

By default, the browser will be in “Internet Explorer 8 Standards” mode. For non-compatible sites, users will see a broken page icon in the address bar. Clicking on this will allow them to change the compatibility to Internet Explorer 7, for example. You don’t want your site visitors to have to do this, so as a site owner, you can specify what you support.

This is done with a meta tag, in the head of your web pages. The following will set a page to render in IE8, the same as it would in IE7:

<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″>

That’s it!

Full details on other possible document compatibility values can be found at MSDN – Defining Document Compatibility

The Internet Explorer 8 Readiness Toolkit also highlights other features to be aware of as a developer. It makes interesting reading.

Posted by: Matthew | March 25, 2009

Feed Url Change

The feed url for this blog has now changed to http://blog.pureblue.co.nz/feed

Redirects for feed readers should happen automatically, but just in case, you should update your settings.

Posted by: Matthew | March 19, 2009

Internet Explorer 8 Released

It must just be that time of year for software releases! Download from here. Just be aware that you will need to restart your computer as part of the install, which just goes to show how integrated the browser is in the O/S  (although Windows 7 is set to change that).

Just what a web developer needs – another browser to support :)

Posted by: Matthew | March 18, 2009

ASP.NET MVC 1.0 Released

ASP.NET MVC has reached RTM! I was kind of expecting Scott Guthrie to announce the final release, but instead it was only a small news item on the ASP.NET  homepage!

It has been a long time in Beta and as such I have stayed away from it until the last couple of weeks. There are enough new products released from Microsoft to keep me busy without getting bogged down in beta’s!

So in the last couple of weeks I have been learning ASP.NET MVC after discovering that the final release was imminent and I have to admit that I am very impressed. The first and foremost difference would be that there is no longer the same postback lifecycle and no ViewState, which means pages are very fast (yay)! The level of control you have over the final HTML is akin to the old days of classic ASP or PHP, but still with all the .NET goodies to make life easier. After spending so long in Web Forms, it is quite strange (but a nice strange) to look at the HTML source and see plain, concise markup.

I’ve found the best learning source to be the tutorials provided on the official ASP.NET MVC site and also the first chapter of the new Wrox book which is available for free from Scott Guthrie. As with everything there are no shortcuts and there is a lot to learn, but if you are comfortable with the web platform in general, then the learning curve is not that steep at all.

To learn something well you need to create a sample project.  I always create a simple task management tool so that I get a nice comparison between technologies. What I found was that to AJAX-enable the site was a lot more straight forward than using the Web Forms approach – the end result was cleaner and the whole MVC approach leans itself totally to the AJAX approach.

All in all, well worth learning.

Posted by: Matthew | March 16, 2009

Microsoft Blueprints

I stumbled upon Microsoft Blueprints after looking at some sample code from Vertigo. Essentially it is a replacement for the Guidance Automation Extensions (GAX) from the patterns and practices group. GAX was an effort to allow architects to create templates and guidance for frameworks, components and patterns that may be used by a development team –  Blueprints is the next stage in this development.

Using the Visual Studio plugin, you can use what are termed “Blueprints”. A Blueprint contains guidance for a particular task. For example, setting up authentication and authorization on a website could be contained within a blueprint. This could be as simple as a workflow document (termed a readable resource), or it could be that the Blueprint provides a custom tool or template for doing the task (termed an executable resource).

Why bother with this? Well, the main benefit is that you can create your own Blueprints (that can be distributed via RSS feeds). When you work through a few software projects, you start to see the same things needing to be done again and again. Building a Blueprint is not neccessarily trivial, but what you can do is to ‘harvest’ all of the common code between these projects.

Why not just create a common code library? That is a good idea no matter what else you do, but what Blueprints does is allow a delivery of the common code and the documentated guidance as well, all in the one package. A Blueprint can be composed of other Blueprints, so there is a lot of scope to create some complex, task-specific Blueprints quickly.

Is it any good? After high hopes for it, I am a little disappointed overrall. It is quite cumbersome to create your own Blueprints, and the documentation support is quite lacking, which leads to a pretty steep learning curve to get the most out of it. Also, the use of a Blueprint within your project is more intrusive than I would like … it just doesn’t feel friendly. Future versions of Visual Studio are set to include some incarnation of Blueprints, but I think it needs to improve a bit more first.

Posted by: Matthew | November 11, 2008

Extract assembly from the GAC

There are occasions where you may need to grab an assembly that is held in the Global Assembly Cache (GAC), maybe so that you can deploy it as a private application assembly.

Browsing to the GAC using Windows Explorer (C:\Windows\assembly) it uses a special explorer plug-in to display the assembly names and versions. This plug-in does not allow you to extract/copy and paste the assembly.

However, if you browsed to the GAC using a network mapped drive, this plug-in is not enabled! So, by mapping to \\machineName\c$\windows\assembly you’ll now have access to the raw assemblies.

GAC Assemblies

Posted by: Matthew | November 4, 2008

Christchurch Code Camp – Design with Paper Prototypes

The recent Christchurch Code Camp was a huge success – but I could be biased :)

Here are the slides for the lightning talk I did entitled Design with Paper Prototypes. The Powerpoint has speaker notes attached so there should be a rough idea of what I was talking about.

Drop me an email or comment below with any feedback (especially if you were there on the day!).

Posted by: Matthew | November 2, 2008

Microsoft SyncToy 2.0

At the recent Christchurch Codecamp 2008, Mat Veloso mentioned SyncToy as part of his session on “SQL2008 for developers”. It helps you copy, move, rename, and delete files between folders and computers quickly and easily. This is great for backup and for the whole laptop/desktop worker scenarios.

It was originally developed for professional photographers to sync their photos in confidence. It is built using the Microsoft Synchronisation Framework, which in terms of SQL Server, has the same features as Merge Replication. However, what the framework does is to abstract those same features and allow them to be applied to ‘providers’ other than SQL Server. In this case, the provider is the file system! To get an idea how this was developed, take a look at the white paper “Introducing Microsoft Sync Framework: Sync Services for File Systems”.

Well worth a look! Download SyncToy 2.0 from here.

Posted by: Matthew | October 20, 2008

Codecamp 2008 is coming to Christchurch

Mark it in your diaries – Saturday November 1st – Christchurch NZ .NET Code Camp
Location: Trimble, 11, Birmingham Drive. Time: Sat Nov 1, 9.00am – 6.00pm
Price: FREE

To register, go to www.dot.net.nz

One whole day of great technical presentations, including highly rated TechEd speakers Ivan Towlson and Kirk Jackson. Learn about C# 3.0 and SQL Server 2008 from Microsoft NZ (an agenda outline can be found on our website).

The theme this year is about “getting real”. No CTP’s, no beta’s, just practical sessions that will help broaden your technical knowledge. As an added incentive, there are chances to win lots of great prizes including hardware and a MSDN Premium subscription courtesy of Microsoft NZ and over a dozen products from Altova, Codesmith, Component Source, JetBrains and Typemock.

Older Posts »

Categories