jlengstorf / code.lengstorf.com

A blog for me to nerd the fuck out.
https://code.lengstorf.com
ISC License
7 stars 3 forks source link

How to use WordPress as a REST API for a static site generator #5

Open jlengstorf opened 8 years ago

jlengstorf commented 8 years ago
masoninthesis commented 7 years ago

This would be really interesting to see. I've done a bit of research on this, but haven't come across an applicable use for it yet (to my knowledge), but I might just not be using my imagination.

jlengstorf commented 7 years ago

I've used it for sales pages in the past. I had a sales team that needed a CMS, but a dev team that wanted static assets to handle high traffic (thowing it up on AWS, more or less). The process was fairly simple, actually.

I should definitely write this one — I kind of lost track of it a while back when the project where I built it ended.

masoninthesis commented 7 years ago

Sounds interesting (especially because I'm currently working with a massive amazon seller to move their stores to woocommerce). Keep me in the loop on this!

pierremonico commented 7 years ago

I'm currently working on something similar, with more or less the same use case mentioned above. One team builds the pages on Wordpress, but we later want to serve them in a "traditional" MVC. Will keep you posted.

ghost commented 7 years ago

This is something I've looked for now and then and have considered making. I will likely do so for WordPress if no one else beats me (sounds like it's a popular idea at least in this thread).

There is simply-static, which I've known about for a while, but it'd be nice to have more built-in features for templating like what is described above.