New on LGG: how to quickly make a mobile version of a site

by Jason on February 12, 2009 · 2 comments

Over at LGG Media, we’ve started sharing some of the stuff we do in a series of Technical Notes (OK, there’s only one right now, but it’ll be a series, honest!).  We’re releasing them as PDFs because… wait for it… yes, I frigging hate formatting source code in HTML even with a good plugin.

In the first note, we go over a new technique we’ve developed with Microsoft’s ASP.NET MVC framework to easily make WAP, iPhone optimized and other versions of a web page without duplicating any code or otherwise creating a maintenance nightmare.

This is my first “technical article” and I’m sure there are a lot of other ways to exploit this technique, so comments are more than welcome – let me know what you think!  You can see the note (and all future ones) here.

{ 2 comments… read them below or add one }

Kevin Mudrick February 12, 2009 at 2:47 pm

Same idea could apply to other platforms too. With J2EE you could use Struts/Tiles to do basically the same thing. Good deal.

BTW, if you are diving into delivering for mobile devices – WURFL I think has a .NET port (amongst other platforms) for their abstraction lib that tries to figure out device sizes/capabilities based on a db of user agents.

Jason February 12, 2009 at 3:02 pm

Yeah, I imagine it applies to most MVC systems out there, we’re just in love with the MS one at the moment :)

Huge fans of WURFL over here, looking forward to integrating the DB into a capabilities library real real soon, thanks for linking it in for other readers!

Leave a Comment

Previous post:

Next post: