AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Comparing #2 with #3

Revision #3 was created by drumaddict drumaddict on May 27, 2013, 5:40:48 PM.

uploads folder

Content

[...]
This will make your `config.php` functional both in local development and production environment.

* In`/index.php` configure your local and/or production **framework paths**.
* In`config/main.php` configure your **database info**.Point to the database you created earlier.
* In`config/main.php`,in params array fill in the **RESTusername** and **RESTpassword** fields.They are used for basic REST authentication.
**Note**:These credentials are sent from the client with custom headers,so your server must allow this.
 
* Create an `uploads\images\thumbnails` folder structure in project webroot.You can change the names in `ng-yii\src\scripts\config\constants.js`,and `protected\models\Image.php.`


### Frontend
[...]
* [spin.js](http://fgnass.github.io/spin.js/)
* [Select2](http://ivaynberg.github.io/select2/)