{"id":8144,"date":"2025-02-18T04:49:30","date_gmt":"2025-02-18T04:49:30","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=8144"},"modified":"2025-02-18T05:43:53","modified_gmt":"2025-02-18T05:43:53","slug":"class-table-inheritance-pattern-with-an-example-in-php","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/","title":{"rendered":"Class Table Inheritance Pattern with an Example in PHP"},"content":{"rendered":"<p>In the world of <a href=\"https:\/\/studysection.com\/blog\/adapter-pattern-with-example-in-php\/\">PHP<\/a> programming, understanding design patterns can be a game-changer. One such pattern is Class Table Inheritance, a concept that allows us to create a clear and flexible structure for our code.<\/p>\n<p><strong>What is Class Table Inheritance?<\/strong><\/p>\n<p>Class Table Inheritance is a design pattern that helps us model relationships between classes by creating a table for each class in a hierarchy. This pattern is particularly useful when dealing with complex object-oriented structures and databases. It provides a way to represent a class hierarchy in a relational database while maintaining a clear and understandable structure.<\/p>\n<p><strong>Key Concepts of Class Table Inheritance:<\/strong><\/p>\n<p><strong>Base Table:<\/strong><\/p>\n<ul>\n<li>Represents the common attributes of all classes in the hierarchy.<\/li>\n<li>Contains columns shared by all subclasses.<\/li>\n<\/ul>\n<p><strong>Subclass Tables:<\/strong><\/p>\n<ul>\n<li>Each subclass has its own table.<\/li>\n<li>Contains columns specific to that subclass.<\/li>\n<\/ul>\n<p><strong>Joining Relationships:<\/strong><\/p>\n<ul>\n<li>Establishes relationships between tables using primary and foreign keys.<\/li>\n<li>Enables retrieval of data by joining tables based on these keys.<\/li>\n<\/ul>\n<p><strong>Example Implementation in PHP:<\/strong><\/p>\n<p>Let&#8217;s consider a simple example where we have a base class Vehicle and two subclasses Car and Motorcycle. Each subclass will have its own unique attributes along with the common attributes inherited from the base class.<\/p>\n<p><strong>Step 1: Create the Base Class<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8148\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-10.png\" alt=\"\" width=\"358\" height=\"136\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-10.png 358w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-10-300x114.png 300w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><\/p>\n<p><strong>Step 2: Create Subclasses<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8147\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-9.png\" alt=\"\" width=\"366\" height=\"261\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-9.png 366w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-9-300x214.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/p>\n<p><strong>Step 3: Database Representation<\/strong><br \/>\nAssuming a relational database, the representation of these classes in tables might look like this:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8146\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-8.png\" alt=\"\" width=\"512\" height=\"229\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-8.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-8-300x134.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>How Class Table Inheritance Works:<br \/>\nWhen you want to retrieve information about all vehicles, you can perform a JOIN operation on the vehicles, cars, and motorcycles tables based on the common id column. This allows you to access both the common attributes and the subclass-specific attributes in one query.<\/p>\n<p>Let\u2019s assume we&#8217;re working with a MySQL database.<\/p>\n<p><strong>Database Schema:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8153\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-13.png\" alt=\"\" width=\"512\" height=\"421\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-13.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-13-300x247.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>Performing Join Operations:<\/strong><\/p>\n<p><strong>1. Retrieve all Vehicles with their Car Details:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8154\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-12.png\" alt=\"\" width=\"512\" height=\"89\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-12.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-12-300x52.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>2. Retrieve all Vehicles with their Motorcycle Details:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8155\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-11.png\" alt=\"\" width=\"512\" height=\"89\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-11.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-11-300x52.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>Single Class Queries:<\/strong><\/p>\n<p><strong>1. Retrieve All Cars:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8157\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-14.png\" alt=\"\" width=\"512\" height=\"57\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-14.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-14-300x33.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>2. Retrieve All Motorcycles:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8158\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-15.png\" alt=\"\" width=\"512\" height=\"54\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-15.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-15-300x32.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>3. Retrieve Car Details by Brand:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8159\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-16.png\" alt=\"\" width=\"512\" height=\"124\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-16.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-16-300x73.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>4. Retrieve Motorcycle Details by Model:<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8160\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-17.png\" alt=\"\" width=\"512\" height=\"109\" srcset=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-17.png 512w, https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/unnamed-17-300x64.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>These queries demonstrate how you can perform join operations to retrieve information about vehicles along with their subclass-specific details. Additionally, single class queries allow you to independently get information about cars or motorcycles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the world of PHP programming, understanding design patterns can be a game-changer. One such pattern is Class Table Inheritance,<\/p>\n","protected":false},"author":1,"featured_media":8152,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Class Table Inheritance Pattern with an Example in PHP<\/title>\n<meta name=\"description\" content=\"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Class Table Inheritance Pattern with an Example in PHP\" \/>\n<meta property=\"og:description\" content=\"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-18T04:49:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-18T05:43:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/Add-a-subheading-40.png\" \/>\n\t<meta property=\"og:image:width\" content=\"940\" \/>\n\t<meta property=\"og:image:height\" content=\"788\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"Class Table Inheritance Pattern with an Example in PHP\",\"datePublished\":\"2025-02-18T04:49:30+00:00\",\"dateModified\":\"2025-02-18T05:43:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\"},\"wordCount\":361,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\",\"url\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\",\"name\":\"Class Table Inheritance Pattern with an Example in PHP\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2025-02-18T04:49:30+00:00\",\"dateModified\":\"2025-02-18T05:43:53+00:00\",\"description\":\"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Class Table Inheritance Pattern with an Example in PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Class Table Inheritance Pattern with an Example in PHP","description":"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/","og_locale":"en_US","og_type":"article","og_title":"Class Table Inheritance Pattern with an Example in PHP","og_description":"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.","og_url":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2025-02-18T04:49:30+00:00","article_modified_time":"2025-02-18T05:43:53+00:00","og_image":[{"width":940,"height":788,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2025\/02\/Add-a-subheading-40.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"Class Table Inheritance Pattern with an Example in PHP","datePublished":"2025-02-18T04:49:30+00:00","dateModified":"2025-02-18T05:43:53+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/"},"wordCount":361,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/","url":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/","name":"Class Table Inheritance Pattern with an Example in PHP","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2025-02-18T04:49:30+00:00","dateModified":"2025-02-18T05:43:53+00:00","description":"Class Table Inheritance pattern helps us model relationships between classes by creating a table for each class in a hierarchy.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/class-table-inheritance-pattern-with-an-example-in-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Class Table Inheritance Pattern with an Example in PHP"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":106,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/8144"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=8144"}],"version-history":[{"count":7,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/8144\/revisions"}],"predecessor-version":[{"id":8162,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/8144\/revisions\/8162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/8152"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=8144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=8144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=8144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}