<?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 Nirmal Kumar on Medium]]></title>
        <description><![CDATA[Stories by Nirmal Kumar on Medium]]></description>
        <link>https://medium.com/@Nirmal97?source=rss-7488c93be792------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8edkYxuqdBXXAaMU</url>
            <title>Stories by Nirmal Kumar on Medium</title>
            <link>https://medium.com/@Nirmal97?source=rss-7488c93be792------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:44:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Nirmal97/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[Decorators in angular]]></title>
            <link>https://medium.com/yavar/decorators-in-angular-a050b152bdb8?source=rss-7488c93be792------2</link>
            <guid isPermaLink="false">https://medium.com/p/a050b152bdb8</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angular-decorator]]></category>
            <dc:creator><![CDATA[Nirmal Kumar]]></dc:creator>
            <pubDate>Mon, 14 Nov 2022 07:14:11 GMT</pubDate>
            <atom:updated>2022-11-15T07:06:47.731Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ovrP-aazCG5Jn65PERKxRw.png" /></figure><h4><strong>What is a decorator?</strong></h4><blockquote><strong>Decorators are a design pattern that is used to separate modification or decoration of a class without modifying the original source code.​​</strong></blockquote><h4><strong>Use of a decorator</strong>​</h4><p>The whole purpose of Angular decorators is <strong>to store metadata about a class, method, or property</strong>. When you configure a component.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*njWOEvPAntcrMg8ZGkfvCA.png" /></figure><h4><strong>There are four main types of angular decorators:</strong>​​</h4><ul><li><strong>Class decorators</strong>, such as <strong>@Component</strong> and <strong>@NgModule</strong>​​</li><li><strong>Property decorators</strong> for properties inside classes, such as <strong>@Input</strong> and <strong>@Output</strong></li><li><strong>Method decorators</strong> for methods inside classes, such as <strong>@HostListener</strong>​</li><li><strong>Parameter decorators</strong> for parameters inside class constructors, such as <strong>@Inject</strong></li></ul><h4><strong>Class Decorators</strong></h4><p>Class decorators, also known as top-level decorators are used to inform Angular that a particular class is a component or module.​</p><p><strong>Types of class decorators</strong>​​</p><blockquote><strong>@Component </strong>​</blockquote><blockquote><strong>@NgModule</strong>​</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*p3QORLxgWVjmanhE1ADBhQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*1vvXp81iBtMtZhnbbuR_Cw.png" /></figure><p><a href="https://angular.io/guide/ngmodules"><strong>@NgModule</strong></a></p><p><strong>Providers</strong> — A list of dependency injection (DI) providers and it defines the set of injectable objects that are available in the injector of this module. ​​</p><p><strong>Declarations </strong>— A list of declarable classes, components, directives, that belong to this module. ​​</p><p><strong>Imports</strong> — A list of modules and it used to import the supporting modules like FormsModule, RouterModule, CommonModule, or any other custom made feature module.​</p><h4>​<br><strong>Property Decorators</strong></h4><p>The use of Property decorators arises when component communication is required. Property decorators handle communication between parent and child components. There are various types of property decorator. Some of the most commonly used are:​​</p><blockquote><a href="https://angular.io/api/core/Input"><strong>@Input</strong></a>()​</blockquote><blockquote><a href="https://angular.io/api/core/Output"><strong>@Output</strong></a>()</blockquote><h4>@Input()</h4><p><strong>Sending data to a child component</strong></p><p>The @<a href="https://angular.io/api/core/Input">Input</a>() decorator in a child component or directive signifies that the property can receive its value from its parent component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h0YKOuXGh4d4WGgTOOAPSg.png" /></figure><h4><a href="https://angular.io/api/core/Input"><strong>@Output()</strong></a></h4><h4>Sending data to a parent component from a child component</h4><p>The @<a href="https://angular.io/api/core/Output">Output</a>() decorator in a child component or directive lets data flow from the child to the parent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFV-w4NYDrRnypYa-J655g.png" /></figure><h4><strong>Method decorator</strong></h4><p>Method decorators allow utilizing special decorator functions. For example <strong>@HostListener</strong> decorator observes events and allows us to tell Angular to call the decorator method when it is triggered.​</p><p><a href="https://angular.io/api/core/HostListener#description"><strong>@</strong></a>H<a href="https://angular.io/api/core/HostListener#description"><strong>ostListener</strong></a></p><p>This tells Angular that when an event on your host happens, you want the decorated method to be called with the event.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pCi65jNV4qjV4ONM8t7JFw.png" /></figure><h4><strong>Parameter decorators</strong></h4><p>Parameter decorators are <strong>applied to the constructor parameter of the class and are used when we need to tell Angular to inject a particular provider in a constructor</strong>.<strong> @Inject()</strong> is a widely used parameter decorator. ​</p><h4><a href="https://angular.io/api/core/Inject"><strong>@Inject()</strong></a></h4><p>@Injact is a widely used parameter decorator. We use this decorator to inject services in Angular classes.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mlB1RHHkXPVUE15EfWPc6g.png" /></figure><blockquote><strong>Thanks for reading! If you liked this article, hit that clap button below 👏.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a050b152bdb8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/decorators-in-angular-a050b152bdb8">Decorators in angular</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 10 VSCode Extensions for Angular Developers]]></title>
            <link>https://medium.com/yavar/top-10-vscode-extensions-for-angular-developers-c50d1d842896?source=rss-7488c93be792------2</link>
            <guid isPermaLink="false">https://medium.com/p/c50d1d842896</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Nirmal Kumar]]></dc:creator>
            <pubDate>Fri, 28 Oct 2022 10:46:52 GMT</pubDate>
            <atom:updated>2023-04-05T05:50:37.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TylgW12vOQkvUioY2531GQ.jpeg" /></figure><h3>Use these extensions to increase productivity and make life easier for yourself as an Angular developer.</h3><blockquote><em>“ It is essential to have good tools, but it is also essential that the tools should be used in the right way </em><strong><em>” — Wallace D</em></strong></blockquote><p>Here are my top 10 Visual Studio Code extensions for Angular developers in 2022, which will help you develop applications faster and more easily. The best thing is that all of the aforementioned extensions are free to use and are all listed in the VS Code market place.</p><h3>1. Tabnine AI Autocomplete for JavaScript, Python, Typescript, PHP, Go, Java, Ruby &amp; more:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qxCAZsaGr1KdJniHMhFNpg.png" /></figure><p>Tabnine accelerates development by providing code guidance with patterns learned from millions of repositories and can be customized to train on your repository. It uses machine learning models and is trained on more than a billion lines of open-source code with permissive licenses.</p><p>You can also allow Tabnine to train on your repository by giving it access to the GitHub, GitLab, and Bitbucket repositories. It is also safe and secure as the learning algorithm created for your team is strictly exclusive — made and delivered only to your approved team members. Tabnine’s AI code completion models can be run locally on your machine.</p><p>In short terms, it analyzes your code/repository, trains, and generates models, which enables you to code faster by providing AI code suggestions and code completion. This would be very useful if your work has lots of repetitive tasks or if a team should follow a specific type of coding standards or styles.</p><h3>2. Prettier- Code Formatter:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ODJ3DFXcUs3P6UMNor0u6w.png" /></figure><p>Prettier -Code Formatter for Visual Studio Code is an opinionated code formatter. With over 21 Million downloads, and one of the most popular VS Code extensions in there.</p><p>Once set up, it formats your code by adding white spaces, wrapping, and aligning the code for you every time you save the file, thus reducing the significant amount of time you need to spend on formatting your code. Once you get used to this extension it’s hard to come out of it considering the amount of work it does for you and the amount of time you are saving by using it. It works awesome with the typescript.</p><h3>3 .Angular2-switcher:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEGfy72fakNjkOlW_9xBxg.png" /></figure><p>When working on angular, there is a need to navigate frequently between the HTML, typescript, spec, and CSS files. This even though looks easy but is actually a time-consuming task when working on multiple components, where there is a constant need in switching between the files.</p><p>Angular2-switcher makes this process easy by providing a few shortcut keys that enable us to switch between the HTML, typescript, and CSS files swiftly and with ease. Although VS Code has inbuild shortcuts to switch between different tabs it works it doesn’t have shortcuts to switch between the files of a component like angular2-switcher does.</p><p>You can also further customize it to open files side by side or the order of switching. In a long run, this extension will save you a considerable amount of time and work in switching between files</p><h3>4. GitLens — Git supercharged:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*ZQyk69XsG-dl97jPV7MYtw.png" /></figure><p>Most of us work on projects as a team and this gets really crowded when working on massive and extensive projects, this is where GitLens comes for the save.</p><p>GitLens helps you to visualize the code authorship at a glance in the VS Code itself. In simple terms, this extension allows you to see the authors of the codes line by line, who edited who, who created it, the changes history, and the commit message. It enables you to follow through on how the code grows after being handled by several developers and how the codebase is getting evolved.</p><p>With over 14M downloads, you can already guess the popularity it gets among the developers. It is a definite lifesaver for developers out there.</p><h3>5. Angular Language Service:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EiC8tyB3ohCNlcHEO8Oz_Q.png" /></figure><p>This is a really cool extension that every Angular developer must absolutely need to have. This extension provides a rich editing experience for Angular templates, both inline and external templates. It assists the developers with a way to get completions, errors, hints, and navigation inside Angular templates.</p><blockquote>To get the most out of this extension you must set the <strong>strictTemplates</strong> in your tsconfig.json. As shown below:</blockquote><pre>&quot;angularCompilerOptions&quot;: {  <br>    &quot;strictTemplates&quot;: true<br>}</pre><h3>6. Angular Snippets:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VF789oYGWDlx5C2m1xRYPw.png" /></figure><p>Angular snippets allow you to include snippets for Angular for both the typescript and HTML. It saves you a lot of time by not having to type out the entire out and using the snippets instead.</p><p>In typescript, it is very useful for generation snippets like Components, Modules, directives, services, pipes, observable, routing paths, and a lot more. In HTML it is very useful in providing snippets like *ngFor, *ngSwitch, *ngIf, [ngClass], [(ngModal)] and a lot more.</p><p>Note: Make sure to download the correct version of angular snippets based on the version of the angular you are using on your machine.</p><h3>7. ESLint:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4KdQDi97qTunwwsPRM-snw.png" /></figure><p>If you have been working on angular and typescript for a while you would have most likely come across “TSLint”. This extension is the same as “ESLint” but it is just for Typescript. Lately, this extension has been deprecated with the integration of Typescript into ESLint.</p><p>ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript/Typescript code. The ESLint can be used to identify and report patterns in the code based on the rules that you have configured as well as inbuilt rules in it and to create a codebase that is less buggy and is more consistent. There are quite a lot of configurations that you can set as per your standards and requirements.</p><h3>8. JSON to TS:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zFUt9S-GwKIkYWJ4_Gh3Fw.png" /></figure><p>JSON to TS is a cool extension that can save you a ton of time if you are working on a large JSON file with complex nesting. What it does is, it creates typescript interfaces based on the JSON by itself. Cool right! You don’t need to waste your time typing it out one by one. It also provides their type based on the JSON you have provided. This has done wonders for me.</p><p>You can either convert it directly from the clipboard after copying by using the command (Shift + Ctrl + Alt + V) or you can paste the JSON and then convert it by selecting it and then using the command (Shift + Ctrl + Alt + S)</p><h3>9. Auto Rename Tag:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PGteWv1_1AXzmwe0weWmSw.png" /></figure><p>If you are a person who frequently edits the HTML file, then this is the extension that you need to have. It automatically renames the paired HTML/XML tags when the initial tag gets renamed. It will be really useful when you are working on an HTML file that has quite a lot of HTML tags involved with complex nesting of tags.</p><h3>10. Material Icon Theme</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d4PXqVWjYTdtMF2nVFoFiA.png" /></figure><p>Unlike other extensions, this extension is for enhancing the look and feel of your files. This extension enables you to use Google’s material icons for different file extensions which helps you to figure out the difference between the files very quickly. You can also customize these icons, the color of the icons, etc. based on your preference. This makes your project files look cool and distinct.</p><h3><strong>Conclusion:</strong></h3><p><strong>Thanks for reading. I hope all these extensions enable you to maximize your productivity and save you time. Although you may take some time to get used to some of the extensions and incorporate them into your daily development work. It is a slow and gradual transition and you will see the amount of time you saved by using these extensions.</strong></p><p><strong>These are the extensions that I have heard and used. If you know any other cool and productive VSCode extension that you have been using kindly share it in the comments.</strong></p><blockquote>Thank you For Reading My Post🙂</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c50d1d842896" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/top-10-vscode-extensions-for-angular-developers-c50d1d842896">Top 10 VSCode Extensions for Angular Developers</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Reactive Forms With Validation ]]></title>
            <link>https://medium.com/yavar/angular-reactive-forms-with-validation-276a07d402ed?source=rss-7488c93be792------2</link>
            <guid isPermaLink="false">https://medium.com/p/276a07d402ed</guid>
            <category><![CDATA[angular-reactive-form]]></category>
            <category><![CDATA[reactive-form-validation]]></category>
            <dc:creator><![CDATA[Nirmal Kumar]]></dc:creator>
            <pubDate>Mon, 26 Sep 2022 05:53:37 GMT</pubDate>
            <atom:updated>2023-04-05T05:51:30.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*1m5mxVtSO0gAg-pMrIFnbA.jpeg" /></figure><p><strong>Reactive Forms</strong></p><p>Reactive forms provide a model-driven approach to handling form inputs whose values change over time. This guide shows you how to create and update a basic form control, progress to using multiple controls in a group, validate form values and create dynamic forms where you can add or remove controls at run time.</p><pre><strong>import { ReactiveFormsModule } from &#39;@angular/forms&#39;;</strong></pre><pre><strong>@NgModule({</strong></pre><pre><strong>imports: [</strong></pre><pre><strong>// other imports ...</strong></pre><pre><strong>ReactiveFormsModule</strong></pre><pre><strong>],</strong></pre><pre><strong>})</strong></pre><p><strong>Overview of reactive forms</strong></p><p>Reactive forms use an explicit and immutable approach to managing a form’s state at a given time. Each change to the form state returns a new state, which maintains the integrity of the model between changes. Reactive forms are built around <a href="https://angular.io/guide/glossary#observable">observable</a> streams, where form inputs and values are provided as streams of input values, which can be accessed synchronously.</p><p>Reactive forms also provide a straightforward path to testing because you are assured that your data is consistent and predictable when requested. Any consumers of the streams have access to manipulate that data safely.</p><p>Reactive forms differ from <a href="https://angular.io/guide/forms">template-driven forms</a> in distinct ways. Reactive forms provide synchronous access to the data model, immutability with observable operators, and change tracking through observable streams.</p><p>Template-driven forms let direct access to modify data in your template but are less explicit than reactive forms because they rely on directives embedded in the template and mutable data to track changes asynchronously. See the <a href="https://angular.io/guide/forms-overview">Forms Overview</a> for detailed comparisons between the two paradigms.</p><h3>Form Validation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYcN29sQe0tMOxbX_ZkduQ.png" /></figure><p><em>Form validation</em> is used to ensure that user input is complete and correct. This section covers adding a single validator to a form control and displaying the overall form status. Form validation is covered more extensively in the Form Validation guide.</p><p><strong>Use the following steps to add form validation.</strong></p><ol><li>Import a validator function in your form component.</li></ol><p>2. Add the validator to the field in the form.</p><p>3. Add logic to handle the validation status.</p><pre><strong>import { Validators } from &#39;@angular/forms&#39;;</strong></pre><p><strong>CLASSES:</strong></p><p><strong>AbstractControl:</strong></p><p>The abstract base class for the concrete form control classes FormControl, FormGroup, and FormArray. It provides their common behaviors and properties.</p><p><strong>FormControl</strong></p><p>Manages the value and validity status of an individual form control. It corresponds to an HTML form control such as &lt;input&gt; or &lt;select&gt;.</p><p><strong>FormGroup</strong></p><p>Manages the value and validity state of a group of AbstractControl instances. The group’s properties include its child controls. The top-level form in your component is FormGroup.</p><p><strong>FormArray</strong></p><p>Manages the value and validity state of a numerically indexed array of AbstractControl instances.</p><p><strong>FormBuilder</strong></p><p>An injectable service that provides factory methods for creating control instances.</p><p><strong>DIRECTIVES:</strong></p><p><strong>FormControlDirective</strong></p><p>Syncs a standalone FormControl instance to a form control element.</p><p><strong>FormControlName</strong></p><p>Syncs FormControl in an existing FormGroup instance to a form control element by name.</p><p><strong>FormGroupDirective</strong></p><p>Syncs an existing FormGroup instance to a DOM element.</p><p><strong>FormGroupName</strong></p><p>Syncs a nested FormGroup instance to a DOM element.</p><p><strong>FormArrayName</strong></p><p>Syncs a nested FormArray instance to a DOM element.</p><p><strong>Built-in validators</strong></p><p>⭕Required Validator</p><p>⭕Minlength Validator</p><p>⭕Maxlength Validator</p><p>⭕Pattern Validator</p><p>⭕Email Validator</p><p>⭕Min</p><p>⭕Max</p><p>⭕Compose</p><p>⭕Null validator</p><p>⭕Required true</p><p>⭕Compose Async</p><h4>Required Validator</h4><p>The required validator is a sync validator, which returns true only if the formcontrol has a non-empty value entered. The second argument of the FormControl takes the <em>Sync Validator</em>.</p><h4>Minlength Validator</h4><p>Minlength validator requires the control value must not have less number of characters than the value specified in the validator.</p><p>For Example, minlength validator ensures that the firstname value has at least 10 characters.</p><h4>Maxlength Validator</h4><p>This Validator requires that the number of characters must not exceed the value specified in the validator.</p><h4>Pattern Validator</h4><p>This Validator requires that the control value must match the regex pattern provided in the attribute. For example, the pattern ^[a-zA-Z]+$ ensures that the only letters are allowed (even spaces are not allowed). Let us apply this pattern to the lastName</p><p><strong>Email Validator</strong></p><p>This Validator requires that the control value must be a valid email address. We apply this to the email field</p><p><strong>min()</strong></p><p>Validator that requires the control’s value to be greater than or equal to the provided number.</p><p><strong>max()</strong></p><p>Validator that requires the control’s value to be less than or equal to the provided number.</p><p><strong>requiredTrue()</strong></p><p>Validator that requires the control’s value be true. This validator is commonly used for required checkboxes.</p><p><strong>nullValidator()</strong></p><p>Validator that performs no operation.</p><p><strong>compose()</strong></p><p>Compose multiple validators into a single function that returns the union of the individual error maps for the provided control.</p><p><strong>composeAsync()</strong></p><p>Compose multiple async validators into a single function that returns the union of the individual error objects for the provided control.</p><p>Every form element has a FormControl instance associated with it. It exposes the state of form element like valid, dirty, touched etc.</p><p><strong>Dirty:</strong></p><p>A control is dirty if the user has changed the value in the UI.</p><p><strong>Touched:</strong></p><p>A control is touched if the user has triggered a blur event on it.</p><p><strong>Resetting Forms</strong></p><p>The difference between resetForm and reset is that the former will clear the form fields as well as any validation, while the later will only clear the fields. Use resetForm after the form is validated and submitted, otherwise use reset.</p><blockquote><em>“</em>Before you share anything with them, every friend of yours is a stranger.<em> ”</em></blockquote><p>I’ve told you what I know and am now waiting for your opinion👌</p><p>Thank you for reading my post😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=276a07d402ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/angular-reactive-forms-with-validation-276a07d402ed">Angular Reactive Forms With Validation 👇</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Augmented Reality for Indoor Navigation]]></title>
            <link>https://medium.com/yavar/augmented-reality-for-indoor-navigation-56aa18b6a842?source=rss-7488c93be792------2</link>
            <guid isPermaLink="false">https://medium.com/p/56aa18b6a842</guid>
            <category><![CDATA[indoor-navigation-system]]></category>
            <category><![CDATA[augumented-reality]]></category>
            <dc:creator><![CDATA[Nirmal Kumar]]></dc:creator>
            <pubDate>Wed, 14 Sep 2022 04:41:58 GMT</pubDate>
            <atom:updated>2022-09-14T04:41:58.456Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*59XySqvf4mTPmAYlHX-QfQ.jpeg" /></figure><h3>What is Augmented Reality</h3><p>Augmented reality (AR) is the integration of digital information with the user’s environment in <a href="https://www.techtarget.com/whatis/definition/real-time">r</a>eal-time. Unlike virtual reality (<a href="https://www.techtarget.com/whatis/definition/virtual-reality">VR</a>), which creates an artificial environment, AR users experience a real-world environment with generated perceptual information overlaid on top of it.</p><p>Augmented reality is used to either visually change natural environments in some way or to provide additional information to users. The primary benefit of AR is that it manages to blend digital and three-dimensional (3D) components with an individual’s perception of the real world.</p><h3><strong>What is Indoor navigation?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c77N2xnb0mg6kn1Te3KKag.jpeg" /></figure><p>Usually, a GPS is used to navigate from spot A to spot B. But as GPS doesn’t work well indoors, a different system is needed. That’s why indoor navigation or indoor wayfinding is used — and the industry is booming.</p><p>Indoor navigation systems provide users with the spatial context of a venue and intuitive directions. This can include 2D printed maps or large “you are here” signage but often in today’s world, indoor navigation systems can take the form of a digital and interactive display. Indoor navigation systems can be used across mobile, tablet, web, or directory devices. A user can select or search for any point of interest on a 3D digital map and receive turn-by-turn directions to their desired destination.</p><h3><strong>ARway</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_s3O0WbaRa_2c_EkUVnsmQ.jpeg" /></figure><h3>ARwayKit: The Mobile SDK for Indoor Navigation App Development</h3><p>Enter ARWAY’s propriety mobile SDK:<a href="https://arway.app/developer/"> ARway Kit</a>. This revolutionary technology is set to shake up the indoor navigation app industry and finally give developers the tools and convenience they need to realize their vision for authentic, AR-powered navigation solutions. By powering camera devices with AI and cloud support, ARWAY can help develop some of the most hyper-accurate location apps ever envisioned.</p><p>As a mobile SDK, it goes where your team needs to go. In fact, ARway Kit works perfectly for indoor navigation app developers looking to build and test their software on location.</p><h3>ARway Kit is Built for Real-Time Cloud Mapping</h3><p>One of the big challenges in developing augmented reality indoor navigation apps is the difficulty in finding pins or feature points in an indoor environment. ARway Kit allows developers to capture specific feature points in every camera keyframe, then match those features in each frame.</p><p>The result? Hyper-specific and accurate positioning in real-time for the user. The secret is a “point cloud map” stored in cloud infrastructure owned by ARWAY alone. That means no server sharing and no downtime.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56aa18b6a842" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/augmented-reality-for-indoor-navigation-56aa18b6a842">Augmented Reality for Indoor Navigation</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Data Binding]]></title>
            <link>https://medium.com/yavar/hello-everyone-8ec65520a4d9?source=rss-7488c93be792------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ec65520a4d9</guid>
            <category><![CDATA[data-binding-in-angular]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[Nirmal Kumar]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 07:05:43 GMT</pubDate>
            <atom:updated>2023-04-05T05:53:03.852Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone!</p><p>I’m Nirmal Kumar and this is my first post about Data Binding in Angular. I hope you get some insight from this. Comment out your suggestions if any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wcMadi-YtgqIJ9Zur5r6hw.jpeg" /></figure><h3>What is Angular Data Binding</h3><p>Web development requires data synchronization between the models and the views. The models basically contain the data values whereas views deal with what the user sees. So if you want to know how this happens in Angular, this article on Angular Data Binding is to help you.</p><h3>What is Data Binding?</h3><p>Data Binding is the mechanism that binds the applications UI or User Interface to the models. Using Data Binding, the user will be able to manipulate the elements present on the website using the browser. Therefore, whenever some variable has been changed, that particular change must be reflected in the Document Object Model or the <a href="https://www.edureka.co/blog/html-dom">DOM</a>.</p><p>In <a href="https://www.edureka.co/blog/angular-bootstrap/">Angular</a>, Data Binding defines the interaction between the components and the DOM. Data Binding is a part of all Angular versions starting from AngularJS right through to the latest <a href="https://www.edureka.co/blog/angular-9/">Angular 9</a> version.</p><h3>Types of Data Binding in Angular</h3><p>Angular allows both One-way and Two-way Data Binding.<strong> One-way data binding</strong> is a simple type of data binding where you re allowed to manipulate the views through the models. This implies, making changes to the <a href="https://www.edureka.co/blog/typescript-tutorial/">Typescript</a> code will be reflected in the corresponding <a href="https://www.edureka.co/blog/what-is-html/">HTML</a>. In Angular, One-way data binding is achieved through:</p><ul><li>Interpolation or String Interpolation</li><li>Property binding</li><li>Event binding</li></ul><p>Two-way data binding, on the other hand, allows synchronization of data in such a way that the views can be updated using the models and the models can be updated using views. This means that your application will be able to share information between a component class and its template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*OC7P_AcPhyd2UsAhUbuUJw.png" /></figure><h3>One-way Data Binding</h3><p>In one-way data binding, data flows only in one direction i.e from the models to the views. As mentioned earlier, one-way data binding in Angular can be of three types i.e Interpolation, Property binding, and Event binding.</p><h3>Interpolation Binding</h3><p>Interpolation binding is used to return HTML output from TypeScript code i.e. from the components to the views. Here, the template expression is specified within double curly braces. Through Interpolation, strings can be added into the text that is present between HTML element tags and within attribute assignments. These strings are calculated using Template expressions.</p><p><strong>EXAMPLE:</strong></p><pre>&lt;h1&gt;{{title}}&lt;/h1&gt;<br>Learn &lt;b&gt; {{course}}<br>&lt;/b&gt; with Us.<br>2 * 2 = {{2 * 2}}</pre><p>The Typescript part of this code is as follows:</p><pre>export class AppComponent {<br> title = ‘Databinding’;<br> course =’Angular’;<br>}</pre><p><strong>OUTPUT:</strong></p><pre>Databinding</pre><pre>Learn Angular with Us</pre><pre>2*2 = 4</pre><p>The component property is specified between the 2 curly braces. Angular will replace this component property with the string value associated with that component property. It can be used in different places according to the requirements. Angular converts interpolation into property binding. Check out this <a href="https://www.edureka.co/masters-program/full-stack-developer-training">Web developer course</a> and learn more about Angular today.</p><p>Angular also allows you to configure the interpolation delimiter and use something of your choice instead of the two curly braces. This can be done using the interpolation option in the Component metadata.</p><p><strong>Template expressions</strong></p><p>Template expressions are present within the two curly braces and they produce a value. Angular will execute that expression and then, it assigns that particular expression to a property of a binding target such as HTML elements, components, or directives.</p><p><strong>NOTE: </strong>2 * 2 present between interpolation brackets, is a template expression.</p><h3>Property Binding</h3><p>In Property binding, value flows from a component’s property into the target elements property. Therefore, Property binding can’t be used to read or pull data from the target elements or to call a method that belongs to the target element. The events raised by the element can be acknowledged through event binding which will be covered later on in this article.</p><p>In general, one can say that the component property value will be set to the element property using Property binding.</p><p><strong>EXAMPLE:</strong></p><pre>&lt;h1&gt;Property binding&lt;/h1&gt;</pre><pre>&lt;div&gt;&lt;img [src]=”image”&gt;&lt;/div&gt;</pre><p>In the above example, the <strong><em>src</em></strong> property of the image element is bound to a component’s <em>image </em>property.</p><h3>Event Binding</h3><p>The Event binding feature lets you listen to certain events such as mouse movements, keystrokes, clicks, etc. In Angular, event binding can be achieved by specifying the target event name within regular brackets on the left of an equal to ( = ) sign, and the template statement on the right side within quotes (” “).</p><p><strong>EXAMPLE:</strong></p><pre>&lt;div&gt;<br> &lt;button (click)=”goBack()”&gt;Go back&lt;/button&gt;<br>&lt;/div&gt;</pre><p>Whenever event binding occurs, an event handler will be set by Angular for the target event. When that particular event gets raised, the template statement is executed by the handler. Generally, receivers are involved with template statements that perform actions in response to the event. Here, binding is used to convey information about the event. These data values of the information include event string, object, etc.</p><h3>Two-way Binding</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*6ZgfCN5xn-PnXX1KS4lNsA.png" /></figure><p>Angular allows two-way data binding that will allow your application to share data in two directions i.e. from the components to the templates and vice versa. This makes sure that the models and the views present in your application are always synchronized. Two-way data binding will perform two things i.e. setting of the element property and listening to the element change events.</p><p>The syntax of two way binding is — [( )}. As you can see, it is a combination of the property binding syntax i.e. [ ] and the event binding syntax ( ).</p><p><strong>EXAMPLE:</strong></p><pre>&lt;label &gt;&lt;b&gt;Name:&lt;/b&gt;<br> &lt;input [(ngModel)]=”course.name” placeholder=”name”/&gt;<br> &lt;/label&gt;</pre><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ec65520a4d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/hello-everyone-8ec65520a4d9">Angular Data Binding</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>