Please read the README
When to Use Spinetail
Use spinetail when you want to prototype a web-application before you start on the production or development builds, and possibly before you even decide on what technologies the web application will use. You may have some static wireframes to work off of or a written specification, but in either case you need to see the program in action at an early stage. ### Strengths and Weaknesses ### #### Strengths ####
Basic setup consists of three simple steps
If you want to use a model there are two additional steps
For basic functionality, that is all there is to it. If you want to work with a model, read the "Working with Model" section below.
Note: Controllers can of course contain any number of properties and methods, but only the main method is executed when a view is dispatched. If you want a specific method within your controller to be executed when you dispatch a view (AKA onLoad), make sure to call it from main. ### Working with Models ### Once you familiarize yourself with Taffy DB (http://www.taffydb.com), working with models in spinetail is really very simple and intuitive. Data can be created, read, updated and deleted from "collections" by creating simple methods in your controllers. The important thing to remember though is that in spinetail, data is not persistent. Meaning any changes made to a collection's data revert during the next page load. The exception to this is data that is defined in the collections.js file, when a collection itself is defined.If you need data to persist you can modify spinetail to write cookies or use some sort of server-side data store. ### What's a "Spinetail" ### It's a bird. Try a google search for "spinetail bird photos."
File listTips: You can preview the content of files by clicking file names^_^
- Page 1
- Total 1