Friday, June 12, 2009

10 Firefox Add-ons for Mobile Developers

The following add-ons are invaluable for anyone developing mobile sites.

XHTML Mobile Profile
This add-on allows FireFox to support the XHTML Mobile Profile mime type

This add-on allows FireFox to support WAP 1.0. Just in case you are unfortunate enough to need it.

Just as essential for developers of mobile sites as those viewed on the desktop.

HTML Validator
Because validation is even more important on mobile as some browsers really struggle or even throw errors with invalid markup. 

Web Developer
An essential tool for all web developers.

Yahoo's tool for identifying ways to improve the performance of a pages load time (Requires FireBug)

Page Speed
Google's tool for identifying ways to improve the performance of a pages load time (Requires FireBug)

User Agent Switcher
Allows testing how a site will be displayed on various devices. (Assumming that pages are adjusted for sites based on the UA.)

Modify Headers
Because sometimes you need an easy way to test, and change, headers other than just the User Agent.

Live HTTP Headers
Another way to see what headers are being sent.

Wednesday, June 03, 2009

It's M. R. not mister

Not that it really matters, but...

With the domain (and .com and .net and .mobi) and the twitter name @mrlacey it might not necessarily be obvious, but the 'mr' refers to my initials, rather than my title.

Yes, my full name if Matthew Robin Lacey.
Yes, this makes me Mr M R Lacey.
No, this isn't a reference to a certain pop act.

Notice over, please carry on.

Tuesday, June 02, 2009

In C#: generate a class for an XML file

For my own reference as musch as anything.

Often it's useful to have a helper class to work with a complicated XML document. Unfortunately, I seem to most often need to do this for documents for which there is no official schema.

Here's a quick way to get things done using xsd.exe.

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe"

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe"
config.xsd /classes /language:CS /namespace:MyNamespace

Monday, June 01, 2009