最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

use WordPress Rest API to build a web application

matteradmin9PV0评论

This is fully updated question,

Angular provides two ways to build your wordpress site/application

  1. first choice is completely headless application i.e., you won't deal with wordpress dashboard at all. just fetch data required with the help of WP Rest API endpoints, and
  2. an angular powered wordpress theme.

Can anybody tell pros and cons of each of the above listed steps

Im not good at angular, so any comprehensive information would be appreciated.

This is fully updated question,

Angular provides two ways to build your wordpress site/application

  1. first choice is completely headless application i.e., you won't deal with wordpress dashboard at all. just fetch data required with the help of WP Rest API endpoints, and
  2. an angular powered wordpress theme.

Can anybody tell pros and cons of each of the above listed steps

Im not good at angular, so any comprehensive information would be appreciated.

Share Improve this question edited Aug 13, 2018 at 6:30 maverick asked Jun 15, 2018 at 11:09 maverickmaverick 4074 silver badges15 bronze badges 3
  • have you tried a e-commerce plugin like WooCommerce ? wordpress/plugins/woocommerce – mmm Commented Jun 15, 2018 at 21:15
  • actually the web application is not woocommerce powered site. it's a fund raising site so user should be able to pay the amount they want from the site. Thanks for the reply – maverick Commented Jun 16, 2018 at 4:16
  • This question could be helpful: Developing Themes with React/Angular – user141080 Commented Aug 13, 2018 at 6:35
Add a comment  | 

1 Answer 1

Reset to default 0

In general, if you want totally headless application, you should not use wordpress but JS, as with JS you will be able to reuse at least some of the code for both server and client sides.

As for using angular theme.... well the question is still why do you use wordpress at all as you will not get any of the benefits of using plugins to enhance the theme, so what is the added value wordpress gives you, an editor? some server side API you are used to work with? That might be a good enough reasons, but the mileage you will get out of wordpress will be considerably less compare to using a proper theme.

Post a comment

comment list (0)

  1. No comments so far