[wp-trac] [WordPress Trac] #39533: Developing a native javascript api for wordpress

WordPress Trac noreply at wordpress.org
Tue Jan 10 23:11:34 UTC 2017


#39533: Developing a native javascript api for wordpress
-----------------------------+-----------------------------------
 Reporter:  torabian         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  REST API         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  javascript, rest-api
-----------------------------+-----------------------------------

Comment (by pabloverano):

 Replying to [ticket:39533 torabian]:
 > Currently I am searching a good combination on react universal app and
 connecting it to WordPress.
 > A good option to connect nodejs with php is to use the REST API, but now
 I am thinking to re-write WordPress database connection and WP_Query
 classes in JavaScript to query against database directly.
 >
 > I was wondering if I am going in a good path or not.

 Take a look at https://github.com/Pixel2HTML/wp-nextjs
 It might save you some work. A description of the work done can be found
 here: https://www.pixel2html.com/blog/our-journey-through-react.html

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39533#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list