{"id":4287,"date":"2015-03-19T05:28:21","date_gmt":"2015-03-19T05:28:21","guid":{"rendered":"http:\/\/www.jitendrazaa.com\/blog\/?p=4287"},"modified":"2015-03-19T18:56:03","modified_gmt":"2015-03-19T18:56:03","slug":"learning-lightning-component-trailhead-way","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/learning-lightning-component-trailhead-way\/","title":{"rendered":"Learning Lightning Component &#8211; Trailhead way"},"content":{"rendered":"<figure id=\"attachment_4288\" aria-describedby=\"caption-attachment-4288\" style=\"width: 625px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4288\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?resize=625%2C352&#038;ssl=1\" alt=\"Learn Lightning Component Trailhead way\" width=\"625\" height=\"352\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?resize=624%2C351&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Learn-Lightning-Trailhead-way.jpg?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption id=\"caption-attachment-4288\" class=\"wp-caption-text\">Learn Lightning Component &#8211; Trailhead way<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">In <a title=\"How to start learning Salesforce \u2013 Trailhead is good answer\" href=\"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/how-to-become-salesforce-admin-and-developer-trailhead-is-good-answer\/\">Previous article<\/a>, I\u00a0have introduced what is <a title=\"Learn how to use Salesforce with Trailhead\" href=\"https:\/\/developer.salesforce.com\/trailhead\">Trailhead <\/a>and why employer should start using it to train Salesforce developers and Admins. At the time of writing this article, there are already <a title=\"Salesforce Trailhead modules\" href=\"https:\/\/developer.salesforce.com\/trailhead\/modules\">16 modules <\/a>to be learned from it.<\/p>\n<p style=\"text-align: justify;\">Recently Salesforce has added some more awesome tutorial\u00a0and \u00a0In this article, I will\u00a0walk-through\u00a0&#8220;<a title=\"Trailhead Lightning Component\" href=\"https:\/\/developer.salesforce.com\/trailhead\/module\/lightning_components\">Lightning Component<\/a>&#8221; module of Trailhead.<\/p>\n<p style=\"text-align: justify;\"><strong>1.\u00a0<a title=\"Getting Started with Lightning Components\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_intro\">Getting started with Lightning Component<\/a>\u00a0<\/strong>(+100 points)<\/p>\n<p style=\"text-align: justify;\">In this module, you will learn that what exactly is lightning component, Aura Framework and how it is different than visualforce?<\/p>\n<p style=\"text-align: justify;\">This is UI framework to develope dynamic web pages for mobile and desktop devices in Salesforce. Its used mostly for SPA (Single Page Applications). It focuses on component based developement and reusing it. You can compare Lihtning component (by Salesforce) with React (by Facebook) and Polymer (by Google).<\/p>\n<p style=\"text-align: justify;\"><!--more--><\/p>\n<p style=\"text-align: justify;\"><strong>2.<\/strong><a title=\"Creating Lightning Component\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_creating\"> <strong>Creating Lightning Component<\/strong><\/a>\u00a0(+500 points)<\/p>\n<p style=\"text-align: justify;\">This module emphasizes on how to create Lightning Component using Developer console and\u00a0styling it.<\/p>\n<p style=\"text-align: justify;\">Lightning component can be created either by Developer console or <a title=\"Sublime extension to create Lightning components\" href=\"https:\/\/github.com\/dcarroll\/sublime-lightning\">sublime extension<\/a>\u00a0by Dave Carroll.<\/p>\n<p style=\"text-align: justify;\">Component bundle contains following item types :<\/p>\n<p style=\"text-align: justify;\">\n<table id=\"tablepress-19\" class=\"tablepress tablepress-id-19\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Resource<\/th><th class=\"column-2\">Resource Name<\/th><th class=\"column-3\">Usage<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Component or Application<\/td><td class=\"column-2\">sample.cmp or sample.app<\/td><td class=\"column-3\">The only required resource in a bundle. Contains markup for the component or app. Each bundle contains only one component or app resource.<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">CSS Styles<\/td><td class=\"column-2\">sample.css<\/td><td class=\"column-3\">Styles for the component.<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Controller<\/td><td class=\"column-2\">sampleController.js<\/td><td class=\"column-3\">Client-side controller methods to handle events in the component.<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Design<\/td><td class=\"column-2\">sample.design<\/td><td class=\"column-3\">Required for components used in the Lightning App Builder or Lightning Pages.<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Helper<\/td><td class=\"column-2\">sampleHelper.js<\/td><td class=\"column-3\">JavaScript functions that can be called from any JavaScript code in a component\u2019s bundle.<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">Documentation<\/td><td class=\"column-2\">sample.auradoc<\/td><td class=\"column-3\">A description, sample code, and one or multiple references to example components.<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Renderer<\/td><td class=\"column-2\">sampleRenderer.js<\/td><td class=\"column-3\">Client-side renderer to override default rendering for a component.<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">SVG<\/td><td class=\"column-2\">sample.svg<\/td><td class=\"column-3\">Custom icon resource for components used in the Lightning App Builder.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-19 from cache --><\/p>\n<p style=\"text-align: justify;\"><strong>How to use External Stylesheet in Lightning Component :<\/strong><\/p>\n<p>To reference an external CSS resource that you\u2019ve uploaded as a static resource, use a &lt;ltng:require&gt; tag in your .cmp or .app markup.<br \/>\nHere\u2019s an example of using &lt;ltng:require&gt;:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;ltng:require styles=&quot;\/resource\/resourceName&quot;&gt;<\/pre>\n<p>resourceName is the Name of the static resource. Note that the framework doesn\u2019t currently support the $Resource global variable available in Visualforce.<\/p>\n<p style=\"text-align: justify;\"><strong>3.<a title=\"Defining attributes on lightning Components\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_attributes\"> Defining attributes on lightning components<\/a><\/strong>\u00a0(+500 points)<\/p>\n<p style=\"text-align: justify;\">This is very important and basic module of lightning. Here you will learn what are attributes, their\u00a0different types and how to pass it in between different lightning components.<\/p>\n<p style=\"text-align: justify;\">Attributes can be used for components, applications, events and interfaces. attributes are accessed using syntax {!v.attributeName}.<\/p>\n<p style=\"text-align: justify;\">Attributes can be defined using <strong>&lt;aura:attribute&gt;<\/strong> tag.<\/p>\n<p style=\"text-align: justify;\"><strong>Example :<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;aura:component&gt;\r\n    &lt;aura:attribute name=&quot;num1&quot; type=&quot;Integer&quot; default=&quot;1&quot;\/&gt;\r\n    &lt;aura:attribute name=&quot;num2&quot; type=&quot;Integer&quot; default=&quot;2&quot;\/&gt;\r\n    &lt;aura:attribute name=&quot;sum&quot; type=&quot;Integer&quot;\/&gt;\r\n    {!v.num1} + {!v.num2} = {!v.sum}\r\n\r\n    &lt;!--Press button to add numbers and display sum--&gt;\r\n    &lt;ui:button label=&quot;Add Numbers&quot; press=&quot;{!c.add}&quot;\/&gt;\r\n&lt;\/aura:component&gt;\r\n<\/pre>\n<p>Attribute in client side can be accessed using : component.get(&#8220;v.num1&#8221;);<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n({\r\n    \/** Called when button is pressed to add numbers **\/\r\n    add : function(component) {\r\n        var sum = component.get(&quot;v.num1&quot;)\r\n                + component.get(&quot;v.num2&quot;);\r\n        component.set(&quot;v.sum&quot;, sum);\r\n    }\r\n})\r\n<\/pre>\n<p><strong>Component Body :<\/strong><\/p>\n<p>You can access component body using notation {! v.body } and in javascript same can be achieved using component.get(&#8220;v.body&#8221;).<\/p>\n<p><strong>\u00a04.<\/strong><a title=\"How to use expressions in Lightning Component\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_expressions\"> <strong>How to use expressions in Lightning Component<\/strong><\/a>\u00a0(+500 points)<\/p>\n<p style=\"text-align: justify;\">How to use expressions to dynamically render values and making decisions and global value provider $browser, $Locale.<\/p>\n<p style=\"text-align: justify;\">Anything inside the {! } delimiters is evaluated and dynamically replaced when the component is rendered or when the value is used by the component. Whitespace is ignored.<\/p>\n<p style=\"text-align: justify;\">The resulting value can be a primitive, such as an integer, string, or boolean. It can also be a JavaScript object, a component or collection, a controller method such as an action method, and other useful results.<\/p>\n<p>If you want to escape <strong>{!<\/strong> , use this syntax:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;aura:text value=&quot;{!&quot;\/&gt;<\/pre>\n<p style=\"text-align: justify;\">This renders {! in plain text because the aura:text component never interprets {! as the start of an expression.<\/p>\n<p><strong>$Browser<\/strong><br \/>\nThe $Browser global value provider provides information about the hardware and operating system of the browser accessing the application.<\/p>\n<p><strong>$Locale<\/strong><br \/>\nThe $Locale global value provider gives you information about the browser&#8217;s locale.<\/p>\n<p style=\"text-align: justify;\"><strong>\u00a05.<\/strong><a title=\" 5. How to use standard and force.com components\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_uiforce\"> <strong>How to use standard and force.com components<\/strong><\/a> (+500 points)<\/p>\n<p style=\"text-align: justify;\">This module highlights some standard out of box Lightning components provided by Salesforce and their usage like Button, check-box, Message, Spinner etc.<\/p>\n<p style=\"text-align: justify;\">Use Standard existing salesforce components to speedup developement of lightning application.<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">For all available component attributes and events, see the component reference at <em><span style=\"text-decoration: underline;\">https:\/\/&lt;mySalesforceInstance&gt;.lightning.force.com\/auradocs\/reference.app<\/span><\/em>, where &lt;mySalesforceInstance&gt; is the name of the instance hosting your org; for example, na1 .<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\"><strong>6.<\/strong><a title=\"How to handle events in Lightning Components\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_events_handle\"> <strong>How to handle events in Lightning Components<\/strong><\/a> (+500 points)<\/p>\n<p style=\"text-align: justify;\">You will learn here how to create client side events, difference between application event and component events. Communicate between different components using events, example, Best practices and some standard and system Salesforce1 Events.<\/p>\n<p style=\"text-align: justify;\"><strong>7.<\/strong> <a title=\"Using JavaScript controller in Lightning components \" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_js\"><strong>Using JavaScript controller in Lightning components &#8211; Client Side Controller<\/strong><\/a>(+500 points)<\/p>\n<p style=\"text-align: justify;\">It teaches, How we can create components dynamically, using JavaScript API to work with components, handling field validation errors and system errors.<\/p>\n<p style=\"text-align: justify;\"><strong>8.<\/strong> <a title=\"Using Apex with Lightning Component - Server side Controller\" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_apex\"><strong>Using Apex with Lightning Component &#8211; Server side Controller<\/strong><\/a>\u00a0(+500 points)<\/p>\n<p style=\"text-align: justify;\">How Apex methods can be called through JavaScript Controller and Queueing of server-side actions with examples.<\/p>\n<p style=\"text-align: justify;\"><strong>9.<\/strong> <a title=\"Debugging Lightning components \" href=\"https:\/\/developer.salesforce.com\/trailhead\/lightning_components\/lightning_components_debug\"><strong>Debugging Lightning components<\/strong><\/a> (+100 points)<\/p>\n<p style=\"text-align: justify;\">When I was presenting Lightning week in Boston and Hartford, this was the interesting question asked and most of developers are facing issue on how to debug lightning components, and this part is good news for them, it unveils\u00a0all the secret of Lightning component debugging.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Previous article, I\u00a0have introduced what is Trailhead and why employer should start using it to train Salesforce developers and Admins. At the time of writing this article, there are already 16 modules to be learned from it. Recently Salesforce has added some more awesome tutorial\u00a0and \u00a0In this article, I will\u00a0walk-through\u00a0&#8220;Lightning Component&#8221; module of Trailhead. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[298,311,331,290],"class_list":["post-4287","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-aura","tag-lightning-component","tag-salesforce","tag-trailhead"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5113,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/merry-trailhead-and-happy-new-year-full-of-goodies\/","url_meta":{"origin":4287,"position":0},"title":"Merry Trailhead and Happy New Year full of goodies","author":"Jitendra","date":"December 24, 2015","format":false,"excerpt":"Trailhead wishes every Salesforce Admin, Developer, Business users\u00a0a very \"Merry Christmas\" and \"Happy New Year\" with lots of goodies in form of new modules and project. I have always been big fan of Trailhead and already wrote few articles previously. It has huge response, support and expectation from community. We\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Prizes - Build a Battle Station App","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/12\/Prizes-Build-a-Battle-Station-App.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/12\/Prizes-Build-a-Battle-Station-App.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/12\/Prizes-Build-a-Battle-Station-App.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/12\/Prizes-Build-a-Battle-Station-App.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4646,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/compliation-of-resources-to-learn-lightning-components-in-salesforce\/","url_meta":{"origin":4287,"position":1},"title":"Compilation of resources to learn Lightning Components in Salesforce","author":"Jitendra","date":"July 8, 2015","format":false,"excerpt":"An attempt to gather all resources to learn Salesforce lightning component in one blog post","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5109,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/lightning-component-for-wikipedia-search\/","url_meta":{"origin":4287,"position":2},"title":"Lightning Component for Wikipedia search","author":"Jitendra","date":"January 6, 2016","format":false,"excerpt":"Initially I thought creating Wikipedia Search component will be straight forward. I can simply use AJAX request from Lightning component to get result from Wikipedia using its REST API. Soon, I discovered about Content Security Policy\u00a0in Lightning components developer guide. If we attempt to use AJAX or REST API in\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Lightning Component for Wikipedia Search","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Salesforce-Lightning-Component-for-Wikipedia-Search.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Salesforce-Lightning-Component-for-Wikipedia-Search.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Salesforce-Lightning-Component-for-Wikipedia-Search.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Salesforce-Lightning-Component-for-Wikipedia-Search.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4461,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/getting-started-with-basics-of-lightning-component\/","url_meta":{"origin":4287,"position":3},"title":"Getting started with basics of Lightning Component","author":"Jitendra","date":"May 19, 2015","format":false,"excerpt":"As you might already know\u00a0that next big change in Salesforce is introduction to lightning components. As technology is changing rapidly and to take advantage of cutting edge innovations in web technology, Salesforce doesn't want to stay behind. If we see trend, all major platform has introduced component based design like\u2026","rel":"","context":"In &quot;Lightning&quot;","block_context":{"text":"Lightning","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/lightning\/"},"img":{"alt_text":"Getting started with Lightning component Output","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Getting-started-with-Lightning-component-Output.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5426,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/new-trail-in-trailhead-navigate-the-salesforce-advantage\/","url_meta":{"origin":4287,"position":4},"title":"New Trail in Trailhead &#8211; Navigate the Salesforce Advantage","author":"Jitendra","date":"March 27, 2016","format":false,"excerpt":"Navigate the Salesforce Advantage - New learning module and project added to Trailhead","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Success Model - Trailhead","src":"https:\/\/i0.wp.com\/developer.salesforce.com\/resource\/images\/trailhead\/badges\/modules\/trailhead_module_advantage_salesforce_success_model.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4240,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/how-to-become-salesforce-admin-and-developer-trailhead-is-good-answer\/","url_meta":{"origin":4287,"position":5},"title":"How to start learning Salesforce &#8211;  Trailhead is good answer","author":"Jitendra","date":"February 9, 2015","format":false,"excerpt":"In last 3-4\u00a0years, Salesforce is well known cloud computing platform between\u00a0IT professionals and fresh college graduates. Dreamforce, well known for largest conference on planet breaking its own record every year. Salesforce is also\u00a0top Innovative company in world as per forbes. Change is inevitable - well adapted by Salesforce.\u00a0Unlike traditional languages,\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Trailhead - Data Security","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/02\/Trailhead-Data-Security.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/02\/Trailhead-Data-Security.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/02\/Trailhead-Data-Security.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/02\/Trailhead-Data-Security.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=4287"}],"version-history":[{"count":14,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4287\/revisions"}],"predecessor-version":[{"id":4304,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4287\/revisions\/4304"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=4287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=4287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=4287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}