BaseJS: A Mobile (Safari) Javascript Framework

When Paul Armstrong started searching for Javascript frameworks for iPhone optimized web development, he wasn’t satisfied with what was available. While the existing frameworks were good, there were a few issues that made them unattractive.

For example, the availability of -webkit-transform and –webkit-animation removed any need for an animation library. Also, with the introduction of the Query Selectors API, a complex javascript selectors engine is redundant. It seemed every JS framework he came across was simply too large, even when minified, for the iPhone’s cache.

So Paul did what any developer in his right mind would do (ok, well, maybe not) and created his own javascript framework. He calls it BaseJS, a simple, lightweight framework created specifically for Mobile Safari.

BaseJS Features

  • Lightweight: less than 8KB when minified
  • Fully-compatible with Mobile Safari
  • Falls back on Sizzle selector library for iPhone 1.x (when query selector support is unavailable)
  • Encourages use of CSS Transitions and Animations
  • Object-oriented
  • Easy to extend

Read more:

baseJS Documentation

Download BaseJS

Was this article helpful?
About S. Santos

I am a tech columnist and blogger by trade, but I'm also an avid tennis player. In my spare time, I enjoy reviewing gadgets and gizmos from the world of tech.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.