JSON WordPress Post Pull

JSON WordPress Post Pull.jpg
[Try it]
2014. Personal. PHP. WordPress. AngularJS.

Motivation. I wanted to update my blog "shell" to utilize AngularJS and become familiar with the framework in the process. However, at the time of writing, AngularJS 2.0 is expected to bring significant changes, so I decided to keep it in the "sandbox"--a completed project, but not one to use live.

Technology. The PHP script was tweaked to be more RESTful and operate more like a web service rather than a static script for a dynamic page. This change enabled content to be delivered to the AngularJS (1.x) framework via AJAX. AngularJS then handled the display of the data.