Archive for April 7th, 2011

OpenSocial State of the Union 2011!!

The OpenSocial Foundation cordially invites you to attend the annual State of the Union event on May 12, 2011, from 1:00pm to 5:00pm. This is your chance to learn first hand about the exciting new happenings taking place in the community. In addition to presentations from members of our community, there will be two additional opportunities for you to be directly involved, the pre-SOTU interop event, and the Happy Hour/Poster Session!


Don't sit on the sidelines--get involved!!
There will be a Happy Hour & Poster Session immediately following the State of the Union from 5:00pm ~ 7:00pm. You are welcome, and encouraged to use this as an opportunity to share your ides. Simply sign up on the OpenSocial wiki page. This will be a great chance to learn about all the wickedly cool stuff happening with OpenSocial. And don't forget to bring your laptop. What goes better with a cold beverage than a bit of hot code?

Attend the pre-SOTU interop & spec working session!
Got a gadget? Got a container? Now's your chance to meet the developers of applications and containers and get "interoping". From 8:30am to 12:00pm (location TBD) there will be an an opportunity for application providers to work directly with container providers to demonstrate the interoperability and portability of OpenSocial based applications. The wiki page is under construction and will be updated as we fill in the details.

OpenSocial 2.0 is under development!
There are some incredibly exciting proposals out there, e.g Embedded Experiences and Activity Streams. Not to mention mobile. The pre-SOTU event will also be an opportunity for specification authors to work together on many of the exciting 2.0 proposals.

I look forward to seeing you and, of course, encourage you to get involved and participate. All are welcome to attend both events. However, space is limited so please use eventbrite to register in advance.

If you've got any questions, drop a note on the OpenSocial Community group.

The Web is better when it's OpenSocial!

Mark Weitzel
President, OpenSocial Foundation

HTML5 and polyfills – one script to rule them all?

A common discussion about HTML5 and whether to use it, and touched on in the HTML5 Hurdles article, is usually about fallback support and making it work in every web browser. But do we really need that?

Polyfills

When it comes to making various things offered in HTML5 working in older web browsers, both new elements with connected functionality and HTML5 APIs, we have the option of using polyfills. It’s a smart approach which will make their existence automatically obsolete over time as people upgrade their web browser to later versions.

It’s a mindset I really approach, as opposed to writing your own libraries where you need to change the syntax from the default API one offered. I personally think respecting native APIs is important, both for code understanding and handover. Also, I don’t like introducing syntax dependency on a library/syntax if not completely necessary.

The beauty of conversation

While I think polyfills definitely play their part in offering HTML5 experiences for older web browsers, another thing I think it’s important to reflect on is whether we should really try and give the same experience for every web browsers. While polyfills are great, we’re giving all this extra JavaScript to already weak and slow web browsers (meaning mostly older versions of Internet Explorer), and even if they do manage to render things/make the APIs work I’m not convinced it is always for the best.

I think we need take the varying support and also speed of web browsers into consideration, and focus more on offering the best experiences for the latest web browsers who can give that. Same goes for mobile: while the technical support might be there, it doesn’t necessarily mean that the performance is up to the task.

Somewhere I get the feeling we have sort of missed out on one of the ideas of progressive enhancement, when we offer something basic for everyone and then enhance it for those web browsers which have better support. I think that offering a poor user experience on older/weaker web browsers can do more harm than good, and that those users would be better off with a basic well-working version instead.

I find the beauty of coding is like the beauty of conversation – it completely depends on who you are talking with. You adapt your words, sentences and topics through the interaction with the other person(s). Same with web browsers. Evaluate the support for code, performance and other upsides and shortcomings, and then deliver the best based on that.

Choose wisely

To summarize: I’m not saying that polyfills are the salvation, nor something to shy away from. But consider your specific situation: what are you building, how should it work and what is the best time, money and effort spent in creating that end user experience. There’s no ultimate solution for everything, but rather an opportunity to make each thing you work on as special as it can be.

Disclaimer: This blog post is based on talks I have had with Christian Heilmann, and consider that as an inspiration.


  • Sponsored Links

  • April 2011
    M T W T F S S
    « Mar   May »
     123
    45678910
    11121314151617
    18192021222324
    252627282930  
  • .

    Copyright © 1996-2010 Answer My Query. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress