Blog

Use AngularJS as WordPress frontend

WordPress is one of the best CMS available for free today. It come with a huge community that provide lot of themes and plugin for almost every purpose. This great flexibility have a downside, its heavy to lo ad and view. The page view require a lot of HTTP calls and usually it make the page loading very slow.

When i was looking for a better mode to serve WordPress pages i’ve found the WP JSON plugin. From it,  the idea to serve contents with an AngularJS single page application.

In This way the page load can be very fast and i’ve the chance to override almost every original behaviour simply by coding some AngularJS controller and views. I’ve found the WordPress theme programming not so easy and if you don’t know all the APIs, hard to learn. Using AngularJS as front-end, doesn’t require WordPress API knowledge and give you the possibility to manipulate your content as you like just using one of the best JavaScript front-end framework.

Author

ateetagrawal