Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Silex, Propel, Backbone
branch: master

This branch is 188 commits behind willdurand:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
src/Propilex
tests
vendor
web
.gitignore
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

Propilex

A Silex application which uses Propel, Backbone.

Installation

Install dependencies:

php composer.phar install

Build Model classes, SQL, and the configuration:

./vendor/propel/propel1/generator/bin/propel-gen app/config main

Configure a database:

mysql -uroot -e 'CREATE DATABASE propilex'

mysql -uroot propilex < app/config/sql/Propilex.Model.schema.sql

You're done!

Configuration

All the configuration is located in the app/config/ directory.

  • runtime-conf.xml contains the database configuration, if you modify it, don't forget to rebuild things by using the previous command;
  • config.php you should not edit this file, except to turn on/off debugging stuffs.

Credits

Inspirated by: http://www.jamesyu.org/2011/01/27/cloudedit-a-backbone-js-tutorial-by-example/

Something went wrong with that request. Please try again.