Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I plan to make a plugin which should act as Backend for angularjs. And I search for a good tutorial for the implementation steps, but till now I did not found any good. Making some researches I found this, but about my understanding is not extendible for plugins. Or am I wrong? So how would I make a restAPI for a Plugin which on request would pull json response?

example

GET /collections             show all collections

GET /collections/summer      show summer collection
share|improve this question
    
This is extremely broad and I doubt many people (relatively) are actively familiar with implementing AngularJS in WP environment. You are better of making an attempt on some initial implementation and focus question(s) on more specific challenges. There is no "the" way to implement APIs in WP (well, until that possible merger in core of that project). –  Rarst May 29 at 8:13
    
than point me here -> "some initial implementation" please –  fefe May 29 at 8:26
1  
@fefe The WP-API project is very extensible, see the related docs: github.com/WP-API/WP-API/blob/master/docs/guides/extending.md –  Rachel Baker May 31 at 15:32
    
thank u thank u I did not saw this one! –  fefe May 31 at 17:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.