NOTE: SenchaCouch has been tested with Ext JS 4.0.7. Testing with Sencha Touch is forthcoming. Sencha Touch's data classes are similar enough where it might work with minor changes.
The specs are run using Jasmine. The spec runner is a web application hosted by a CouchDB server, and deployed using CouchApp. This is the excepted deployment configuration of an application using SenchaCouch, and serves as an example of how to develop and deploy your own application.
Install CouchDB. Create a database called
Install CouchApp. If you did not install CouchDB to localhost, modify
test/.couchapprcto point to the correct database. These instructions assume localhost is being used.
Due to license restrictions, Ext JS cannot be included as part of this project. You should download your own distribution and copy the ext-all-dev.js file into the
Change to the
testdirectory and run
couchapp push localto copy the application to CouchDB.
http://localhost:5984/sencha_couch_test/_design/test/run.html. The specs will launch immediately.
I was inspired to develop this project after watching Shane Avery's fantastic video tutorials on combining Ext JS and CouchDB. Thanks, Shane!
Thanks also to Clint Harris, who posted some very helpful code on the Sencha Forum.
Copyright 2012 Steven R. Farley
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.