Mattias Rost

Researcher and Coder

Bret Taylor on Mobile Web and Native

Posted on 2011-10-24

Here's an interview from Web 2.0 with Bret Taylor, CTO and Brogrammer at Facebook. The interview is about Facebook's mobile initiatives.

Facebook wants to be the App Discovery channel. There is a technology side and a business side of apps. The technology side is about choosing platforms for which to build your app and user experience. Facebook do not want to be the ones picking the platform but rather support an experience for all. The business side is about App Discovery, how a brand and app developer can get their app to their users. This is where Facebook can help, by offering a channel where app developers can get their users to spread their apps to their friends through e.g. the New Feed.

I think there is a lot of interesting things in his views on this and we have been knowing that App Discovery is gonna be huge since me and Lars Erik went to AppNation last year. When there are a million apps out there, how are you going to make sure users find yours, and how are users gonna find the one for them? I think Facebook might be a great platform for that. I too believe a lot in serendipity (as can be seen in several of the projects I've done over the last years like Push!Photo), and like Bret Taylor says: "Social means serendipity.". When combining this with his technology statement that "Making a social app is making an app ubiquitously accessible.", then I think it is easy to see that HTML5 will play an important role in getting all of that together.

Fitvids

Posted on 2011-10-10

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!