<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Untitled Publication]]></title><description><![CDATA[Untitled Publication]]></description><link>https://harshitsaxena.com</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1706599719465/M-OcQLbAC.jpg</url><title>Untitled Publication</title><link>https://harshitsaxena.com</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 08:32:57 GMT</lastBuildDate><atom:link href="https://harshitsaxena.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[For Each Loop and Iterators in Lightning Web Components]]></title><description><![CDATA[For Each Loop and Iterators in Lightning Web Components
Hello, people here I'm going to explain to you how to render the list in LWC. I will create two examples from the hardcode JS object and get the list from the server side.
Let's follow some step...]]></description><link>https://harshitsaxena.com/for-each-loop-and-iterators-in-lightning-web-components</link><guid isPermaLink="true">https://harshitsaxena.com/for-each-loop-and-iterators-in-lightning-web-components</guid><category><![CDATA[Salesforce]]></category><category><![CDATA[Developer]]></category><category><![CDATA[salesforce development]]></category><category><![CDATA[lwc]]></category><dc:creator><![CDATA[Harshit Saxena]]></dc:creator><pubDate>Sun, 04 Feb 2024 10:53:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1707043866513/e4eb3929-641f-4d12-bd7b-3508a42213fb.avif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-for-each-loop-and-iterators-in-lightning-web-components">For Each Loop and Iterators in Lightning Web Components</h1>
<p>Hello, people here I'm going to explain to you how to render the list in LWC. I will create two examples from the hardcode JS object and get the list from the server side.</p>
<p>Let's follow some steps, I will start the local development server. Run this command from a command-line interface.</p>
<pre><code class="lang-plaintext">sfdx plugins:install @salesforce/lwc-dev-server
</code></pre>
<p>I was getting an error so I also installed</p>
<pre><code class="lang-plaintext">sudo npm install -g node-gyp
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1707043893686/615ff9b0-c28b-4282-9997-a2d4744e362a.avif" alt class="image--center mx-auto" /></p>
<p>Now, our local development server is up and running. Let me explain to you why we've installed this, using this local development server makes our deployment really fast. It makes our debugging easy cause it will take less to show/ reflect our changes.</p>
<p>Yes, you can deploy your code to developer org or scratch org for the sake of future blogs and testing the new topics we'll use a local development server and when our requirements are all clear and checked then we'll do the final deployment.</p>
<p>Today we'll study two scenarios of <strong>For each</strong> and <strong>Iterators</strong></p>
<h2 id="heading-1-object-from-js">1. Object from JS</h2>
<p>HTML ::&gt;&gt;</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">template</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 840px;"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Accounts Name List (JS Object)"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-has-dividers_around-space slds-var-p-around_medium"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">template</span> <span class="hljs-attr">for:each</span>=<span class="hljs-string">{accountListObj}</span> <span class="hljs-attr">for:item</span>=<span class="hljs-string">"acc"</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">li</span> <span class="hljs-attr">key</span>=<span class="hljs-string">{acc.id}</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-item"</span>&gt;</span> {acc.name}<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
</code></pre>
<ul>
<li>Iterator -&gt; The iterator variable should be lower-case always.</li>
</ul>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">template</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Accounts Name List (JS Object)"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-has-dividers_around-space slds-var-p-around_medium"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">template</span> <span class="hljs-attr">iterator:acc</span>=<span class="hljs-string">{accountListObj}</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">li</span> <span class="hljs-attr">key</span>=<span class="hljs-string">{acc.value.id}</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-item"</span>&gt;</span> {acc.value.name}<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
</code></pre>
<p>JavaScript ::&gt;&gt;</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { LightningElement,track } <span class="hljs-keyword">from</span> <span class="hljs-string">'lwc'</span>;
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ForEachIterator</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">LightningElement</span> </span>{
    @track accountList = [];
    accountListObj = [
        {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'01'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'John Smith'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'02'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Rick Sean'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'03'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Jim Yang'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'04'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Richard livingston'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'06'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Ammy Gilbert'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'07'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Yograj Singh'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'08'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Victoria Palmer'</span>
        }, {
            <span class="hljs-attr">id</span>: <span class="hljs-string">'09'</span>,
            <span class="hljs-attr">name</span>: <span class="hljs-string">'Joskhe Higashkhita'</span>
            }
    ]
}
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1707043918083/2e4f3a4a-2fe7-4906-b05b-1ff3f5550246.avif" alt class="image--center mx-auto" /></p>
<h2 id="heading-2-list-from-server-side">2. List from server-side</h2>
<p>HTML::&gt;&gt;</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">template</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 840px;"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Accounts Name List (Server Side)"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-has-dividers_around-space slds-var-p-around_medium"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">template</span> <span class="hljs-attr">for:each</span>=<span class="hljs-string">{accountListServer}</span> <span class="hljs-attr">for:item</span>=<span class="hljs-string">"accServer"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">li</span> <span class="hljs-attr">key</span>=<span class="hljs-string">{accServer.Id}</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-item"</span>&gt;</span>{accServer.Name}<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span>&gt;</span>
        {error}
    <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
</code></pre>
<ul>
<li>Iterator</li>
</ul>
<pre><code class="lang-xml">  <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Accounts Name List (Server Side)"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">ul</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-has-dividers_around-space slds-var-p-around_medium"</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">template</span> <span class="hljs-attr">iterator:accserver</span>=<span class="hljs-string">{accountListServer}</span> &gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">li</span> <span class="hljs-attr">key</span>=<span class="hljs-string">{accserver.value.Id}</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"slds-item"</span>&gt;</span>{accserver.value.Name}<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
                <span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">lightning-card</span>&gt;</span>
            {error}
        <span class="hljs-tag">&lt;/<span class="hljs-name">lightning-card</span>&gt;</span> 
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>JavaScript ::&gt;&gt;</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { LightningElement, track } <span class="hljs-keyword">from</span> <span class="hljs-string">'lwc'</span>;
<span class="hljs-keyword">import</span> getIteratorList <span class="hljs-keyword">from</span> <span class="hljs-string">'@salesforce/apex/ForEachIteratorLightning.getIteratorList'</span>;
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ForEachIterator</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">LightningElement</span> </span>{
    @track accountListServer = [];
    @track error = <span class="hljs-string">''</span>;
    connectedCallback() {
        <span class="hljs-built_in">this</span>.getIteratorListJS();
    }
    getIteratorListJS() {
        <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'js running '</span>);
        getIteratorList()
            .then(<span class="hljs-function"><span class="hljs-params">result</span> =&gt;</span> {
                <span class="hljs-built_in">console</span>.table(result);
                <span class="hljs-built_in">this</span>.accountListServer = result;
                <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'UI LIST::&gt;&gt;'</span>+<span class="hljs-built_in">this</span>.accountListServer);
                <span class="hljs-comment">// this.error = undefined;</span>
            }).catch(<span class="hljs-function"><span class="hljs-params">result</span> =&gt;</span> {
                <span class="hljs-built_in">console</span>.table(result);
                <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'result'</span>);

                <span class="hljs-built_in">this</span>.error = result;
        })
    }

}
</code></pre>
<p>Server Side::&gt;&gt;</p>
<pre><code class="lang-java"><span class="hljs-keyword">public</span> inherited sharing <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ForEachIteratorLightning</span> </span>{

    <span class="hljs-meta">@AuraEnabled</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> Static List&lt;Account&gt; <span class="hljs-title">getIteratorList</span><span class="hljs-params">()</span></span>{
        List&lt;Account&gt; accList =  [SELECT Id, Name FROM Account WHERE NOT Name LIKE <span class="hljs-string">'%test%'</span> LIMIT <span class="hljs-number">9</span>];
        System.debug(<span class="hljs-string">'accList::&gt;&gt;'</span>+accList);
        <span class="hljs-keyword">return</span> accList;
    }
}
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1707043935044/cce3f5c6-71ce-46b7-a9f8-f9cd1cf98fa7.avif" alt class="image--center mx-auto" /></p>
<p>Here, in Apex code we need to define our method with annotation of <a class="user-mention" href="https://hashnode.com/@AuraEnabled">@AuraEnabled</a> <a target="_blank" href="https://hashnode.com/@AuraEnabled">to import i</a>nto our LWC.</p>
<p>There are many used cases where we've to use populate our list either by <strong>Hardco</strong><a target="_blank" href="https://hashnode.com/@AuraEnabled"><strong>ding</strong> it or g</a>etting from the <strong>Server Method</strong></p>
<p>You can have this code from --&gt; <a target="_blank" href="https://github.com/Harshit-Saxena/SF-01-For-Each-Loop-and-Iterators-in-Lightning-Web-Components">Git repo</a></p>
]]></content:encoded></item><item><title><![CDATA[Steps to Understand GIT Commands (beginner's guide)]]></title><description><![CDATA[Little history lesson about GIT
Git was created by Linus Torvalds about 10 years ago. The reason behind creating GIT was he hated doing source control management, imagine your day without version control or source management like, " who coded that an...]]></description><link>https://harshitsaxena.com/steps-to-understand-git-commands-beginners-guide</link><guid isPermaLink="true">https://harshitsaxena.com/steps-to-understand-git-commands-beginners-guide</guid><category><![CDATA[Git]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[GitLab]]></category><category><![CDATA[software development]]></category><category><![CDATA[internships]]></category><category><![CDATA[version control]]></category><dc:creator><![CDATA[Harshit Saxena]]></dc:creator><pubDate>Sun, 04 Feb 2024 10:41:35 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1707043150407/731adb48-b394-4878-94ac-08ce90b5c4a4.avif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-little-history-lesson-about-git">Little history lesson about GIT</h1>
<p>Git was created by Linus Torvalds about 10 years ago. The reason behind creating GIT was he hated doing source control management, imagine your day without version control or source management like, <strong>" who coded that and who made changes on that method"</strong> <em>Terrible right!</em> so, Linus thought of creating a systematic environment that can take care of changes and code that is made by several of my teammates.</p>
<p>Git has its own learning curve, I faced many problems at the beginning of my programming journey, as nowadays Git is like a global standard like anybody who can code should know Git, and know how to manage code with multiple teammates and should not mess up the whole codebase, cause I've created many issues for my senior teammates but they were very helpful to correct me, and they've explained me the best practices for git, and I'm going to tell you all that.</p>
<h4 id="heading-repository">Repository</h4>
<p>Repository or (repo) in Git is a collection of files and folders where your whole codebase is located. You can create Unlimited public/private repositories and can create Unlimited <strong>Branches</strong>.</p>
<h4 id="heading-branch">Branch</h4>
<p>Branch in Git is the same as you're thinking right now I suppose, Let's take an example of a tree and its branches with leaves.</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Example:</td><td></td></tr>
</thead>
<tbody>
<tr>
<td>Trees</td><td>Repositories</td></tr>
<tr>
<td>Branch</td><td>Branch</td></tr>
<tr>
<td>Leaves</td><td>People</td></tr>
</tbody>
</table>
</div><p>The <em>repository</em> is like a tree where everything happens where fruit will emerge and grow and at the end, it will ripe.</p>
<p>The <em>branch</em> is for different things happening at a different pace, but everything is related to the tree, for example, you cannot expect to have an apple on one branch and mango on another, cause the tree is of the same codebase, either it will have mango or apple.</p>
<p>you can perform different tasks on different branches of the same repository and both the task will eventually be merged into one sample master branch which is the root of all branches</p>
<p>And lastly, Leaves are the people that are connected to that specific repository and you can have an unlimited number of people (leaves) to your branch Repository.</p>
<p><strong><em>here are some commands that you'll be going to use at the beginning of any project or any codebase. they are in no specific order</em></strong></p>
<blockquote>
<p>\==&gt; Note: The staging area is the area where all the files are ready to be committed</p>
</blockquote>
<ul>
<li>git clone</li>
</ul>
<pre><code class="lang-plaintext"> git clone " &lt; URL &gt; "
</code></pre>
<p>To clone the global repository on your local machine.</p>
<ul>
<li>git config</li>
</ul>
<pre><code class="lang-plaintext">git config  —global username  “Harshit Saxena”
</code></pre>
<pre><code class="lang-plaintext">git config —global.email “harshit@harshitsaxena.com”
</code></pre>
<p>This is to tell git who you are your username, email, address, etc. this information is used during your commits.</p>
<ul>
<li>git add</li>
</ul>
<pre><code class="lang-plaintext">git add &lt; filename &gt;
</code></pre>
<p>Files that you want to commit to your repository or ready to be staged</p>
<pre><code class="lang-plaintext"> git add --all
</code></pre>
<ul>
<li>To add all the files to the staging area</li>
</ul>
<ul>
<li><pre><code class="lang-plaintext">  git add “*.txt”
</code></pre>
</li>
<li><p>To add all the text file</p>
</li>
</ul>
<ul>
<li><pre><code class="lang-plaintext">  git add &lt; directory &gt;/
</code></pre>
</li>
<li><p>To add the specific directory to be staged</p>
</li>
<li><p>git commit</p>
</li>
</ul>
<p>commit command is used to send your code to your local repository</p>
<ul>
<li>m ==&gt; message</li>
</ul>
<pre><code class="lang-plaintext"> git commit -m "write your comment here describing your commit"
</code></pre>
<ul>
<li>git push</li>
</ul>
<ul>
<li><pre><code class="lang-plaintext">  git push  origin master
</code></pre>
</li>
</ul>
<p>This is used to push your code from the local repository to the Global repository</p>
<ul>
<li>git pull</li>
</ul>
<ul>
<li><pre><code class="lang-plaintext">  git pull origin master
</code></pre>
</li>
<li><p>To get all the code from the Global repository to your local repository</p>
</li>
</ul>
<pre><code class="lang-plaintext"> git status
</code></pre>
<ul>
<li>To check the status of all the files</li>
</ul>
<pre><code class="lang-plaintext">git branch
</code></pre>
<ul>
<li>To check the branch that you are working in</li>
</ul>
<pre><code class="lang-plaintext">git checkout -b &lt; branchname&gt;
</code></pre>
<ul>
<li>To make a new branch and switch to a newly created one</li>
</ul>
<pre><code class="lang-plaintext">git checkout &lt; branchname &gt;
</code></pre>
<ul>
<li>To change the working branch</li>
</ul>
<pre><code class="lang-plaintext">git merge
</code></pre>
<ul>
<li>To merge different branches to the active branch</li>
</ul>
<pre><code class="lang-plaintext">git log
</code></pre>
<ul>
<li>To check all the commits logs</li>
</ul>
<pre><code class="lang-plaintext">git grep " specific content "
</code></pre>
<ul>
<li>To search into the working directory "this"</li>
</ul>
<hr />
<p>---&gt; <strong>These are some commands that will be helpful in your git journey, So in the end I must say to make repositories you will mess up many times but you will learn from your mistakes, that is what really counts. Believe me, I've made mistakes on client repositories in the first week of my job, but learning from your mistakes makes you better at anything. So keep on trying new things.</strong></p>
<p>But try making mistakes on your local repository rather than on the client's repository.</p>
<p>You can find my GitHub profile on my Hashnode Profile.</p>
<h4 id="heading-summary">Summary</h4>
<p>Git is a very powerful tool for any programmer (experienced / beginner), so I strongly encourage you to get your hands dirty with git. Make a GitHub profile and start coding. Feel free to add your GitHub profile in the comment section. I definitely get back to you with some special tricks that might speed up your process 😉.</p>
]]></content:encoded></item><item><title><![CDATA[How I got a job as a Salesforce Developer ?]]></title><description><![CDATA[My Background
I am Harshit Saxena currently working as a salesforce developer. Mostly working on LWC on the community platform. I'm 2x certified: B2B commerce admin and Platform Developer 1. I was not into programming from the beginning But 2 of my s...]]></description><link>https://harshitsaxena.com/how-i-got-a-job-as-a-salesforce-developer</link><guid isPermaLink="true">https://harshitsaxena.com/how-i-got-a-job-as-a-salesforce-developer</guid><category><![CDATA[Salesforce]]></category><category><![CDATA[journey into tech]]></category><category><![CDATA[Programming Tips]]></category><category><![CDATA[lwc]]></category><dc:creator><![CDATA[Harshit Saxena]]></dc:creator><pubDate>Tue, 30 Jan 2024 08:03:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600385165/9991e347-4700-43eb-b3cf-eaac206b0d5d.avif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-my-background">My Background</h2>
<p>I am Harshit Saxena currently working as a salesforce developer. Mostly working on LWC on the community platform. I'm 2x certified: B2B commerce admin and Platform Developer 1. I was not into programming from the beginning But 2 of my seniors recommended me to check out what's salesforce platform is, how salesforce is growing and here I am, Those 2 became my mentors and guided me about do's and don'ts. Programming is intimidating as I am not from a computer science background. Yes, <strong>I do not have a degree in computer science!</strong> nor any subjects in my degree. I am a graduate with a <em>Bachelor of Science</em> degree.</p>
<h2 id="heading-a-fun-little-story">A fun little story:</h2>
<h4 id="heading-how-did-i-get-myself-into-programming-before-salesforce">How did I get myself into programming before salesforce?</h4>
<p>I was trying to improve my grades in mathematics and searching over the web for those silly tips and tricks.</p>
<blockquote>
<p>How to improve in mathematics?</p>
</blockquote>
<p>So I saw programming can help with your mathematics grades. So <strong>Bingo</strong> then I decided to do programming, and my end goal is to get better grades in college. I searched where to start, what are programming languages? what I can do with a specific language? So, after spending a whole day I decided to go for JAVA - Yes not python. Java was weigh too complex for a non-programming background student. But I kept on working with problems how to approach them to get optimal solutions.</p>
<h3 id="heading-problem-solving">Problem-solving</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600516172/ad1fae4c-b7df-4a07-a7f1-7f85b6aa79d1.avif" alt class="image--center mx-auto" /></p>
<p>It is a skill that one should develop if anybody is trying programming. Then I searched to get better at solving problems. There were many ideas like solving Mathematics equations, That was straight No for me !. Then one of my friend's showed me that he can solve a puzzle - and what was that puzzle, yes it was a rubix cube. A rubix cube seems impossible to me that only a genius can solve and being his friend I know that he is no genius, So is he able to solve? <strong>"That was the million-dollar question for me"</strong></p>
<p>So a get up on the Internet and what I did? Yes, How to solve a rubix cube? I gave my heart and soul to it and after many hours of embarrassment and disappointment I mastered it down flat.</p>
<blockquote>
<p>What I learnt about solving rubix cube</p>
</blockquote>
<p>Solving rubix cube will not make you a better programmer. If you cannot that's fine. It was in my mind that if I am able to achieve that, then I can teach myself something as I am a self-taught programmer. It is a puzzle that forces your brain to think of many possibilities and solutions that you already know, and how to counter those parities if they occur.</p>
<blockquote>
<p>Able to teach yourself is an Art.</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600571675/394af01e-6c31-4a96-92e0-03a44c707b19.avif" alt class="image--center mx-auto" /></p>
<p>I came across many kinds of people, some can learn from books some are comfortable with video content some with audio-books, Like content in different mediums. I am a book guy, I like reading books. Particularly I learn from books, PDF's or I should say written documentation. You can get a gist from a video, but for whole and deeper understanding, I suggest going for written or official documentation.</p>
<h3 id="heading-trailhead">Trailhead</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600594282/5a4ea004-05a3-4839-87ce-9d03e25bddb8.avif" alt class="image--center mx-auto" /></p>
<p>It helped me in those initial stages when I was starting my salesforce journey. It's a great platform for beginners even after 2 years of experience I still visit trailhead for topics that I want to get better at. I highly advise all new salesforce developers to learn from the trailhead. It has a playground where you can write actual code and learn from your mistakes, using trailhead and completing your modules in your domain will skill up and skill easy very fast. I have done it, so can you.</p>
<blockquote>
<p>Just make your developer org and start doing your modules.</p>
</blockquote>
<h2 id="heading-prerequisites">Prerequisites</h2>
<p>According to me, there are not many prerequisites for a salesforce developer or I may say to get an entry-level job. But I can list a few that I've attained before my first job.</p>
<h3 id="heading-object-oriented-programming-oops-concept">(Object Oriented Programming) OOPs concept</h3>
<p>It's a very important and very basic prerequisite for any programming related job. There are programming languages that are based on OOPs concept for e.g: C++, Java. As I started programming with Java so I was good with this but still I studied from many resources to get fluent with real-life problems or I may say used cases.</p>
<p>To get familiar with real code I took help from our favorite friend, Yes GitHub. GitHub helped me a lot you should know how to take full leverage of GitHub.</p>
<h3 id="heading-collections">Collections</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600613819/a96e2459-23d1-47fe-901f-2abfa5499bbb.avif" alt class="image--center mx-auto" /></p>
<p>Collections are used in every other line of code in salesforce, for the Back-End we use Java-based language that is "Apex". The collection is a framework that provides you with the architecture to manipulate data, without collections it's very difficult to code in java. So one should know how to handle and manipulate data using collections. There are many resources and books which can make you an expert in using the correct collection. Some highly used collections are</p>
<ul>
<li><p>List</p>
</li>
<li><p>Set</p>
</li>
<li><p>Map</p>
</li>
</ul>
<p>You should know, what are the key differences in these, when to use which, how to change from one to another, which of these collections are interchangeable, and many more.</p>
<p>I have practiced Interview questions on the web. What are the most asked questions? So that you can focus on your weak spots and strengthen those.</p>
<blockquote>
<p>Make a good resume</p>
</blockquote>
<p>Most of the people I saw are well versed with their technical knowledge but, their resume is not that Impressive. One should pay good attention to what they are sending to those recruiting teams, those HR's are really busy so they just read those heading and main key points.</p>
<h3 id="heading-practice">Practice</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600675770/c6ee38b1-275f-4f94-96be-0a249030bf91.avif" alt class="image--center mx-auto" /></p>
<p>You have to practice a lot, I can't stress that enough! Make your Github profile stand out to make commits regularly, So you can show your reviewer that you can build stuff from scratch and you have hands-on experience with those topics.</p>
<p>There is nothing more to say.</p>
<h3 id="heading-mentor">Mentor</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600687028/cd2f1450-7e36-4551-8027-d3fd6b4bab12.avif" alt class="image--center mx-auto" /></p>
<p>I must say having a mentor is very beneficial, I had two mentors when I started my journey. Right now I'm working in a different company than before and here also I have two mentors. A mentor will guide you, tell you about the best practices that make you smarter to avoid mistakes, cause believe me the initial stage of the corporate world is really scary and one should be very cautious at every moment.</p>
<p>Salesforce Ohana is wonderful for many months I was unaware of that. To get a gist of what Ohana is, <strong><em>It is a place like a family that work together and have fun together</em></strong> <a target="_blank" href="https://www.salesforce.com/video/288760/">Watch this.</a></p>
<h3 id="heading-dont-lose-any-hope">Don't lose any hope.</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706600700489/a6973ce8-5733-477a-9a1d-6c1a7c0e1826.avif" alt class="image--center mx-auto" /></p>
<p>You will get many opportunities, you just have to be persistent and keep on trying.</p>
<p>I have faced failure many times more than you think but at last " I got in", so will you.</p>
]]></content:encoded></item></channel></rss>