{"id":2534,"date":"2017-05-10T19:08:09","date_gmt":"2017-05-10T19:08:09","guid":{"rendered":"https:\/\/allurewebsolutions.com\/?p=2534"},"modified":"2017-05-10T19:08:09","modified_gmt":"2017-05-10T19:08:09","slug":"modular-object-coding-pattern-javascript-vs-basic-coding-style","status":"publish","type":"post","link":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style","title":{"rendered":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style"},"content":{"rendered":"[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/1&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text]There are many ways to write JavaScript functions. The concept of different styles of writing code can be classified under the term <strong>Design Patterns<\/strong>. Some patterns are better than others. In our quest to write the most readable, modular, re-useable, optimized, and beautiful code, we constantly search for the best pattern.<\/p>\n<p>While <a href=\"https:\/\/www.webcitz.com\/industrial-web-design.html\">web design for industrial companies<\/a> is an important topic of discussion in the present, if you&#8217;re new to JavaScript, it can be hard to wrap your mind around the concept of &#8220;object oriented.&#8221; Everything in JavaScript is basically an object. Below I show two patterns for a very basic waiting list. Both pieces of code perform example the same functionality. The code on the right most closely resembles the <strong>Module Design\u00a0<\/strong>with\u00a0<strong>Single global variables\u00a0<\/strong>namespacing. Although, depending on your business requirements, location of the firm can play a critical role on the overall success of your new website. For example, if your business operates in Sydney, Australia, then <a href=\"https:\/\/bamstudio.com.au\">Sydney web designer<\/a> will be your best bet to convince the local market in your products or services. On the other hand, global websites can be outsourced to international web designers. Then another great tip is to <a href=\"https:\/\/www.inetsoft.com\/info\/business_intelligence_web_applications\/\">utilize a top web-based business intelligence application<\/a>, as that can offer incredible insight into your business.<\/p>\n<p>A few reasons why the code on the right is better than the code on the left:<\/p>\n<ul>\n<li><strong>Completely Modular<\/strong>: You can take this fully self-contained <code>ManageWaitingList()<\/code>\u00a0function and move it to any project with minimal tweaking to the variables at the top targeting the DOM elements<\/li>\n<li><strong>Turn On\/Off Easily<\/strong>: Simply run the\u00a0<code>ManageWaitingList.init()<\/code> command to initialize the functionality on a particular page<\/li>\n<li><strong>Improved Variable Scope<\/strong>: Because all of the variables are defined on block level, within the scope of the main function, there is no chance for variable conflicts with other parts of your code<\/li>\n<li><strong>Namespacing<\/strong>: All the code is contained within one namespace ManageWaitingList which will prevent collisions<\/li>\n<li><strong>Little Bit of ES6<\/strong>: By using the ES6 variable declaration\u00a0<code>const<\/code> for the main function, we prevent any conflict there as well<\/li>\n<\/ul>\n<p>Here&#8217;s a great article on <a href=\"https:\/\/addyosmani.com\/blog\/essential-js-namespacing\/\" target=\"_blank\" rel=\"noopener noreferrer\">namespacing in JavaScript<\/a>.<\/p>\n<h2>The Code<\/h2>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/2&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text][\/vc_column_text][\/vc_column][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/2&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row][vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/1&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text]\n<h2>Demo<\/h2>\n<p class=\"codepen\" data-height=\"471\" data-theme-id=\"19315\" data-slug-hash=\"ZKvLWg\" data-default-tab=\"result\" data-user=\"allurewebsolutions\" data-embed-version=\"2\" data-pen-title=\"Modular Object Coding Pattern in JavaScript\">See the Pen <a href=\"https:\/\/codepen.io\/allurewebsolutions\/pen\/ZKvLWg\/\">Modular Object Coding Pattern in JavaScript<\/a> by Mike Doubintchik (<a href=\"http:\/\/codepen.io\/allurewebsolutions\">@allurewebsolutions<\/a>) on <a href=\"http:\/\/codepen.io\">CodePen<\/a>.<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"<p>[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/1&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text]There are many ways to write JavaScript functions. The concept of different styles of&#8230;<\/p>\n","protected":false},"author":9,"featured_media":2227,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,54,21,31],"tags":[],"class_list":{"0":"post-2534","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blog","8":"category-es6","9":"category-javascript","10":"category-patterns"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions\" \/>\n<meta property=\"og:description\" content=\"[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/1&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text]There are many ways to write JavaScript functions. The concept of different styles of...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style\" \/>\n<meta property=\"og:site_name\" content=\"Allure Web Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-10T19:08:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"allure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"allure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style\"},\"author\":{\"name\":\"allure\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/#\\\/schema\\\/person\\\/cd83b1da73d5792d2ffbe7240c212e75\"},\"headline\":\"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style\",\"datePublished\":\"2017-05-10T19:08:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style\"},\"wordCount\":626,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/allureprojects.com\\\/app\\\/uploads\\\/sites\\\/40\\\/2017\\\/03\\\/allure-code-snippet.jpg\",\"articleSection\":[\"Blog\",\"ES6\",\"Javascript\",\"Patterns\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style\",\"url\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style\",\"name\":\"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/allureprojects.com\\\/app\\\/uploads\\\/sites\\\/40\\\/2017\\\/03\\\/allure-code-snippet.jpg\",\"datePublished\":\"2017-05-10T19:08:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/#\\\/schema\\\/person\\\/cd83b1da73d5792d2ffbe7240c212e75\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage\",\"url\":\"https:\\\/\\\/allureprojects.com\\\/app\\\/uploads\\\/sites\\\/40\\\/2017\\\/03\\\/allure-code-snippet.jpg\",\"contentUrl\":\"https:\\\/\\\/allureprojects.com\\\/app\\\/uploads\\\/sites\\\/40\\\/2017\\\/03\\\/allure-code-snippet.jpg\",\"width\":800,\"height\":300,\"caption\":\"Allure Web Solutions Code Snippet\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/modular-object-coding-pattern-javascript-vs-basic-coding-style#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/allurewebsolutions.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/#website\",\"url\":\"https:\\\/\\\/allurewebsolutions.com\\\/\",\"name\":\"Allure Web Solutions\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/allurewebsolutions.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/allurewebsolutions.com\\\/#\\\/schema\\\/person\\\/cd83b1da73d5792d2ffbe7240c212e75\",\"name\":\"allure\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g\",\"caption\":\"allure\"},\"url\":\"https:\\\/\\\/allurewebsolutions.com\\\/author\\\/allure\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions","og_description":"[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; overlay_strength=&#8221;0.3&#8243;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_position=&#8221;all&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_shadow=&#8221;none&#8221; width=&#8221;1\/1&#8243; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text]There are many ways to write JavaScript functions. The concept of different styles of...","og_url":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style","og_site_name":"Allure Web Solutions","article_published_time":"2017-05-10T19:08:09+00:00","og_image":[{"width":800,"height":300,"url":"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg","type":"image\/jpeg"}],"author":"allure","twitter_card":"summary_large_image","twitter_misc":{"Written by":"allure","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#article","isPartOf":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style"},"author":{"name":"allure","@id":"https:\/\/allurewebsolutions.com\/#\/schema\/person\/cd83b1da73d5792d2ffbe7240c212e75"},"headline":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style","datePublished":"2017-05-10T19:08:09+00:00","mainEntityOfPage":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style"},"wordCount":626,"commentCount":0,"image":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage"},"thumbnailUrl":"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg","articleSection":["Blog","ES6","Javascript","Patterns"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#respond"]}]},{"@type":"WebPage","@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style","url":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style","name":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style - Allure Web Solutions","isPartOf":{"@id":"https:\/\/allurewebsolutions.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage"},"image":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage"},"thumbnailUrl":"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg","datePublished":"2017-05-10T19:08:09+00:00","author":{"@id":"https:\/\/allurewebsolutions.com\/#\/schema\/person\/cd83b1da73d5792d2ffbe7240c212e75"},"breadcrumb":{"@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#primaryimage","url":"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg","contentUrl":"https:\/\/allureprojects.com\/app\/uploads\/sites\/40\/2017\/03\/allure-code-snippet.jpg","width":800,"height":300,"caption":"Allure Web Solutions Code Snippet"},{"@type":"BreadcrumbList","@id":"https:\/\/allurewebsolutions.com\/modular-object-coding-pattern-javascript-vs-basic-coding-style#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/allurewebsolutions.com\/"},{"@type":"ListItem","position":2,"name":"Modular Object Coding Pattern in JavaScript Vs Basic Coding Style"}]},{"@type":"WebSite","@id":"https:\/\/allurewebsolutions.com\/#website","url":"https:\/\/allurewebsolutions.com\/","name":"Allure Web Solutions","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/allurewebsolutions.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/allurewebsolutions.com\/#\/schema\/person\/cd83b1da73d5792d2ffbe7240c212e75","name":"allure","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bce3b7ae368a17245089ce9f6aceaa527a31cc28e6d3cd10e417aee15218f0f?s=96&d=mm&r=g","caption":"allure"},"url":"https:\/\/allurewebsolutions.com\/author\/allure"}]}},"_links":{"self":[{"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/posts\/2534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/comments?post=2534"}],"version-history":[{"count":0,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/posts\/2534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/media\/2227"}],"wp:attachment":[{"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/media?parent=2534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/categories?post=2534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allurewebsolutions.com\/wp-json\/wp\/v2\/tags?post=2534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}