Angular.js application structure with a Silex PHP backend
The Stack
- 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
Who should use it?
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.
Installation
$ git clone git@github.com:failpunk/silex-angular.git silex-angular
$ cd silex-angular
$ ./build.sh
Delevlopment
In separate terminal windows run the following
automatically watch and compile SASS with compass
$ compass watch [path/to/project]