Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#39533 closed feature request (invalid)

Developing a native javascript api for wordpress

Reported by: torabian Owned by:
Priority: normal Milestone:
Component: REST API Version: 4.8
Severity: normal Keywords:
Cc: Focuses: javascript, rest-api

Description

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.

Change History (2)

#1 in reply to: ↑ description @pabloverano
10 years ago

Replying to 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

#2 @rmccue
10 years ago

  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

Hi, and welcome to WordPress Trac. Trac is used for tracking bugs and feature requests in WordPress. Support queries like this one should be posted on the ​support forums instead.

Note: See TracTickets for help on using tickets.