Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Playground for Bancha developers
PHP JavaScript CSS
branch: master
Failed to load latest commit information.
Config Updated schema and error message
Console Updated config files to cakephp 2.2.1 build
Controller Updated schema and error message
Lib Added cake default project for 2.0.5
Locale Updated examples for Bancha 2
Model Improved examples, added associated example and tree example
Plugin Updated Bancha to 2.4.0
Test/Case Updated Bancha, extended readme
Vendor Added cake default project for 2.0.5
View Layout improvements
tmp Added tmp folder zu commit
webroot Updated examples
.gitignore Improve loading speed
.gitmodules
README.md Updated copyright and links
index.php Updated examples for Bancha 2

README.md

Bancha logo

Bancha Sample Project

This is the development playground for Bancha developers, providing sample of how to use Bancha.

Live demo

How to setup the project

CakePHP Setup:

  1. Download CakePHP latest (tested with 2.0.6, 2.1.5, 2.2.0, 2.2.8, 2.3.0, 2.3.8, 2.4.0, 2.4.1)
  2. Delete the app folder
  3. Open the terminal inside the cake folder and type: git clone --recursive https://github.com/Bancha/BanchaTestProject.git app (alternativly download this project inside /app)
  4. Configure your app/Config/database.php, then go in your console inside app/ and execute "./Console/cake" schema create to create all the tables. You may also want to use the example data in app/Config/Schema/testdata.sql (you probably will need to change the table prefix in this file).
  5. Open /bancha/setup-check.html to see if everything works.

For Ext JS Support:

  1. Download Ext JS.
  2. Place ext-all.js and ext-all-dev.js inside app/webroot/js/ and the Ext JS ressources folder into app/webroot/css/
  3. If your application is not running in the domain root, please adopt the path in Ext.Loader.setPath('Bancha','/Bancha/js'); in all app/webroot/js files to match your-path-to-cakephp-root/Bancha/js
  4. Open one of the various examples (placed in app/webroot/), e.g. localhost/crud-samples.html

For Sencha Touch Support:

  1. Download Sencha Touch 2.
  2. Place sencha-touch-all-debug.js and the resources folder inside app/webroot/js/touch/sencha-touch/
  3. If your application is not running in the domain root, please adopt the path in Ext.Loader.setPath('Bancha','/Bancha/js'); in app/webroot/touch/app.js:17 to match your-path-to-cakephp-root/Bancha/js
  4. Open the WebApp in your browser, localhost/touch/

That's it, enjoy!

More information


This package is not for production use. It includes multiple licences, everything works under GNU General Public License version 3 as far as we know, but there is no warranty.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.