This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed May 28 16:02:38 -0700 2008 | |
| |
.gitmodules | Wed May 28 16:05:11 -0700 2008 | |
| |
History.txt | Thu Jan 08 10:53:30 -0800 2009 | |
| |
License.txt | Fri Mar 28 01:12:43 -0700 2008 | |
| |
Manifest.txt | Thu Jan 08 10:53:30 -0800 2009 | |
| |
README.txt | Wed Jun 25 15:48:57 -0700 2008 | |
| |
Rakefile | Tue Sep 30 16:10:20 -0700 2008 | |
| |
app_generators/ | Tue Sep 30 19:38:56 -0700 2008 | |
| |
assets/ | Sat Apr 19 00:33:32 -0700 2008 | |
| |
bin/ | Tue Nov 11 21:19:56 -0800 2008 | |
| |
clients/ | Mon Oct 27 15:19:31 -0700 2008 | |
| |
config/ | Thu Jan 08 10:53:30 -0800 2009 | |
| |
frameworks/ | Tue Sep 30 19:44:19 -0700 2008 | |
| |
jsdoc/ | Thu Jul 10 14:10:00 -0700 2008 | |
| |
lib/ | ||
| |
sc-config | Sun Aug 03 15:17:40 -0700 2008 | |
| |
sc_generators/ | Tue Sep 30 04:35:09 -0700 2008 | |
| |
script/ | Fri Mar 28 01:12:43 -0700 2008 | |
| |
setup.rb | Fri Mar 28 01:12:43 -0700 2008 | |
| |
spec/ | Wed Jun 25 15:46:07 -0700 2008 | |
| |
tasks/ | Wed Jun 25 15:46:49 -0700 2008 | |
| |
yui_compressor/ | Tue Dec 16 17:53:20 -0800 2008 |
README.txt
SproutCore JavaScript Framework SproutCore is a full MVC framework written in JavaScript for building desktop-like applications on the web. It makes building sophisticated applications for the web easier and more fun. This package includes both the raw SproutCore source as well as a complete build system for creating JavaScript applications and JavaScript libraries. ==== Benefits SproutCore comes loaded with a lot of features you would normally find in a full MVC desktop framework including: 1. "Bindings" that can automatically relay changes in a property from your model objects to your views. 2. A simple in-memory database for storing your models. 4. Buttons, labels, and other controls that can automatically enable, disable, change state and otherwise update themselves as your application state changes. 5. Efficient controls for rendering lists of items. 6. Efficient page loading optimized for handling large numbers of JavaScript controls. ==== Quick Start 1. To install the SproutCore build tools, just install the ruby gem: sudo gem install sproutcore 2. Then create your first application: sproutcore addressbook You can now start editing your app in my_app/clients. Each directory here is a single "page" that loads in your web browser. You will find directories already setup for your models, views, controllers, as well as HTML, images, and other resources. 3. To see your new app, just start the sproutcore server: cd addressbook sc-server Now visit: http://localhost:4020/addressbook 4. To add a new model, controller, or view use the generators: cd addressbook sc-gen model addressbook/contact Now you can edit the model in clients/addressbook/models/contact.js. 5. When you are ready to deploy your app, do a static build: cd addressbook sc-build Copy the files created in tmp/build to your web server and you should be ready to go. Built SproutCore applications are static HTML files; you do not need any kind of web application server to host them. (Of course, if you want to provide any data via Ajax, you will need a web application server for that.) ==== Documentation and Unit Testing To get the documentation for SproutCore, you can simply visit: http://localhost:4020/sproutcore/-docs You can do the same with your own clients to generate documentation for them as well. To run unit tests for your client, just visit: http://localhost:4020/addressbook/-tests Unit tests are automatically created whenever you generate a new view, controller, or model object. They are automatically excluded from your build whenever you build for production.








