<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by hamysab on Medium]]></title>
        <description><![CDATA[Stories by hamysab on Medium]]></description>
        <link>https://medium.com/@hamysab?source=rss-4f8b0068026b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FsHu7kIiXpiepV_kj3zp4Q.jpeg</url>
            <title>Stories by hamysab on Medium</title>
            <link>https://medium.com/@hamysab?source=rss-4f8b0068026b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:57:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hamysab/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Jumpstarting Your Backend Skills: A Java Odyssey]]></title>
            <link>https://blog.stackademic.com/jumpstarting-your-backend-skills-a-java-odyssey-5e9458fb048?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e9458fb048</guid>
            <category><![CDATA[jsp-and-servlet]]></category>
            <category><![CDATA[java-frameworks]]></category>
            <category><![CDATA[java-web-development]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[java-best-practices]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 09:01:40 GMT</pubDate>
            <atom:updated>2023-09-19T10:12:01.193Z</atom:updated>
            <content:encoded><![CDATA[<p>Being a programmer or more precisely a developer many of you have already encountered the taste of a shift in languages or frameworks. Well, those who haven’t tasted already then good for you🫡 because this guide would definitely give you a straight confidence.</p><figure><img alt="This is JAVA with jew of the jorg" src="https://cdn-images-1.medium.com/max/768/1*L__Ycm6IM1nnhHXoseAxZQ.png" /></figure><p><em>If you are already following my previous blogs then you have encountered one similar thing in my style of writing i.e., they are beginner-centered 😂… As I prominently focus on those who are aspiring to learn but in the long run actually get pissed😤.</em></p><p>Starting with the Introduction of Java which is the most popular and powerful language to applications that are highly compatible and platform independent which means if the machine has JVM installed it is the bare minimum to adapt, and we are all set to develop applications for mobile, web, and desktop applications.</p><p><strong><em>Starting off with the most important thing in our journey, well most of you might think that It is writing our first Program which is Hello World, yeah it is but prior to that without Java installed it is hard to digest the human-readable code to byte code which is done by our so-called Java compiler👏.</em></strong></p><p>Follow the below link to download Java compiler in SE ( Standard Edition ) :</p><blockquote><a href="https://www.oracle.com/tw/java/technologies/downloads/#jdk20-windows"><strong><em>Java Downloads | Oracle 台灣</em></strong></a></blockquote><h4>After successful installation of the Java compiler just to make sure it is working open the command prompt by,</h4><blockquote>(windows + R) — This opens the short model on the left corner of the window.</blockquote><blockquote>(type cmd ) — Press Enter</blockquote><pre>java --version</pre><h4>you must get the below message,</h4><figure><img alt="java version ( cmd log )" src="https://cdn-images-1.medium.com/max/903/1*HObtjVF1pRt4ONtlE4TKwQ.png" /></figure><p><em>This confirms that Java is installed, and the setup is properly configured, now that we have already set it up just need to add a new path in environmental variables which is in your,</em></p><p><em>Program Files -&gt; Java -&gt; jdk -&gt; bin</em></p><blockquote>copy the path and paste in the environmental path variable by adding a new field.</blockquote><p>This ends the process of setup just to confirm,</p><blockquote>(windows + R) — This opens the short model on the left corner of the window.</blockquote><blockquote>(type cmd ) — Press Enter</blockquote><pre>javac --version<br></pre><p>Hurray! Your compiler is all set to develop the application that we will build in the future using Java.</p><h3>Stackademic</h3><p><em>Thank you for reading until the end. Before you go:</em></p><ul><li><em>Please consider </em><strong><em>clapping</em></strong><em> and </em><strong><em>following</em></strong><em> the writer! 👏</em></li><li><em>Follow us on </em><a href="https://twitter.com/stackademichq"><strong><em>Twitter(X)</em></strong></a><em>, </em><a href="https://www.linkedin.com/company/stackademic"><strong><em>LinkedIn</em></strong></a><em>, and </em><a href="https://www.youtube.com/c/stackademic"><strong><em>YouTube</em></strong></a><strong><em>.</em></strong></li><li><em>Visit </em><a href="http://stackademic.com/"><strong><em>Stackademic.com</em></strong></a><em> to find out more about how we are democratizing free programming education around the world.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e9458fb048" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/jumpstarting-your-backend-skills-a-java-odyssey-5e9458fb048">Jumpstarting Your Backend Skills: A Java Odyssey</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Robust Angular Forms: Validation, Payloads, and Error Handling Demystified]]></title>
            <link>https://blog.stackademic.com/building-robust-angular-forms-%EF%B8%8F-validation-payloads-and-error-handling-demystified-56b30819a56b?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/56b30819a56b</guid>
            <category><![CDATA[error-handling]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[form-validation]]></category>
            <category><![CDATA[template-driven-form]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 04:49:06 GMT</pubDate>
            <atom:updated>2023-09-19T05:36:45.835Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Most of you who are reading this blog might already know for my work I have been putting down my efforts of Angular Journey, which was pretty hard for me in the beginning, but anyways I later was used to it that I felt it as my native framework and just that happened 👩‍💻.</blockquote><figure><img alt="Error Handling with Form Validation" src="https://cdn-images-1.medium.com/max/534/1*osdN96BE7w2Utf5rD4b6eg.png" /></figure><p>This section of my learning included a lot of understanding which includes <strong>angular conditions(*ngIf)</strong>, <strong>angular loops(*ngFor)</strong>, <strong>Form-Validations(@angular/forms)</strong>, <strong>building functions to trigger</strong> on submit.</p><blockquote>Let&#39;s get started with the origin of this blog,</blockquote><pre>create your application using following command...<br><br>ng new form-validation-app<br><br>//but before this make sure you have angular client install globally in you device.<br><br>//this creates your angular application<br><br>ng generate component contact<br><br>//this creates your contact component</pre><p><em>Soon after your creation you can check the application live running on your localhost:4200 using the below command,</em></p><pre>ng serve </pre><p><em>After this step its my call that you clean the folder structure using your own component and eliminating the starter code.</em></p><blockquote>Route it accordingly,</blockquote><p><strong>app.routing.module.ts</strong></p><pre>const routes:Routes = [<br>{path:&#39;contact&#39;,component:ContactComponent},<br>{path:&#39;**&#39;,redirectTo:&#39;contact&#39;,pathMatch:full},</pre><p><em>As the application is contact form oriented, we are routing other components, now open contact.component.html and start editing,</em></p><p>contact.component.ts</p><pre>import { Component } from &quot;@angular/core&quot;;<br>import {<br>  FormBuilder,<br>  FormGroup,<br>  FormsModule,<br>  ReactiveFormsModule,<br>  Validators,<br>} from &#39;@angular/forms&#39;;<br><br><br>@Component({<br>selector:&#39;app-contact&#39;,<br>templateUrl:&quot;./contact.component.html&quot;,<br>standalone:true,<br>})<br><br>export class ContactComponent {<br>contactForm!: FormGroup;<br>isLoading: boolean = false;<br>error:any;<br>success:any;<br><br><br>constructor(<br>private fb:FormBuilder,<br>){<br>}<br><br><br>ngOnInit(): void {<br>    this.contactForm = this.fb.group({<br>      // name: [&#39;&#39;, [Validators.required, Validators.minLength(2)]],<br>      name: [&#39;&#39;, [Validators.required]],<br>      email: [&#39;&#39;, [Validators.required, Validators.email]],<br>      designation: [&#39;&#39;, [Validators.required]],<br>      company: [&#39;&#39;, [Validators.required]],<br>      subject: [&#39;&#39;, Validators.required],<br>      //      &#39;howhear&#39;:[&#39;&#39;, [Validators.required]],<br>      message: [&#39;&#39;, [Validators.required]],<br>      //      &#39;recaptcha&#39;: [&#39;&#39;, [Validators.required]]<br>      heard:[&#39;&#39;,[Validators.required]],<br><br>    });<br>  }<br><br>  onSubmit() {<br>    if (this.contactForm.invalid) return;<br><br>    console.log(this.contactForm.value)<br><br>    this.isLoading = true;<br>    this.error = null;<br>    this.contactForm.disable();<br>    this.orderService.contactUs(this.contactForm.value).subscribe(<br>      (res: any) =&gt; {<br>        if (res &amp;&amp; res.status) {<br>          this.success = &#39;Your message has been submitted successfully.&#39;;<br>          this.isLoading = false;<br>          this.contactForm.enable();<br>          this.contactForm.reset();<br>        }<br>      },<br>      (err) =&gt; {<br>        this.error = err &amp;&amp; err.message ? err.message : &#39;Contact us failed.&#39;;<br>        this.isLoading = false;<br>        this.contactForm.enable();<br>      }<br>    );<br>  }<br><br>  get name() {<br>    return this.contactForm.get(&#39;name&#39;);<br>  }<br>  get email() {<br>    return this.contactForm.get(&#39;email&#39;);<br>  }<br>  get designation() {<br>    return this.contactForm.get(&#39;designation&#39;);<br>  }<br>  get company() {<br>    return this.contactForm.get(&#39;company&#39;);<br>  }<br>  get subject() {<br>    return this.contactForm.get(&#39;subject&#39;);<br>  }<br>  get howhear() {<br>    return this.contactForm.get(&#39;howhear&#39;);<br>  }<br>  get message() {<br>    return this.contactForm.get(&#39;message&#39;);<br>  }<br>  get heard(){<br>    return this.contactForm.get(&#39;heard&#39;)<br>  }<br><br><br>  handleSuccess(event: any) {}<br><br>}<br></pre><pre>&lt;form (ngSubmit)=&#39;onSubmit()&#39; [formGroup]=&quot;contactForm&quot;&gt;<br>&lt;div&gt;<br>&lt;label&gt;Name&lt;/label&gt;<br>&lt;input <br>  type=&quot;text&quot; <br>  id=&quot;nameField&quot;<br>  placeholder=&quot;Enter Name&quot;<br>  formControlName=&quot;name&quot;<br>// we must add classes for error handling and validations<br><br>/&gt;<br><br>// we must add div to show when the validation failed <br>&lt;/div&gt;<br><br>&lt;div&gt;<br>&lt;label&gt;Email&lt;/label&gt;<br>&lt;input<br>  type=&quot;email&quot;<br>  id=&quot;emailField&quot;<br>  placeholder=&quot;Enter Email&quot;<br>  formControlName=&quot;email&quot;<br><br>// we must add classes for error handling and validations<br>/&gt;<br><br>// we must add div to show when the validation failed<br>&lt;/div&gt;<br><br>&lt;div&gt;<br>&lt;label&gt; How did you hear about us?&lt;/label&gt;<br>&lt;select<br>  id=&quot;selectField&quot;<br>  formControlName=&quot;heard&quot;<br>  // we must add classes for error handling and validations<br>&gt;<br>&lt;option [selected]=true disabled value=&quot;Not Selected&quot;&gt;--Choose Category--&lt;/option&gt;<br>&lt;option&gt;Social Media&lt;/option&gt;<br>&lt;option&gt;LinkedIn&lt;/option&gt;<br>&lt;option&gt;Facebook&lt;/option&gt;<br><br><br>&lt;/select&gt;<br><br>// we must add div to show when the validaiton failed<br>&lt;/div&gt;<br><br><br>&lt;button type=&quot;submit&quot;&gt;Send&lt;/button&gt;<br><br><br>&lt;/form&gt;</pre><p><em>I believe this is it to handle the form validation in Angular.</em></p><p><em>Make sure to add validation using suitable package.</em></p><p><strong>Happy Coding👩‍💻🤓</strong></p><h3>Stackademic</h3><p><em>Thank you for reading until the end. Before you go:</em></p><ul><li><em>Please consider </em><strong><em>clapping</em></strong><em> and </em><strong><em>following</em></strong><em> the writer! 👏</em></li><li><em>Follow us on </em><a href="https://twitter.com/stackademichq"><strong><em>Twitter(X)</em></strong></a><em>, </em><a href="https://www.linkedin.com/company/stackademic"><strong><em>LinkedIn</em></strong></a><em>, and </em><a href="https://www.youtube.com/c/stackademic"><strong><em>YouTube</em></strong></a><strong><em>.</em></strong></li><li><em>Visit </em><a href="http://stackademic.com/"><strong><em>Stackademic.com</em></strong></a><em> to find out more about how we are democratizing free programming education around the world.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56b30819a56b" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/building-robust-angular-forms-%EF%B8%8F-validation-payloads-and-error-handling-demystified-56b30819a56b">Building Robust Angular Forms: Validation, Payloads, and Error Handling Demystified</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Embracing Errors: My Angular Learning Journey]]></title>
            <link>https://blog.stackademic.com/embracing-errors-my-angular-learning-journey-dff6133ecd1d?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/dff6133ecd1d</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angular-error]]></category>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Tue, 12 Sep 2023 11:02:54 GMT</pubDate>
            <atom:updated>2023-09-19T05:37:10.001Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>While I was working with my new framework Angular, I got errors and solving them landed few other errors and the journey progressed in the same fashion.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*szI7-lJFF0Rnd41F-6LEyA.png" /></figure><p>I took more than 4 days to hard code using my new framework and I would say it is the best thing I have done in my journey of learning and so should everyone. The reason behind not starting immediate coding with the framework is I had time to go with the documentation and understand the depth involved in it.</p><p>This made my understanding way clearer than the art of hard coding just by watching tutorials (<strong><em>no offense for tutorials nerds😂).</em></strong></p><p>The errors which I encountered is a big list, but the most common errors which I feel is really important to document are,</p><blockquote>Difference between <strong>ng add &lt;package_name&gt;</strong> and<strong> npm install &lt;package_name&gt;</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*EJJwpirf8c-DRmG9yVhcTQ.png" /></figure><blockquote>Updating version or switching it is difficult, so use <strong>nvm</strong></blockquote><p>Install the nvm using the following link and use the following commands to switch versions of node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*qVGfVXZg0TQ0w9tTmLJfXQ.png" /></figure><h3>Stackademic</h3><p><em>Thank you for reading until the end. Before you go:</em></p><ul><li><em>Please consider </em><strong><em>clapping</em></strong><em> and </em><strong><em>following</em></strong><em> the writer! 👏</em></li><li><em>Follow us on </em><a href="https://twitter.com/stackademichq"><strong><em>Twitter(X)</em></strong></a><em>, </em><a href="https://www.linkedin.com/company/stackademic"><strong><em>LinkedIn</em></strong></a><em>, and </em><a href="https://www.youtube.com/c/stackademic"><strong><em>YouTube</em></strong></a><strong><em>.</em></strong></li><li><em>Visit </em><a href="http://stackademic.com/"><strong><em>Stackademic.com</em></strong></a><em> to find out more about how we are democratizing free programming education around the world.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dff6133ecd1d" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/embracing-errors-my-angular-learning-journey-dff6133ecd1d">Embracing Errors: My Angular Learning Journey</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Angular’s Date Pipe: A Step-by-Step Guide from Scratch]]></title>
            <link>https://medium.com/@hamysab/mastering-angulars-date-pipe-a-step-by-step-guide-from-scratch-924405ccf694?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/924405ccf694</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[pipes]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[datepipe]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 09:49:31 GMT</pubDate>
            <atom:updated>2023-09-07T09:49:31.779Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you ready to dive into the world of Angular Date Pipes? Whether you’re new to Angular or just looking to expand your skillset, understanding how to work with date formatting is an essential part of web development. In this blog series, we’ll take you on a journey from the very basics to mastering date pipes in Angular.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*awx-9KLO6nbSApD7V-mlaA.png" /><figcaption>Date Pipe Works!!!!!♨️</figcaption></figure><p>Considering the blog is read by most beginner who are learning Angular as their first ever framework, well starting off with the project setup one must have a local setup, use the below command to get necessary angular npm packages and dependencies.</p><pre>npm install -g @angular/cli</pre><p>Now make a new folder for your project,</p><pre>ng new datepipe_practise<br>cd datepipe_practise</pre><p>By this time, you are all set to see your first ever angular project on your browser by typing following command,</p><pre>ng serve --o<br>//ng serve starts the application<br>//ng serve --o open the application in your browser</pre><p>You can see the following image in your browser,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*qi3W_yUcMjgANcNsMMD2rw.png" /><figcaption>Angular Home Page</figcaption></figure><p>Take your time to understand the folder structure and now that If you are all set to generate your new component follow the following steps:</p><pre>ng generate component first</pre><p>This creates your first component folder, consisting of 4 files html, CSS, ts, specs.</p><p>Import the following in your app.module.ts which is the root component module as,</p><pre>import { DatePipe } from &#39;@angular/common&#39;;<br><br>providers:[DatePipe] // this must inside NgModule</pre><p><em>Note: Do not disturb any declarations, providers inside NgModule just add DatePipe as import and in provider.</em></p><p>Close all tabs and clean the first.component.html and add a paragraph tag as,</p><pre>&lt;p&gt; Today is {{ today | date }} &lt;/p&gt;</pre><p>also, in first.component.ts</p><pre>import { Component, OnInit } from &#39;@angular/core&#39;;<br>import { DatePipe } from &#39;@angular/common&#39;;<br><br>@Component({<br>  selector: &#39;app-first&#39;,<br>  templateUrl: &#39;./first-d.component.html&#39;,<br>  styleUrls: [&#39;./first-d.component.css&#39;]<br>})<br>export class first implements OnInit {<br><br>  toDate: string | null;<br><br>  constructor(private datePipe: DatePipe) {<br><br>    this.toDate = this.datePipe.transform(Date.now());<br>  }<br><br>  ngOnInit() {<br><br>  }<br>}</pre><p>Mastering Angular Date Pipes empowers you to handle dates and times in your Angular applications with finesse. As you continue your journey in web development, this skill will prove invaluable. So go ahead, explore, experiment, and elevate your applications to the next level.</p><p>Happy coding! 👩</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=924405ccf694" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Journey to Angular Mastery: Chronicles of an Associate Software Engineer (Day 2)]]></title>
            <link>https://medium.com/@hamysab/journey-to-angular-mastery-chronicles-of-an-associate-software-engineer-day-2-f39b92b06fd1?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f39b92b06fd1</guid>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 04:56:39 GMT</pubDate>
            <atom:updated>2023-09-07T04:56:39.082Z</atom:updated>
            <content:encoded><![CDATA[<p>Initially the documentation of the Angular looked horrible but I loved the way it was designed to make sure that beginner are not tensed. Any framework initially is hard to digest but eventually it gets familiar.</p><p>So, in this journey of Adapting Angular I encountered that being a JavaScript Developer it is quite familiar as it uses TypeScript as an addon in it. jk😁</p><p>Here comes the Day 2 where I got familiar with the Fundamentals of Angular Concepts.</p><h3><strong>Fundamentals of Angular:</strong></h3><p>As we know that basic building blocks of the Angular framework are components which are organized into Ng Modules, these collect related code into functional sets. The application must have at least root module, and many feature modules.</p><p>Eah component and services are decorators which provides metadata that tells Angular how to use them.</p><p><strong>Modules:</strong></p><ol><li>Ng Modules includes the components set to a proper workflow.</li><li>Every Angular Application has root module as App Module, which provides the bootstraps the launch of the application.</li><li>Apart from the root modules it has got other modules which are similar to JavaScript modules which we can import and use the exported functionalities such as Router.</li><li>The Modules are to be well-organized to make the loading modules exhibit lazy loading, which is technique to load the modules which are required on demand to minimize the amount of code that loads at startup.</li></ol><p><em>Note: Decorators are the functions that modify the JavaScript classes, here angular attaches specific kinds of metadata to those classes such that system knows how they should work.</em></p><p><strong>Components:</strong></p><ol><li>This is point where our DOM is structured such as root is minimum requirement in the component list which is connection hierarchy with page DOM.</li><li>Soon after we instantiate the @Component decorator it identifies the class immediately as component and gives it all the essentials and metadata.</li><li>A Template combines the HTML with Angular markup that can modify elements before displaying.</li><li>Directives provide program logic, binding markup.</li></ol><ul><li>Event Binding — Responds the user inputs.</li><li>Property Binding — Application data to HTML</li></ul><p>5. Angular supports two-way binding.</p><p><strong>Services and Dependency Injection:</strong></p><ul><li>This is data or logic which we want to share across the components, then we use service class.</li><li>@Injectable(),</li></ul><p><em>Note: The above is the syntax to define service class</em></p><ul><li>It is effective and optimized way as they don’t fetch data from server, validate user inputs.</li><li>These are delegated services.</li></ul><p><strong>Routing:</strong></p><ul><li>This Ng Module provides a service of navigation.</li><li>If the router determines that the application state requires particular functionality which is not loaded, then it lazy-loads it.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f39b92b06fd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Journey to Angular Mastery: Chronicles of an Associate Software Engineer (Day 1)]]></title>
            <link>https://medium.com/@hamysab/journey-to-angular-mastery-chronicles-of-an-associate-software-engineer-day-1-c5f37e42fd28?source=rss-4f8b0068026b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5f37e42fd28</guid>
            <category><![CDATA[learning-journey]]></category>
            <category><![CDATA[tech-education]]></category>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[angularlearner]]></category>
            <category><![CDATA[associatesde]]></category>
            <dc:creator><![CDATA[hamysab]]></dc:creator>
            <pubDate>Wed, 06 Sep 2023 10:38:04 GMT</pubDate>
            <atom:updated>2023-09-06T10:38:04.255Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Angular" src="https://cdn-images-1.medium.com/max/432/1*qvF878oIFS7CKeHMBO22Ag.png" /></figure><p>Angular is a platform and framework for building SPA using TypeScript, It provides you a set of TypeScript libraries that can help build scalable applications and cover a wide variety of features such as,</p><ol><li>Routing</li><li>Form Management</li><li>Client-Server Communication</li><li>Developer can build enterprise applications.</li></ol><h3><strong>Angular</strong> <strong>Essentials</strong>:</h3><ol><li>Components — <br> These are the building blocks of the application which includes TypeScript class,<br> -&gt; <a href="http://twitter.com/Component">@Component</a> (Selector)<br> -&gt; HTML Template<br> -&gt; Styles</li><li>Templates<br> -&gt; Inline or path (this is done by providing URL)<br> -&gt; Dynamic values<br> -&gt; DOM updates as the component state changes.<br> -&gt; We can access the contents using {{}}<br> -&gt; set values for attribute by passing values</li><li>Directives — <br> Components, built-in, structural</li><li>Dependency Injection<br> These are TypeScript classes.</li></ol><h3>Angular CLI:</h3><p>The CLI is the fastest way to develop Angular applications it can build you component folder which includes HTML, CSS, TypeScript, specs. Well this can be done manually but CLI fastens the process.</p><p>While going through with documentation, initially the thought process of the framework was different but now that I knew that the Angular is standing with its 4 pillars, upon understanding these thoroughly would deliberately result in strong grasp.</p><p><strong>Creating</strong> <strong>a component can be done using CLI and manual:</strong></p><ol><li>Component using Angular CLI</li></ol><pre>ng generate component (its name)<br>this creates css, html, ts files</pre><p>2. Component building manually</p><pre>1. go to project dir <br>2. new file (itsname).component.ts<br>3. import { Component } from &#39;@angular/core&#39;;<br>4. @Component({}) ----use decorator<br>5. define selector by any unique name to base as tag<br>6. define HTML as <br> <br>------url/path-----<br>templateUrl:&quot;./pathname&quot;<br><br> or <br><br>------basic html------<br>template:`&lt;h1&gt;hello&lt;/h1&gt;`<br><br><br>7. similarly styles - array of string styles components<br>8. export via a class name as, <br> <br> export class ThisIsAComponent {<br>// code to edit<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5f37e42fd28" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>