{"id":1422,"date":"2023-06-21T15:50:11","date_gmt":"2023-06-21T07:50:11","guid":{"rendered":"https:\/\/malaysia.wordcamp.org\/2023\/?post_type=wcb_session&#038;p=1422"},"modified":"2023-08-22T03:21:33","modified_gmt":"2023-08-21T19:21:33","slug":"what-is-headless-wordpress-and-why-should-you-use-it","status":"publish","type":"wcb_session","link":"https:\/\/malaysia.wordcamp.org\/2023\/session\/what-is-headless-wordpress-and-why-should-you-use-it\/","title":{"rendered":"What is Headless WordPress and why should you use it?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Headless WordPress refers to a decoupled architecture where the WordPress content management system (CMS) is used as a back end, providing content management capabilities, while the front end is built using a separate technology stack or framework. In a traditional WordPress setup, the CMS handles both content management and front-end rendering. However, with a headless approach, the front end is disconnected or &#8220;headless&#8221; from the back end.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This front-end application can be developed using various technologies such as React, Angular, Vue.js, or any other modern JavaScript framework.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why should you use Headless WordPress:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flexibility: You can choose the most appropriate framework or library for creating a dynamic and interactive user interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enhanced Performance: Separating the front end from the back end can improve performance.It can make use of techniques like lazy loading, caching, and server-side rendering to deliver faster and smoother user experiences.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Scalability: If you have heavy traffic on your website, you can scale the front-end servers separately from the CMS, ensuring better performance and stability.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Omnichannel Content Delivery: Headless WordPress allows you to deliver content across multiple platforms and devices, such as web, mobile apps, smart TVs, or even IoT devices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Future-Proofing: Headless WordPress enables you to future-proof your website by separating the content management system from the presentation layer. If you decide to change or upgrade your front-end technology in the future, the content and data from the WordPress CMS can still be utilized without significant disruptions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Developer Experience: Headless architecture provides developers with the freedom to work with their preferred programming languages, frameworks, and tools.<\/p>\n\n\n<div class=\"wp-block-wordcamp-session-speakers\"><span class=\"wp-block-wordcamp-session-speakers__byline\">Presented by<\/span><span class=\"wp-block-wordcamp-session-speakers__name\"><a href=\"https:\/\/malaysia.wordcamp.org\/2023\/speaker\/liton-arefin\/\">Liton Arefin<\/a><\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Headless WordPress refers to a decoupled architecture where the WordPress content management system (CMS) is used as a back end, providing content management capabilities, while the front end is built using a separate technology stack or framework. In a traditional WordPress setup, the CMS handles both content management and front-end rendering. However, with a headless [&hellip;]<\/p>\n","protected":false},"author":12185552,"featured_media":0,"template":"","meta":{"_crdt_document":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1694230200,"_wcpt_session_duration":900,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1421],"footnotes":""},"session_track":[31],"session_category":[],"class_list":["post-1422","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-room2"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"session_date_time":{"date":"September 9, 2023","time":"11:30 am"},"session_speakers":[{"id":"1421","slug":"liton-arefin","name":"Liton Arefin","link":"https:\/\/malaysia.wordcamp.org\/2023\/speaker\/liton-arefin\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/1422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/1422\/revisions"}],"predecessor-version":[{"id":3040,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/1422\/revisions\/3040"}],"speakers":[{"embeddable":true,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/speakers\/1421"}],"author":[{"embeddable":true,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wporg\/v1\/users\/litonice13"}],"wp:attachment":[{"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/media?parent=1422"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_track?post=1422"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/malaysia.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_category?post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}