Tutorials
How to Make a Single Page Application (SPA) with Cape.JS and Rails
By reading through this tutorial, you can learn how to construct Single Page Applications (SPAs) combining the Cape.JS with Ruby on Rails.
- Preface
- Setting up
- Creating the Top Page
- Showing the Reception Component
- Navigation Among Pages
- Rendering an HTML Form
- Models and Resources
- Collection Agent
- Showing Error Messages
- Refactoring with Partials
- Listing Registered Visitors
Cape.JS Primer
Let’s learn the programming of Cape.JS by combining Ruby on Rails with Cape.JS and making an easy TODO administration application step by step.
- Preface
- Hello, world!
- Reference of custom attribute value and nesting of HTML elements
- Creating the text nodes
- Integrate Cape.JS with Ruby on Rails (1)
- Integrate Cape.JS with Ruby on Rails (2)
- Let the component have the date
- Initializing the date with Ajax
- Assignment of event handler
- Updating the data with Ajax
- The data store
- Show the form for new task
- Creating new task
- The edit form of the task
- Update the task
- Delete the task
- Cape.JS 1.2
- Collection agent (1)
- Collection agent (2)
- Collection agent (3)
- Change displaying order (1)
- Change displaying order (2)
- Change displaying order (3)
This tutorial is an English translation of blog entries written in Japanese.