VIVAHATE

Snail

Snail is a tiny, client-side web framework built on top of jQuery.

Source & Documentation

Snail is on GitHub and so is its documentation.

Features

  • Asynchronous page loads
  • Events for page load, show, and hide
  • Simple hyperlinks for navigating between pages
  • A page stack for relative back links
  • Simple XHR/REST interface
  • Per model caches with configurable TTL
  • An each function to loop over objects in an index
  • A load function to fetch an object
  • PhoneGap support
  • Only 923 gzipped bytes
  • The s$ global looks like a snail

Sample App

index.html

app/home.html

app/snails.html