Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Split core infrastructure into separate directory #717

Closed
rmccue opened this issue Dec 10, 2014 · 2 comments · Fixed by #931
Closed

Split core infrastructure into separate directory #717

rmccue opened this issue Dec 10, 2014 · 2 comments · Fixed by #931

Comments

@rmccue
Copy link
Member

rmccue commented Dec 10, 2014

From #571. This should make it easier to review the infrastructure, and is our first step towards actually getting this stuff reviewed.

@rmccue
Copy link
Member Author

rmccue commented Jan 22, 2015

Basically, we want to take the API and split it into two sections: the infrastructure, and the endpoints. The infrastructure basically encompasses the server/router, request/response objects, and the main plugin.php file. We want to take those and move them into something like lib/infrastructure and the rest into lib/endpoints.

Essentially, it's everything you need to create an API, but not the user facing API itself.

@danielbachhuber
Copy link
Member

@rmccue I've broken out /lib/infrastructure and /lib/endpoints. Not clear what we want to do with plugin.php or lib/wp-json.php right now — can you specify?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants