Skip to content
A demonstration of the NestedList view in Sencha Touch.
Ruby JavaScript
Find file
Pull request Compare This branch is 2 commits ahead, 9 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
public
script
spec
views
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
application.rb
config.ru
environment.rb
music.yml

README.md

A demonstration of how the Nested List View in Sencha Touch.

Also, see the Sencha Touch Nested List example.

Getting the sinatra app running

This example uses Sinatra to run a simple backend that serves json responses. To run it on your system, you will need to have Sinatra and postresql installed.

Installing Sinatra (and all dependencies)

Sinatra is a very simple web application framework written in ruby. If you have rubygems installed, then you can set up your environment simply by running the following from the root directory for this project:

gem install bundler
bundle install

This installs all of the dependencies required to make this Sinatra app run.

Create the database

Create the Postgres database:

createdb music_catalogue
rake db:seed

Deploying to Heroku

Run:

git push heroku master
heroku rake db:seed

TODO:

  • clicking a leaf node should scroll to show a fresh page
  • update the text in the 'Back' button to show parent title (not 'Groceries')
Something went wrong with that request. Please try again.