Angular.js application structure with a Silex PHP backend
- Silex a PHP microframe built from Symfony components
- Angular.js Javascript framework from Google
- Compass CSS Authoring Framework for SASS
- Composer a dependency Manager for PHP
- Bower a frontend package manager for the web
- Along with...Bootstrap, jQuery, Twig, Assetic, angular-bootstrap, ui-router
This is a simple starter setup for building angular.js applications from a Silex
Those of you that need a little more that a single page app (SPA). This allows for simple PHP based routes with as much or as little of either PHP or angluar as you wnat.
$ git clone git@github.com:failpunk/silex-angular.git silex-angular
$ cd silex-angular
$ ./build.sh
In separate terminal windows run the following
$ compass watch [path/to/project]
$ php -S localhost:4000