Tag Archives: mobile

Top 10 Performance Techniques for Mobile Web Apps

Christophe Coenraets (Adobe technical evangelist) did a great talk on Top 10 Performance Techniques for PhoneGap Mobile Web Apps (link)

I thought I’d quickly outline the techniques discussed in his talk

#10 Don’t generate the UI at the server-side
– Create the UI in javascript at the client-side
– Insert views into- or remove from the DOM

#9 Don’t wait for the data to display the UI
– Perception management
– People will wait for data, not for UI

#8.1 Cache static data
– LocalStorage / SQLite

#8.2 Cache Dynamic Data
– Present cached data first, then
– update UI when requested data arrives

#8.3 Cache JS query selectors
– assign selectors to avoid traversing the DOM repeatedly
– Coding convention tip: prefix ‘$’ to selector variables e.g ‘var $backButton’

#8.4 Cache Precompiled templates

#7 Use CSS transitions with hardware acceleration
– (CSS) transform: translate3d()
– micro-library:

#6 Avoid ‘Click-Event 300ms’ Delay
– micro-library: FastClick :

#5 Use CSS Sprites
– ala Glyphicons

#4 Limit use of shadows and gradients

#3 Avoid reflow (re-layouts)
– Build UI off-DOM then apply

#2 Do you need that framework?

#1 Test. Test. Test
– Test with production data
– Test with many devices
– test with bad networks

Leave a comment

Posted by on June 4, 2013 in HTML5, Mobile, PhoneGap


Tags: , , , ,

Polymorph Systems

Polymorph Systems

A great highlight from AppsWorld – Africa 211 for me has to be Herman Lintvelt’s (@hermanlintvelt) presentation on Domain Specific Language programming using the XText framework and Applause.

The idea behind this method of application development is to abstract the device specific (boiler-plate) code from the business code to avoid having multiple code bases for each device, model or platform.

Domain Specific Language : Programming with Purpose

Leave a comment

Posted by on June 3, 2011 in Site News


Tags: , , , , , ,

Apps World & Social Media World Forum

I’m at the Africa leg of the AppsWorld conference held at the CTICC, Cape Town.

So far, there have been some fantastic talks around the development of mobile applications and the business of monetizing apps.

The conference has also proved to be a great place to network with the vendors (Nokia, Blackberry, Sony Erricson, Saamto etc). I must make special mention of Yusuf from NokiaSA whom I had a great discussion with regarding Nokia’s commitment and support for their development community. There is real value there!

Well, it’s time to head back to the talks and make connections.







Leave a comment

Posted by on June 2, 2011 in Site News


Tags: , , , , ,