Difference between #2 and #4 of
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Changes

Title unchanged

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

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

Angular, AngularJS, REST, AJAX, Gallery

Content changed

[...]
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/)

 
17 0
37 followers
Viewed: 105 747 times
Version: 1.1
Category: How-tos
Written by: drumaddict
Last updated by: Castea
Created on: May 26, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history