Clearing the air: is wordpress being rewritten in node.js and react?

November 24, 2015
No Comments

Calypso announced a new admin interface for anyone using a WordPress website.WordPress is written in PHP, but the Calypso admin interface for WordPress is written with popular front end tools like React and Lodash. If you aren’t super comfortable with JavaScript, it would be a great time to start learning. It’s a little hard at first, but anyone can do it.

This is part of a popular trend – use your server to just give us raw JSON data, and then build your application entirely in JavaScript to consume that JSON data. WordPress essentially becomes an API which you can pull and push data from. This decoupling of the view and the backend logic has let the developers of WordPress move much faster because they don’t have 12 years of PHP view logic dragging them down.

WHAT ABOUT WORDPRESS IS NODE.JS?

Node.js is used to built almost all front-end tooling. Calypso is built with popular node tools like WebPack, Babel, Jade, Uglify, Hot Loader, Marked and over 100 other modules. WordPress start using node.js, because its one space a lot of people using these tools.

ISN’T IT JUST FOR WORDPRESS.COM ACCOUNTS? WHAT ABOUT SELF HOSTED? PLUGINS? CUSTOM POST TYPES?

Calypso is an editor and an RSS reader for WordPress.com sites. You can, however, use it to manage your self-hosted WordPress account. Once you enable Automattic’s JetPack plugin, you can manage your content with Calypso.

Now, you can only manage, Pages, Posts, Themes, Menus, Plugins and a few settings. Everything you need to manage a blog.

What is missing is an interface for custom fields, custom post types and any custom interface that a plugin would expose. This is a deal killer for most devs as not using WordPress just as a blog.

ABOUT THE AUTHOR

Techrish