Creating a Mobile Component for Visualforce

As a Visualforce developer, I’ve been reading about HTML5 features with great interest, specifically the features that add detection and optimization for mobile devices. Several weeks ago, the Mobile Components for Visualforce project was released, which got me pretty excited. I’ve been hacking with JavaScript for awhile, attempting to create speedy Visualforce apps, when I see that we are suddenly given an easy-to-use library that does exactly that, plus works on mobile devices. What a gift!

But, what black magic powers this Mobile Components framework? How is its JavaScript organized to smoothly and quickly move data from a Salesforce org to the browser? Motivated by such questions, I started studying the code, and expanding upon it by making a new component. With the knowledge I gained from such work, I was asked to write a guest blog post for the Force.com community that sheds light on the innards of the framework. If you’re a Visualforce developer who is interested in making mobile-optimized pages, check out my article and see if the Mobile Components for Visualforce library can help you out. It has a solid backbone, and is hungry for new components to add to its library, so head to GitHub project page, make a fork, and help us further improve the project.

Leave your comments...

Creating a Mobile Component for Visualforce