This section is meant to help you use features in your projects without coding them from scratch. We provide snippets and examples on how to use them.
There are a number of javascript libraries which can be helpful when developing. For example, the modernizr.js library which can detect the availability of next-generation web technologies in your user's browsers. It can be downloaded at modernizr.com.
Another example is Zepto, a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Zepto. It can be downloaded at www.zeptojs.com and has many mobile-oriented functionalities like touch and swipe handling for example.
When developing for mobile, always keep in mind that users may be on a slow connection, so keep an eye on the size of your projects. Also, even though the speed of mobile devices is ever-increasing, they are less powerful than desktops, so you should try to take it easy with the graphical workload by, for example, limiting the amount of simultaneous animations.
Comments
0 comments
Article is closed for comments.