In my last two articles I have discussed how to prepare your WordPress site to act as the backend for a JSON REST-API powered app using a separate, non-WordPress front-end, and I have illustrated how to use Node.js and Express to power that front-end. This article will show you how to get content in and out of the basic HTML layout, and how to use the HTML5 history API to update URLs. As I emphasized in the last article: using a node.js front-end provides a faster front-end experience, which is easier for non-WordPress developers to work with and provides complete separation of concerns for front-end templating. While my example […]
Preparing Your WordPress Site to Power a Single Page Web App
Having a RESTful API in WordPress opens up options for WordPress developers and non-developers alike. Most of my articles on the REST API focus on using it to improve WordPress sites. But one equally exciting thing about having a RESTful API, which we haven’t discussed yet, is that it makes it easier than ever for developers who are not WordPress specialists to create the front-end for a site or app. And all can be done without disrupting the use of WordPress for content management. This should excite developers because, though WordPress shines as a content management system, PHP leaves much to […]
Client Side Applications Powered by the WordPress JSON REST API
With the WordPress JSON REST API (or the WP-API) slated to be included in core by the end of 2015, there are lots of different ways people are planning to use it to build cool things. This article takes a closer look at client side applications using the WordPress JSON REST API, and explains exactly why you should be excited about them. Web Applications and MVC The difference between a web application and a traditional website is confusing as the line is often blurred. I won’t get too much into detail, but this article on Vision Mobile can help you better differentiate the two. […]
WordPress Highlights from 2014
It’s been a great year for Torque Magazine — filled with plugin reviews, business development, WordPress releases, interviews, and more. Let’s take a look at some of Torque’s most popular articles in 2014! WordPress mobile 2014 was a big year for mobile devices in WordPress land. The year kicked off with a the release of AppPresser — the first mobile application framework for WordPress. The theme of WordPress mobile gained momentum throughout the year. . . Torque even went mobile: You can read about the official app (made with AppPresser’s Reactor service) here. Here are some of the top WordPress mobile articles on Torque in 2014: Yes, you really can use WordPress […]
WordPress REST API Merge Proposal Submitted For WordPress Version 4.4 And 4.5
After months of excitement and speculation, over the weekend the WordPress core team made a big announcement: It’s time to merge the REST API into the WordPress core. The proposal is still in its earliest stages, and so the team is currently looking for community feedback to take the project forward. If you have any suggestions for the team, be sure to head over to the Make WordPress Core blog. We’ve talked a lot about the REST API here at Torque, so I won’t go into too many details. If you want to read more, be sure to check out […]
No Comments
Start the conversation