{"id":2751,"date":"2026-11-10T08:04:01","date_gmt":"2026-11-10T08:04:01","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=object"},"modified":"2026-11-10T08:04:01","modified_gmt":"2026-11-10T08:04:01","slug":"object","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=object","title":{"rendered":"Object"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An object combines properties (data) and methods (actions) in one unit, such as a Customer object with a name and a function to send an invoice. Objects are created from templates called classes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Object-based design makes large programs easier to organise and reuse, including in WordPress plugins.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A booking system has a Reservation object holding date, guest and a method to confirm it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When commissioning software, ask developers how code is organised so it stays maintainable.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>In programming, a bundle of data and the actions that work on that data.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[20],"dc_topic":[34],"class_list":["post-2751","dc_term","type-dc_term","status-publish","hentry","dc_letter-o","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2751\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2751"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=2751"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=2751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}