PhoneGap By Example
上QQ阅读APP看书,第一时间看更新

Summary

Sencha Touch plays well with PhoneGap, mainly because they are both created to complement each other. Sencha Touch handles the web structural and UI parts, and PhoneGap handles the infrastructure to run on mobile devices. However, what we found out is that Sencha Touch is build to support the developer. It removes all those boring tasks, such as DOM element referencing, attaching event listeners, and so on. It also provides some ready-to-use components to work with LocalStorage. It's a great choice for the modern mobile hybrid application coding stack.

In the next chapter, you will learn how to access a device's native functions through the plugin interface. You will better understand the main feature of the PhoneGap application and learn how it functions as a bridge between the web and native parts.