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

Revision #3 has been created by drumaddict on May 27, 2013, 5:40:48 PM with the memo:

uploads folder
« previous (#2) next (#4) »

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: 104 605 times
Version: 1.1
Category: How-tos
Written by: drumaddict
Last updated by: Castea
Created on: May 26, 2013
Last updated: 9 years ago
Update Article

Revisions

View all history