Upload
roy-sivan
View
124
Download
0
Embed Size (px)
Citation preview
WORDPRESS REST APIBUILDING WITH ANGULAR AND THE
ROY SIVANWHO AM I?
• Been using WordPress since the beginning
• Currently Working: The Walt Disney Company
• WPCrowd member - www.thewpcrowd.com
• RoySivan.com
• Github / Twitter / WPCrowd - @royboy789
WORDPRESS?SERIOUSLY?
WHY?
NO SERIOUSLY, WHY?
▸ You work with a team of content editors that want a simple CMS to manage content or data
▸ Create native apps using IONIC or NativeScript easily with your site’s content (or use AppPresser)
▸ You have the whole WordPress ecosystem, a large community with many developers
▸ Great for sites that are a hybrid of S.P.A and content-driven marketing pages
▸ A great way to build out a MVP!
BUT MAAAAYBE…WORDPRESS IS NOT MVC
FAUX MVC
THE POWER OF JSON
/posts - WP-API endpoint{ ID: 1 content: '<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>', title: 'Hello world!', status: 'publish', author : {..}, ...},…
EXTENDABLETHE API IS ALSO 100%
ALMOSTITS BUILT INTO WORDPRESS!
S.P.A, DIRECTIVE OR 100% DECOUPLED
IMPLEMENTATIONS
APIDEMOS OF ANGULAR & WORDPRESS
BUILDING SOMETHING COOL
ANGULAR RESOURCES BY ME!
Theme:https://github.com/royboy789/Angular-Wordpress-Theme
Plugin:https://github.com/royboy789/angularjs-for-wordpress
Decoupled:https://github.com/CalderaWP/angular-wp-front-end
Lynda Course:https://www.lynda.com/AngularJS-tutorials/AngularJS-WordPress-Building-Single-Page-Application/423997-2.html
BUILDING SOMETHING COOL
OTHER AWESOME RESOURCESWPCrowdhttps://www.thewpcrowd.com
WP-API on GitHub & Repositoryhttps://github.com/WP-API/WP-API https://wordpress.org/plugins/json-rest-api/
My Blog, AngularJS WP Theme & Pluginhttp://www.roysivan.com/blog
Josh Pollockhttp://www.joshpress.net
TorqueMaghttp://torquemag.io
ROY SIVANTHANK YOU
@royboy789
roysivan.com
thewpcrowd.com
lynda.com