Embedding video in a responsive web design can be a hassle. With FitVids.js (via Think Vitamin) it is now a piece of cake. Check video below.
Web apps are like Lego
Posted on 2011-10-09
Just read another example on how Web Apps are Like Lego. Not precisely in the same way I would use such an analogy, but an interesting one none the less. Basically Christian Heilmann, evangelist at Mozilla, used it to exemplify how when you build web apps it is easier to reuse components. However he also goes as far as saying that the web app makes a less optimal experience compared to a native app, but that it is compensated by the more rapid development, and the improved reach to more devices. I disagree with that, and hail that a properly designed mobile web app can ge beyond what a native app can do. Employing responsive design for more than layout but also functionality, one can create a context aware mobile experience, and a contextualized desktop viewing experience, all through one well thought out design. So, I agree that web apps can be seen as Lego, but I also think Lego can be more powerful, and more beautiful, than badly formed clay.
Responsive IMGs
Posted on 2011-09-29
My friend Viktor at We Made You Look pointed me to this article at Cloud Four on Responsive IMGs. The article makes a case for what is the problem with IMG tags when doing responsive web design. What you want in a truly responsive web design when it comes to images, is to only load images of the size needed for the viewing display. Using IMG tags one can set the src attribute to the smallest possible image, and then through scripting change the src attribute to what ever is appropriate once the display size is known. For small screens this works well, however for bigger devices this slows the loading down as it has to do two requests (and loads) for each image (unless the script manages to change the src before the browser starts fetching the image). There are of course other techniques for responsive images, by for instance using CSS and media queries, but the article deals with the problems with the IMG tag specifically not other techniques. I prefer using media queries which to me makes most sense from a technology standpoint, but I agree it is far from ideal. However it is what is available now, and should therefore be used!
He goes on to start a discussion about what would be appropriate to future proof the IMG tag - i.e. what is needed in order to make sure responsive web designs also work for devices, screen sizes, and resolutions, that we do not know of yet. He makes his own list of what he believe is needed and encourage readers to add to it.
Cloud Four is an excellent blog on web and mobile development and design, and is definitely worth a visit!
How to choose between web and native
Posted on 2011-09-29
Forbes has an article on how to choose between mobile web and native apps. It has a simple overview of pros and cons of the two, and what intermediate versions there are. Their claim is that it is more complicated than two ends of a spectrum, but you can choose in between. Most interestingly is what they name a dedicated web app
Dedicated web app, which is a mobile web site tailored to a specific platform or form factor, like the LinkedIn web app which was designed for Android and iOS, but not for other smartphones or feature phones.
as opposed to a generic mobile app "which are mobile web sites designed to match every web-enabled phone, like the Wikipedia mobile page.". I have definitely gone for the dedicated web app more times than the generic mobile web app.
I agree in principle with their end points, which state that you should build whatever solution you decide on, on the data. Create an API for the data, and build the app to use the API. This is really just good development style, but can definitely help when building mobile (web) apps if you need to try different solutions later on. As some people advocate "web first, native second" (e.g. this guy), having the API and data in place, you have laid the ground work.
SlideShare goes HTML5
Posted on 2011-09-28
SlideShare just ditched flash for HTML5. This is of course awesome for the sake of HTML5, but it is also awesome for the people using it. This means that it will work everywhere where there is a browser capable of HTML5 (i.e. any modern browser including mobile ones). Unfortunately they did not go responsive on this one, but have separate versions depending on the device (so far I've seen a desktop version and a mobile version, and the mobile version seems to be adapting to the screen size.) They explain the benefit of having a mobile web app instead of going native for mobile in their own words
If you send someone a link to a presentation and they have to download an app to view it, that’s not a pleasant user experience. We want presentations on mobile devices to be accessible to as many users as possible.
Another step away from native apps, and a step into the world of web apps.