Yii Framework Forum: Yii2 and Angular JS - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2 and Angular JS

#1 User is offline   folumike 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 122
  • Joined: 27-November 14

Posted 11 February 2018 - 12:45 AM

I want to develop an application that has admin, web and mobile section. How do I integrate AngularJS and REST API into Yii2 to achieve this.
I have 3 interfaces:

1. Backend (admin - setup) => http://localhost/lms/admin/index.php

Attached File  admin.PNG (1.2K)
Number of downloads: 0

2. Frontend (Teacher - module) => http://localhost/lms/index.php

Attached File  teacher.PNG (1.05K)
Number of downloads: 0

3. Student module => This is the student interface. I want it to be for mobile app using yii2 and angularJS.

Attached File  yii2.PNG (6.34K)
Number of downloads: 0

Since I've used backend for admin, and frontend for teacher, How do I go about the student interface.

Or is there a better way to do it.

Thanks
0

#2 User is offline   jim. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 156
  • Joined: 28-June 12
  • Location:Germany

Posted Yesterday, 05:16 AM

Example how to set up an api in app-advanced: http://budiirawan.co...stful-api-yii2/

Another example (not an app-advanced): https://github.com/s...ter/modules/api

AngularJS & Yii2: http://blog.neattuto...part-1-routing/
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users