<?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 NodeXperts on Medium]]></title>
        <description><![CDATA[Stories by NodeXperts on Medium]]></description>
        <link>https://medium.com/@nodexperts_88267?source=rss-222b6e663ae2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cDB6ka7PbKsialG0.jpg</url>
            <title>Stories by NodeXperts on Medium</title>
            <link>https://medium.com/@nodexperts_88267?source=rss-222b6e663ae2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:12:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nodexperts_88267/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[Data Transfer one component to another — Angular 7]]></title>
            <link>https://medium.com/@nodexperts_88267/data-transfer-one-component-to-another-angular-7-c076272c78e1?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c076272c78e1</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[angularjs]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Wed, 19 Feb 2020 13:20:13 GMT</pubDate>
            <atom:updated>2020-02-19T13:23:26.963Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Transfer from one component to another — Angular 7</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RORxzpUbwRE11dNBNAdLcA.jpeg" /></figure><p>Data sharing is an essential concept to understand before diving into your first Angular project. In Angular mainly we have 4 methods by which a component can share data and information with another component by passing data or events :</p><p>Components can communicate with each other in various ways, including:</p><ol><li>Parent to Child: via Input</li><li>Child to Parent: via Output() and EventEmitter</li><li>Child to Parent: via ViewChild</li><li>Unrelated Components: via a Service</li></ol><p>One thing you need to know, these above are the decorators which we are using within Angular application. The first thing which comes to your mind is, what is Decorator? So I am supposing that you have a basic idea about decorators. If you have not then I will suggest first take a basic idea about decorators.</p><p>Here I will explain all 4 types of methods one by one so let’s start with the first type of data transfer type i.e: via Input. So I will start with a very basic &amp; common example, suppose we have a filter component &amp; order list component on which we have to use this filter component.</p><h3>Setting up our Application:</h3><p>Let’s use Angular CLI<strong> </strong>to set up our application. If you don’t have Angular CLI installed on your machine run the below command to install it globally.</p><blockquote><strong>npm install -g angular-cli</strong></blockquote><p>After Angular CLI installation, to create a new Angular project Run below command. This command will create all the necessary files, download all the required external dependencies and do all of the setups work for us.</p><blockquote><strong>ng new your-app-name</strong></blockquote><p>This command will ask questions that “would you like to add angular routing?” so if you want to add routing in your application just press “y” &amp; then enter, again it will ask about that which stylesheet do you want to use? so on choose CSS &amp; then enter. So now your app will create with routing module &amp; with CSS style format as default.</p><p>To create components in the Angular application is very easy with the help of Angular CLI. Below command is used to create a component</p><blockquote><strong>ng generate component component-name</strong></blockquote><p>Run the below commands to create components,</p><ol><li>To create a filter component run: <strong><em>ng generate component filter</em></strong></li><li>To create order list component run: <strong><em>ng generate component order-list</em></strong></li></ol><p>As you create components, it will automatically import into your app.module.ts. If not then you have to import both of these components manually in app.module.ts &amp; also in import arrays. Now you are good to develop your first angular application.</p><h3>Parent to Child: Sharing Data via Input()</h3><p>After Set up the basic application just write code into filter component to filter records of order list by name. For ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*1bJ-TebJ4RJgbFRl" /></figure><p>Next, you have to write code to show the list in order component with some pre-filled data like below screenshot:</p><p>In order list component I have used filter component selector. As I am using filter component under order list component so here filter component will be known as child component &amp; order-list component will be known as parent component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*rrypw_phLmXteq_7" /></figure><p>Filled order list with some random data so we can apply filter. Below is the screenshot of the ts file of the order list component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/0*3Hu8qM4LGYby66md" /></figure><p>So as you can see that in ts file we declare one property through which we populate data into the table. So now we assume that we want to transfer some data from parent component i.e: order component to child component i.e: filter component.</p><p>Suppose we want to send button text from parent to child component. For this we use @Input decorator.so you have to change in the parent component. Declare property buttonText &amp; assign a string to it like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/0*04rYiZV_z5D3qcoW" /></figure><p>Also, you have to do change in HTML file because we declare button text as property with some default value but we also have to send this button text from parent component to child component so to do this we use property binding like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/0*6OhcDh8uOj08cNK8" /></figure><p>[] (square bracket) known as property binding, so by using this bracket we just bind a property of filter component text to order component property buttonText. Also, declare text as input in the child component. For this you have to use @Input decorator like this:</p><p>So now you can use text property in the filter component where ever you want to use with a value of parent component. Whenever we change the value of button text from the parent component, the value of the text of the filter component gets automatically changed.</p><h3>Child to Parent: Sharing Data via Output() and EventEmitter</h3><p>Here we will use outputs and EventEmitter, before digging into this method I assume that you have a basic idea of output() &amp; EventEmitter.</p><p>The second way to share data is to emit data from the child. This approach is ideal when you want to share data changes that occur on things like button clicks, form entities, and other user events.</p><p>In the parent, we create a function to receive the filter term and can be used in the parent component to filter our data.</p><p>In the child, we declare a searchValue property with the Output decorator and set it equal to a new event emitter. Then we create a function named filter that calls emit on this event with the searchValue we want to send. Lastly, we create a button to trigger this function.</p><p>The parent can now subscribe to this searchValue that’s outputted by the child component, then run the OnApplyfilter function whenever this event occurs.</p><p>Now suppose we want value from the filter component to parent component means whatever we write into the text field that value should be in parent component so that we can filter our data. For this we have to write click event in child component:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*-bvcw5wCtei8duyY" /></figure><p>After this, we have to write a method on which this value will emit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/0*m-RuCyzKQzwxD4kJ" /></figure><p>Because we want searchValue value in parent component so we have to bind this value by using event binding like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*khiOPSrX3XVmsbRt" /></figure><p>&amp; also we have to write OnApplyFilter() function in our parent ts file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*9VpHEX4QVjU1vvle" /></figure><p>Now you can do anything with this value whatever you want.</p><h3>Child to Parent: Sharing Data via ViewChild</h3><p>The next method to transfer data from child to parent component is ViewChild.</p><p>ViewChild<strong> </strong>allows one component to be injected into another, giving the parent access to its attributes and functions. However, the child won’t be available until after the view has been initialized. This means we need to implement the AfterViewInit lifecycle hook to receive the data from the child.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/0*crJQ4VMGba7VZ4aP" /></figure><p>From the above screenshot, you will be able to understand that by using ViewChild we have injected child component into our parent component so now we can access every property &amp; method of child component easily. Our filter component writes the property of filterMessage with some value. Now, this value will be available into our parent component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/0*i316_oxFN-YU4WZ3" /></figure><h3>Unrelated Components: Sharing Data with a Service</h3><p>Services are commonly used for storing data and making HTTP calls for retrieving, posting, updating and deleting the data we need in our application.</p><p>Now I am going to explain how we will share the data by service from one component to another while these are not in a parent-child relationship.</p><p>When passing data between components that lack a direct connection, such as siblings, grandchildren, etc, you should use a shared service.</p><p>So suppose here another component is a product-list component by using the same command:</p><blockquote>ng generate component product-list</blockquote><p>First, we create a service that holds the data. Since a service is a singleton, all of the components that inject this service can share the data from this service. For this, we create a service class by using this command</p><blockquote>ng generate service data</blockquote><p>Suppose we have some methods or data which both components i.e order-list &amp; product-list component needs than we can easily share that data by using service method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/0*SXexmRboN_fQtf2T" /></figure><p>So As you can see we have declared one property in data.service.ts. SharedData property now can be accessed from any component from where you want. For this you have import data service into the required component &amp; also inject this service into your component like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/0*WiHISzhodXYl_KN6" /></figure><p>So As you understood from the above screenshot that how we can get sharedData from data service &amp; also set sharedData value which will be reflected in another component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/0*tnBQZMx5pGgqAzcR" /></figure><p>So Using service we can transfer data from the unrelated component.</p><h3>Summary</h3><p>In this post, we have learned about how to share data between parent and child components using @Input(), @Output and EventEmitter &amp; also share data between unrelated components using service. Data sharing is a very important concept, and everybody needs to share data between the application’s components.</p><p>So I hope this article should have clear all your doubts regarding data transfer between components in angular 7. It’s up to you which method you want to use for data transfer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c076272c78e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Can You Expect Out Of Node JS?]]></title>
            <link>https://medium.com/@nodexperts_88267/what-can-you-expect-out-of-node-js-e4920a9cf6b1?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4920a9cf6b1</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[features]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Mon, 10 Feb 2020 14:25:13 GMT</pubDate>
            <atom:updated>2020-02-10T14:25:13.576Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Heading Towards 2020? What Can You Expect Out Of Node JS?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XfYqle2sY3-Re0K6t_WV9g.jpeg" /></figure><h4><strong>What’s New for Node.js in 2020?</strong></h4><p>As we are heading towards a new decade, we expect to see a lot of new development, especially in the technology landscape. In 2019, Node JS completed its 10 years journey and the runtime environment has been climbing the success ladder since day 1 of its launch.</p><p>The last decade has been extremely successful for Node JS as the downloads keep growing by 40% every year, not only that, Node JS also joined hands with Open JS foundation which promises to bring even more success. In 2020 as well, Node JS will bring new surprises for their clients. If you are an enterprise leader, this article will surely be the perfect guide for you!</p><p><strong>What Is Node JS?</strong></p><p>Node JS is an asynchronous event-driven JavaScript runtime that helps to build network applications. Node Js lets you built a deadlock-free application process. Since there are no blocks, scalable systems can easily be developed in Node JS. It is influenced by Ruby’s Event Machine and Python’s Twisted in terms of designs and systems. Node JS does not have any start-the-event-loop-call. It simply enters the event loop after executing the input script. Node Js is the perfect choice for a web library or framework since it works well with HTTP.</p><p><a href="https://medium.com/@nodexperts_88267/node-js-13-brings-enhanced-programming-features-and-worker-threads-af68fe2b5026"><strong>What’s New In Node.Js Version 13?</strong></a></p><p>In 2020, <strong>the node js development company</strong> will launch some brand new features into Node.js version 13. Version 13 is already released, but some key features will be included in 2020. Here is what you can expect:</p><ul><li>ECMAScript modules</li><li>WebAssembly Support</li><li>Diagnostic Reports</li><li>Internationalization support for a date, time, number, currency, formats</li><li>QUIC protocol support</li><li>V8 JavaScript engine performance updates</li></ul><p><strong>How Node JS Release Works?</strong></p><p>Node JS releases a new major version every 6 months and this new major version is referred to like the current version. The last release of Node JS was in October of 2019 of Node.js 13. Generally, Node JS releases the odd number versions every October and these are generally short-lived a beta version. These are made to test the features and changes that go into developing the even-numbered version of Node JS. The even-numbered versions are released in April of every year and once they are released, the previous versions don’t get any updates. The even-numbered versions are then developed for 6 months and then they enter the Long Term Support or the LTS stage. After 12 months, they enter a final maintenance stage where these versions receive bug fixes and security fixes. This stage lasts for 18 months and then it is considered End Of Life for the version.</p><p><strong>Node JS Releases in 2020?</strong></p><p>Between January to March of 2020 Node JS will release 13.x (current version), 10.x and 12.x (LTS). In April, 14.x will be released, 13.x will stop working and 10.x will enter the maintenance phase. In October we will see the release of 15.x and it will become the current version. 14.x will enter the LTS stage and 12.x will enter the Maintenance stage.</p><p><strong>What Features To Expect In 2020?</strong></p><p>Node JS will be launching a myriad of new exciting features that are going to be more efficient, productive and more according to the client’s demand. Node JS has built a client based on their success to provide an efficient framework and ease of work. In the year 2020, Node JS is ready to please their clients with the introduction of these key features through <strong>salesforce solutions.</strong></p><ol><li>In 2020, Node JS is going to introduce ECMAScript module support instead of the traditional CommonJS modules they have been using till now. Developers can now import and export syntax that they were using for Client-side JavaScript running in the browser. They are also going to make it easy for developers by enabling the JavaScript strict mode on by default so developers don’t have to specify “use strict” at the top of every code.</li><li>For 2020, Node Js is bringing in WebAssembly support. It is a portable compiled binary format that can be analyzed faster than JavaScript and executable at native speed. WebAssembly modules are used to create languages like C/C++, C#, Java, Python, and many other languages. A command flag needs to be passed while executing a Node JS application to enable this feature.</li><li>The new WebAssembly Interface is designated to be a standard interface for making calls to the underlying system such as host application, native operating system and so on. The WebAssembly Interface is also due for 2020.</li><li>In 2020, Node JS is also going to launch Diagnostic reports. Diagnostic reports refer to the readable JSON formatted summaries of process information which includes OS information, call stacks and other important data that might help developers to make changes to the application. This report can be generated due to fatal errors, exceptions, process signal or something else. Now you can save the diagnostic reports in Node JS. You will need to pass a command flag to enable this feature.</li><li>Node JS will also introduce to their clients the inclusion of International Components for Unicode or the ICU. ICU is a mature, popular globalization library. It includes support for formatting date, time, number, currency which will enable the developer to perform better calculation and string comparison and help to convert text between Unicode and other character sets.</li><li>You will also get QUIC support in 2020 to increase the performance and reliability of the application.</li><li>Developers will be able to build Node JS and native modules using Python 3. You will get much better support regarding that.</li><li>You will also get an updated V8 JavaScript engine and Wasm support. Apart from that, you will get stable worker threads to enable parallel, CPU intensive JavaScript operation.</li></ol><p><strong>End thoughts</strong></p><p>Node JS is one of the most promising frameworks of 2020 that all the major tech companies are looking forward to. All these features will add to the benefits Node JS offers to their client. Node JS makes use of <strong>the salesforce marketing cloud </strong>to deliver their clients the best universal framework in the market.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4920a9cf6b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your guide for API security in DevOps]]></title>
            <link>https://medium.com/@nodexperts_88267/your-guide-for-api-security-in-devops-ea682853ebfe?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea682853ebfe</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[interfaces]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Mon, 10 Feb 2020 14:14:07 GMT</pubDate>
            <atom:updated>2020-02-10T14:14:07.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="API in DevOps" src="https://cdn-images-1.medium.com/max/1024/1*yXZ7z2NP5JXzhHBluAdMKA.jpeg" /><figcaption>API Security</figcaption></figure><p>There are different types of software for every need. This software gets optimised for the customers’ or companies’ needs. Right from the programming and development of this software, their developers take the inherent security flaws into account, and they patch them. The process of eradicating the flaws is continual; therefore, even after we install software, we have to keep them up to date. The method of eradication of the security threats is called API security in DevOps.</p><p>Here is what you need to know</p><p><strong>Introducing an API</strong></p><p>API or <em>application programming interface </em>facilitate communication between apps. API, in the newer sense, also includes the architecture of an <em>Internet of Things </em>setup. You must have heard about this concept along with the launch of 5G internet. The individual electronic components like smart fridges, smart bikes, and smart cars can communicate either with their users or mutually.</p><p>Their universal application helps them emerge as vital enablers in the bigger picture of digital transformation strategies. With increasing value, their security too emerges as a concern for the modern-day digital enterprises. They may contain vital data such as programming, protocols, and rules. Since scores of apps communicate back and forth on a regular basis using these APIs, any compromise on its security will harm the integrity, security, and confidentiality of the apps themselves, thus posing huge risk for the companies.</p><p><strong>API security in DevOps</strong></p><p>Most software development organizations have the process of upgrade; it assures that the clients have the most optimal software that is in line with their needs and changing trends. The method of DevOps releases software patches, updates and even upgrades in quick time. Changes like upgraded overall IT framework, hardware upgrade and security upgrades are included.</p><p>As the API is upgraded or integrated, the security loopholes are exposed. API security is eradicating the vulnerability of software. The vulnerability includes user credentials, SSL, and so on. Any breach in security can lead to exposure of personal and sensitive data. For a multinational company with thousands of employees and millions of customers, such a breach could mean a massive loss of business.</p><p><strong>Steps to ensure secure API</strong></p><p>1 — Go for HTTPS</p><p>Using encrypted HTTPS protocol prevents hackers from accessing communication between the browser and the client. This is the first step to take (if not already done)</p><p>2 — Incorporate API testing</p><p>Your SDLC and development stage needs to adjust so that there is sufficient time dedicated to rigorous API security testing and validation</p><p>3 — Implement authentication and authorization in API security</p><p>They include <em>Static strings, dynamic tokens, user-delegated tokens and policy and attribute-based access control</em>. These different methods depend upon the user credibility and the agreement of the company and its end-user.</p><p>4 — Updated patches are a must</p><p>All network servers need to have regularly patched OS in order to prevent any attempts to breach the firewall.</p><p>5 — Documentation is essential</p><p>A comprehensive documentation on the policy to external threats and hacks ensures that all employees are up to speed on the steps that they need to take in case of security incidents.</p><p>These steps will help prevent enterprise-wide DDoS attacks and other forms of vulnerabilities that may impact API security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea682853ebfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New And Innovative Features To Follow In Angular 7]]></title>
            <link>https://medium.com/@nodexperts_88267/new-and-innovative-features-to-follow-in-angular-7-7673f732bcc7?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7673f732bcc7</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Mon, 27 Jan 2020 08:18:09 GMT</pubDate>
            <atom:updated>2020-01-27T09:07:33.562Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Angular 7" src="https://cdn-images-1.medium.com/max/1024/1*E3gbUO3vKMQv-Y03bIcx6w.jpeg" /></figure><p>The last decade saw unmatched progress in the software development landscape. We saw the rise of many excellent platforms like Facebook, Instagram, Netflix and so much more. If you take a look at your Smartphone you will see how loaded it is with various mobile apps. These mobile apps are making our life and tasks easier to handle. These apps have not only influenced our lifestyle but they have changed industries forever. Netflix has made a big impact on the entertainment industry, Facebook, Instagram, and all the social media applications have become the ultimate way to connect with people — whether you are an individual, a business or a celebrity, everyone wants to make use of social media.</p><p>All these mobile apps require frameworks to build them. One such successful framework in use in Angular JS. The top-ranked sites like <a href="https://www.similartech.com/technologies/angular-js">Google and Youtube</a> make use of this framework to power up their web presence. If you are a developer or a <strong>full-stack development company, </strong>you will be delighted to know that Angular 7 is here to make your work faster, easier and more efficient.</p><p><strong>What Is Angular?</strong></p><p>Angular is a famous front-end JavaScript framework that lets you build across all platforms. You can build an application using Angular and reuse the code and abilities to build apps for any development target. You can build applications for web, mobile web, and native mobile and native desktop.</p><p>Angular lets you achieve the maximum speed possible on the web platform and this speed can be increased further with web workers and server-side rendering. Angular lets you control the scalability of your application and offers you myriad tools and components to help you build the app you want.</p><p>Angular has been serving developers for 10 years and they have released numerous updates previously. The first version was called Angular JS and was released in 2009. Since then Angular has grown a lot and now it has come to be one of the top frameworks available in the field of software development. The last version of Angular was Angular 6 and it received updates like ng update, Angular Material + CDK components, CLI Workspaces, Animations performance improvement, ng add and Angular elements. The latest version, that is Angular 7, has been released by Google on 18th October 2019.</p><p><strong>What New Features And Updates Are Available In Angular 7?</strong></p><p>Angular 7 has a lot of promising features that have the developers and <strong>top UX design firms</strong> excited. The new Angular 7 has promised useful upgrades for front-end developers including improvements for Angular Material and the core framework, CLI with synchronized major version and upgrades to the toolchain. It is primarily focused on the Ivy project. Ivy project is basically rewriting the Angular compiler and runtime code to make it faster and smaller. Here is a detailed discussion of the upgrades of Angular 7.</p><ol><li><strong>CLI Prompts — </strong>CLI prompts have been added as a new feature in version 7.0.2 of Angular 7. Now it will prompt users when you are typing a command such as @angular/material, ng-new and ng-add so that you can discover the in-built SCSS support, routing and so much more. The CLI prompts have been added to Schematics also.</li><li><strong>Angular Material and Component Dev Kit (CDK) </strong>— you will also get some visual updates and improvements in the new Angular 7. You are getting updates like refresh, virtual scrolling, large lists of data, dynamic loading and unloading of parts of DOM in the new improvement of CDK and Angular Material. Now Angular 7 also supports drag and drop functionality by either importing ScrollingModule or DragDropModule.</li><li><strong>Drag And Drop — </strong>the drag and drop update allows you to easily create drag and drop interfaces, which is backed by sorting within a list, support for free dragging, animations, custom drag handles, transferring items between lists, previews, and placeholders. Basically, the drag and drop support has been implemented in CDK and also includes automatic rendering as the user relocates them.</li><li><strong>Virtual Scrolling — </strong>the virtual scrolling update in Angular 7 will enable the developer to load and unload items from DOM depending upon visible parts of the list which will, in the end, give users a much better and faster user experience that have huge scrollable lists. This virtual scrolling package provides helpers that react to all scroll events. Basically, it makes the height of the container element exactly the same as the height of a total number of remaining elements to be rendered. That way, it will render only the visible items, which will give the end-users a much faster experience.</li><li><strong>Application Performance Improvement </strong>— since most of the developers use reflect-metadata in their production which was only required in the development, the development team of Google focused on the performance improvements by making the Angular 7 automatically remove it from polyfills.ts file.</li><li><strong>No Ivy </strong>— The Angular 7 team has announced that there will be no ivy rendering. Ivy might come later, but they haven’t announced that yet.</li><li><strong>Documentation </strong>— Angular 7 has also received a documentation update that goes to improve the reference material and guidelines for developers. It is an important update for Angular CLI.</li><li><strong>Dependency </strong>— the support for Nod 10, TypeScript 3.1, RxJS6.3 have all been included in the dependency update of Angular 7. If you are using Node 8, you have to continue receiving support. it has also become compulsory for Angular &amp; users to upgrade to TypeScript 3.1.</li></ol><p><strong>Dismissing the Rumors</strong></p><p>If you have been following the release and upgrade news of Angular 7, then you might have heard a few rumors around it. However, those are not true. For example, the artificial intelligence storage having the capability to run with backward compatibility is not something you will get with Angular 7. @angular/core splitting package and a massive reduction of the overall size of bundles are also only rumors and not true.</p><p><strong>Conclusion</strong></p><p>In the end, it can be said that any <strong>UI UX design company</strong> can trust and rely on Angular 7. It has become much better than its previous versions and the developers have done a great job. It is the correct choice if you want a modern, up-to-date and efficient framework.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7673f732bcc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Planning To Build Another Netflix?]]></title>
            <link>https://medium.com/@nodexperts_88267/planning-to-build-another-netflix-c5fb545753d8?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5fb545753d8</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[amazon]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Fri, 10 Jan 2020 11:21:01 GMT</pubDate>
            <atom:updated>2020-01-10T11:21:01.138Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Planning To Build Another Netflix: Here’s All That You Need To Know</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uMTjBd8U8laxxbZzB50HIA.jpeg" /></figure><p>Anyone who loves to watch movies, TV series or web series has at least heard the name of Netflix (if not already subscribed to it). It is one of the biggest video streaming apps with a whopping 160 million subscribers from around the world. Netflix has become an everyday name amongst the youth and the older generation alike due to its massive library of video contents. Its phenomenal success has enabled the company to branch out to countries outside the United States.</p><p>Netflix is now popular in European countries like Germany, Finland, and the Netherlands and it is also popular in Canada, Australia and is slowly expanding in Asian countries too. That’s quite evident when you see the popularity of Netflix in India. In totality, Netflix has subscribers from 190 countries according to their official website. Netflix recorded revenue of 5.2 billion USD in the 3rd quarter of 2019.</p><p>If you are looking to build a video streaming app that will be worthy of competing with Netflix, you need a team of expert developers and some deep insight into the video streaming app. The online video streaming market is one of the most profitable businesses right now and promises huge growth in the near future as it has become extremely popular among the mass. Digital video consumption in the US will rise up to nearly 84% next year. This stat speaks volumes of the amazing traction achieved by video-on-demand services. Other similar apps include Amazon Prime, Hulu Plus, HBO Now, Disney+ and Youtube Premium that has just entered the market.</p><p><strong>Primary Characteristics of a Video Streaming App</strong></p><p>If you are planning to build an on-demand video streaming app like Netflix, you need to take note of the essential features it should include. It should have features like:</p><ol><li>Free trial period. You users should be allowed to try out the app for a month or so without having to pay for it. That way, they can subscribe if they like or they can cancel the subscription any time they want. But this freedom of users is necessary to draw more users and keep them.</li><li>Users should be allowed to access a broad array of content in the app once they have paid for the subscription. There should be no hidden charges or extra charges to access content within the app once the user has paid subscription for the entire app.</li><li>The video streaming app should be compatible with phone, tablet or desktop or any other platform.</li><li>It needs to ensure seamless user management and in-app purchases.</li><li>Users should be able to download content and watch offline.</li><li>Robust and secure UI is necessary.</li><li>The app should perform well with all kinds of internet connection and internet traffic.</li></ol><p><strong>How To Develop An App Like Netflix?</strong></p><ol><li>To stay on par with a behemoth like Netflix, you will need an extremely efficient video streaming app and the first thing you need is a strategy. Your planning should include questions like:</li></ol><ul><li>How to build fresh content on a regular for your video streaming app to maintain user interest?</li><li>How to do effective marketing for your app?</li><li>If your app expands into other countries, how are you going to localize?</li></ul><ol><li>Next, you should gauge the project scope and develop your app accordingly. You can start with a minimum viable product or MVP and enhance as it keeps growing. You can make your app suitable for web and android phones to start with and later you can make it suitable for even a Smart TV.</li><li>To build an app like Netflix you will need a proficient team of experts. You will need software architects, business analysts, UI/UX designers, Web developers, Android developers, iOS developers, tester and a project manager. You can use the scrum technique to manage the project to fast track development, minimize costly iterations, and accelerate time to market. This model consists of small teams of developers, designers and everyone working together with periodic communication with each other.</li><li>If you manage to build a Netflix clone, and it becomes successful among the masses, it will bring with it, huge internet traffic. That’s why to choose the right software architecture pattern for this. A micro-services architecture pattern will enable you to make your app scalable, lets your app prioritize and optimize individual service. It also makes it simpler to keep the app up-to-date and helps to optimize the deployment of individual services as per specific business requirements.</li><li>To sustain your app you should get a PaaS or “Platform as a Service” account. A PaaS account will help you in the following ways:</li></ol><ul><li>Under such a model, you can do away with on-premise setup, configuration, and maintenance of a data center. PaaS providers will manage all the cloud infrastructure, including networking and server, to help an efficient execution of the project</li><li>You can integrate cloud database with your app</li><li>You can add third-party apps without any compatibility or performance issues</li><li>You will have DevOps, application monitoring and automated scaling solutions.</li></ul><ol><li>You should also use an MBaaS or Mobile Backend as a Service to manage mobile back-end better.</li><li>You should definitely sign up for a good cloud streaming service.</li><li>To build an app like Netflix you should also use a subscription management solution. Use the API of a renowned subscription management provider.</li><li>To provide in-app purchases in your app, you should use APIs.</li><li>For web development, you should use Node.js. Node.js has many advantages including it makes streaming easier and developers will find it easy to work with.</li><li>Design the mobile app UI. Hire a good <strong>UI UX design company </strong>to do it for you. Keep in mind the mobile navigation menu, color scheme, and icon design when you design the UI.</li><li>After you have done the coding and testing of your app, it’s time to publish your app. The best place to publish is the respective app store.</li><li>Go through the meeting to prioritize features, status tracking, and discuss changes and improvement. Use PM tools to help you with that.</li><li>Plan for other platforms such as Android TV, tvOS, Amazon Fire TV, etc.</li></ol><h4>Now, that you know how to build an app like Netflix, hire developers and a UI UX design company and get to it!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5fb545753d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unique And Famous Apps Built On React Native]]></title>
            <link>https://medium.com/@nodexperts_88267/unique-and-famous-apps-built-on-react-native-11774f22c494?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/11774f22c494</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[uber]]></category>
            <category><![CDATA[instagram]]></category>
            <category><![CDATA[facebook]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Thu, 02 Jan 2020 11:07:42 GMT</pubDate>
            <atom:updated>2020-01-20T07:00:31.358Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="React Native" src="https://cdn-images-1.medium.com/max/1024/1*dqZnUVPz5UhXRp1FVfkRWA.jpeg" /></figure><p>Internet and Smartphones have become an inseparable part of our lives. We depend on our Smartphone for everything — from setting an alarm to scheduling a meeting or booking a table at a restaurant.</p><p>Smartphone are phones that have a great number of utility applications for easy execution of your tasks. Not that all, business owners and enterprise leaders across the world are relying on smartphone apps to promote their products and reach out to target prospects.</p><p>However, behind these easy to use apps lies a lot of hard work. Developing a software program is not an easy task. A lot of time and energy needs to be invested in order to build a smooth running, error free application. Most importantly, the application needs to be user friendly, and to do that developers need to make the User Interface or the UI simple and easy to understand for every user. If we are talking about building UI, React Native becomes an indispensable option.</p><p><strong>What Is React Native?</strong></p><p>React Native is a cross platform mobile application framework that was created by Facebook. It is a JavaScript library to build user interfaces. React Native will combine the parts of native development with React. It can be used to edit the UI of your existing android or iOS apps, or you can simply build a whole new user interface with the help of React native.</p><p>The best thing about React Native is that it can create platform-specific versions of elements so that a single codebase can be shared across all platforms. Basically, two different platforms can use one common technology. React renders to native platform UI, so your app will use the same native platform APIs as other apps. React native also lets you build native apps that will not compromise with the user’s experience. It can also wrap existing native code and interact with native APIs using React’s UI paradigm and JavaScript.</p><p>React native has proven to be extremely useful when building a user interface. It contains a good variety of new features that other platforms lack. Therefore mobile app developers rely on React native to create mobile apps. It has become popular among both the android app developers and also iOS app developers.</p><p>React has contributed immensely to create many successful apps. Not only has it proven to be useful, it also promises a good deal of future possibilities for app developers. Now React is used by many of World’s top tech companies like Facebook and the best node js development agency. Here’s a list of few famous and successful apps that were built using React Native.</p><p><strong>Facebook Ads Manager</strong></p><p>Facebook Ads Manager was built using react native and it has proven to be extremely useful. This particular app enables organizations to keep track and control their advertisement no matter where they are. This app lets you build your own Facebook ads very easily from your phone. You can use photographs and recordings in your phone to create your advertisement. The Facebook ads manager is smooth running and the UI is route natural, so it is very easy to<br>make advertisement using Facebook ads manager.</p><p><strong>Instagram</strong></p><p>Instagram is another famous and successful app that is used by 1 Billion monthly users. Instagram was built using React Native, which has helped the app to build a super user friendly interface. One can easily follow or unfollow an account, easily look up people they know, or follow pages and contents they like. It is extremely easy to like an Instagram picture — you simply need to double tap on it! React native has also made it easy for Instagram users to<br>upload and edit a photo. React native has made the app easy to use on both android and iOS platform.</p><p><strong>SoundCloud Pulse</strong></p><p>SoundCloud is one of the biggest music libraries in the world with more than 150 million tracks and allowing new artists to upload new music all the time. SoundCloud is also built using React Native which lets you deal with your record, check your details, answer to remarks and so much more.<br>If you are an independent music composer, then SoundCloud is the right place for you to be. Here you can easily deal with your content and keep track of them. SoundCloud adopted the react native model despite the difficulties they encountered because it is much simpler than unadulterated native methods.</p><p><strong>Uber Eats</strong></p><p>We all have used Uber Eats sometimes in our lives, whether to order lunch or to satisfy the midnight craving. Uber Eats is an extremely popular app all around the world. The developers of Uber Eats chose React native to build the UI of the app which is used mainly by Smartphone users. The Uber Eats app used web application to render interface on client’s portable which often resulted in delayed or incomplete service. To get over this crisis, Uber Eats used React native to give their client a better user experience.</p><p><strong>Skype</strong></p><p>Skype is a video calling platform where you can chat with your loved ones. Microsoft used React Native to make Skype available on Windows smartphone. React native not only lets you save money and time, but it also lets you use Skype more easily and swiftly so there is no hindrance in your important ongoing video conferences. React native has enabled Microsoft to integrate Skype in mobile phones in a way that voice calls, video calls, sharing photographs and recordings are very easy.</p><p><strong>Pinterest</strong></p><p>It is another mobile app that has millions of users worldwide. Pinterest is used to search for any topic — from art, music, tv shows, anything and everything. You can simply download, or save an image in your board, or create a list or pin a particular post you like. You can also add comments to the posts. React native has enabled the app to be user friendly so you can browse easily anything you want.</p><p>So, if you wish to leverage React native for your venture, getting in touch with the best node js development agency would be the best thing to do.</p><p><em>Originally published at </em><a href="https://medium.com/successivetech/unique-and-famous-apps-built-on-react-native-619d0f5f4788"><em>https://medium.com</em></a><em> on January 2, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11774f22c494" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advantages of Developing Modern Apps with ReactJS]]></title>
            <link>https://medium.com/@nodexperts_88267/advantages-of-developing-modern-apps-with-reactjs-dfe27cece9ff?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfe27cece9ff</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[js]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[application-development]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Tue, 31 Dec 2019 13:04:16 GMT</pubDate>
            <atom:updated>2020-01-27T09:04:22.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nzHZIK4KbrKEVYTSqzYJVQ.jpeg" /></figure><p><strong>Meta-description: </strong>What’s the hype surrounding React.js? Is it something developers want to use? Developers believe it’s the new “best thing.” Here’s a look at the benefits of React.js.</p><p>React.js is a Facebook- and developer-community-managed, 2013-launched, JavaScript repository for building modern user interfaces. It can be used as a base to develop mobile applications or single-page applications. It’s viewed as a superb tool because it can do a great job fetching rapidly changing data that requires to be recorded. It’s so popular that companies like Netflix, PayPal, Apple rely on it, as do over 32,000 other websites that are built using this framework. So, what makes it so popular? Why do app design agencies prefer React.js?</p><p><strong>React.js boosts productivity</strong></p><p>Ask developers, what is the one remarkable feature about React.js, and they will swear that it’s the ability to increase productivity and facilitate maintenance. When applications have complex logic, changes in a single component can adversely affect the others. This makes updates a pain. Facebook has resolved this issue by extending the tool’s ability to reuse system components. This a great way to save development time.</p><p><strong>React.js ensures faster rendering with virtual DOM</strong></p><p>When creating a high-load application, it is necessary to ensure the structure will not negatively impact the overall performance of the app. Even minor changes at the upper layer can cause problems in lower levels. Now, developers can first make changes to the virtual representation of the DOM and then calculate the minimal scope of required DOM operations. Once done, the real DOM tree can be updated. By doing this, the developer can ensure better user experience and higher app performance.</p><p><strong>React.js guarantees stable code</strong></p><p>We know that HTML and JavaScript are two technologies that work side-by-side. React.js ensures that codes are reusable when these two technologies are combined. React.js also makes use of only downward data flow. So, even small changes made to the child structures will not affect their parents. When changing an object, developers have to modify their state and make the necessary change. Only the relevant components will be updated when this is done. This type of data binding ensures code stability and the continuous performance of the app.</p><p><strong>React.js is SEO-friendly</strong></p><p>Content is king. One of the relevant challenges that developers face is to ensure that an app is SEO-friendly. This is especially necessary for businesses in this day and age when there are several hundreds of apps out there, all vying to be the best. React.js ensures an app is SEO-friendly by effectively dealing with typical search engine failures to read heavily loaded, JavaScript apps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfe27cece9ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL | Using Apollo Server]]></title>
            <link>https://medium.com/@nodexperts_88267/graphql-using-apollo-server-8afefd497821?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8afefd497821</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Tue, 31 Dec 2019 13:03:13 GMT</pubDate>
            <atom:updated>2020-01-20T06:40:36.811Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9shh_jmJu3W0-IMDIrDEWQ.png" /></figure><p><strong>Introduction</strong></p><p>Apollo Server is a library that helps you connect a GraphQL schema to an HTTP server in Node.js. We will try to explain this through an example, the link used to clone this project is mentioned below :-</p><pre>git clone <a href="https://prwl@bitbucket.org/prwl/apollo-tutorial.git">https://prwl@bitbucket.org/prwl/apollo-tutorial.git</a></pre><p>This technology and its concepts can be best explained as below.</p><p><strong>Challenge</strong></p><p>Here, one of the main goals is to create a directory and install packages. This will eventually lead us to implement our first subscription in GraphQL with Apollo Server and PubSub.</p><p><strong>Solution</strong></p><p>For this, the first step includes building a new folder in your working directory. The current directory is changed to that new folder, and a new folder is created to hold your server code in and run. This will create the <em>package.json</em> file for us. After this, we install a few libraries. After the installment of these packages, the next step is to create<em> an index.js</em> file in the root of the server.</p><p><strong>Create Directory</strong> <strong>Install Packages</strong></p><pre>npm install apollo-server-express express graphql nodemon apollo-server</pre><p><strong>Connecting Apollo Server</strong></p><p>Index.js first connects to the Apollo server. Every library is set to get started with the source code in the index.js file. To achieve this, you have first to import the necessary parts for getting started with Apollo Server in Express. Using Apollo Server’s applyMiddleware() method, you can opt-in any middleware, which in this case is Express.</p><pre>import express from &#39;express&#39;;<br>import { ApolloServer, gql } from &#39;apollo-server-express&#39;;</pre><pre>const typeDefs = gql`<br> type Query {<br> hello: String<br> };<br>const resolvers = {<br> Query: {<br> hello: () =&gt; &#39;Hello World!&#39;<br> }<br>}<br>`;<br>const server = new ApolloServer({ typeDefs, resolvers });<br>const app = express();<br>server.applyMiddleware({ app });</pre><pre>app.listen({ port: 4000 }, () =&gt;<br> console.log(`🚀 Server ready at <a href="http://localhost:4000${server.graphqlPath}`)">http://localhost:4000${server.graphqlPath}`)</a><br>);</pre><p>The <strong>GraphQL schema</strong> provided to the Apollo Server is the only available data for reading and writing data via GraphQL. It can happen from any client who consumes the GraphQL API. The schema consists of type definitions, which starts with a mandatory top-level Query type for reading data, followed by fields and nested fields. Apollo Server has various scalar types in the GraphQL specification for defining strings (String), booleans (Boolean), integers (Int), and more.</p><p>In the GraphQL schema for setting up an Apollo Server, resolvers are used to return data for fields from the schema. The data source doesn’t matter, because the data can be hardcoded, can come from a database, or from another (RESTful) API endpoint.</p><p><strong>Mutations</strong></p><p>So far, we have only defined queries in our GraphQL schema. Apart from the Query type, there are also <em>Mutation</em> and <em>Subscription</em> types. There, you can group all your GraphQL operations for writing data instead of reading it.</p><p>As visible from the above code snippet. In this case, the <strong><em>createMessage</em></strong> mutation accepts a non-nullable text input as an argument, and returns the created message as a string.</p><p>Again, you have to implement the resolver as counterpart for the mutation the same as with the previous queries, which happens in the mutation part of the resolver map:</p><p>The mutation’s resolver has access to the text in its second argument. The parent argument isn’t used.</p><p>So far, the mutation creates a message string and returns it to the API. However, most mutations have side-effects, because they are writing data to your data source or performing another action. Most often, it will be a write operation to your database, but in this case, we are just returning the text passed to us as an argument.</p><p>That’s it for the first mutation. You can try it right now in GraphQL Playground:</p><pre>mutation {<br> createMessage (text: &quot;Hello GraphQL!&quot;)<br>}</pre><p>The result for the query should look like this as per your defined sample data:</p><p><strong>Subscriptions</strong></p><p>So far, you used GraphQL to read and write data with queries and mutations. These are the two essential GraphQL operations to get a GraphQL server ready for CRUD operations. Next, you will learn about GraphQL Subscriptions for real-time communication between GraphQL client and server.</p><p><strong>Apollo Server Subscription Setup</strong></p><p>Because we are using Express as middleware, expose the subscriptions with an advanced HTTP server setup in the index.js file:</p><pre>import http from &#39;http&#39;; ... server.applyMiddleware({ app, path: &#39;/graphql&#39; }); const httpServer = http.createServer(app);httpServer.listen({ port: 8000 }, () =&gt; {...<br>server.installSubscriptionHandlers(httpServer); <br> console.log(&#39;Apollo Server on <a href="http://localhost:8000/graphql&#39;);">http://localhost:8000/graphql&#39;);</a><br>});</pre><p>To complete the subscription setup, you’ll need to use one of the available PubSub engines for publishing and subscribing to events. Apollo Server comes with its own by default.</p><p>Let’s implement the specific subscription for the message creation. It should be possible for another GraphQL client to listen to message creations.</p><p>Create a file named <em>subscription.js </em>in the root directory of your project and paste the following line in that file:</p><pre>import { PubSub } from &#39;apollo-server&#39;; export const CREATED = &#39;CREATED&#39;; export const EVENTS = {export default new PubSub();<br> MESSAGE: CREATED,<br>};</pre><p>The only piece missing is using the event and the PubSub instance in your resolver.</p><p>Also update your schema for the newly created Subscription:</p><p>The subscription as a resolver provides a counterpart for the subscription in the message schema. However, since it uses a publisher-subscriber mechanism (PubSub) for events, you have only implemented the subscribing, not the publishing. It is possible for a GraphQL client to listen for changes, but there are no changes published yet. The best place for publishing a newly created message is in the same file as the created message:</p><p>We have implemented your first subscription in GraphQL with Apollo Server and PubSub. To test it, create a new message on a tab in the apollo playground. On the other tab we can listen to our subscription.</p><p>In the first tab, execute the subscription:</p><p>In the second tab execute the createMessage mutation:</p><pre>mutation {<br> createMessage(text: &quot;My name is John.&quot;)<br>}</pre><p>Now, check the first tab(subscription) for the response like this:</p><p>We have implemented GraphQL subscriptions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8afefd497821" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Queuing Tasks with Redis]]></title>
            <link>https://medium.com/@nodexperts_88267/queuing-tasks-with-redis-fa59b65b0830?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa59b65b0830</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[queue]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Fri, 20 Dec 2019 12:16:01 GMT</pubDate>
            <atom:updated>2019-12-20T12:16:01.063Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Queuing Tasks with Redis" src="https://cdn-images-1.medium.com/max/1024/1*6rOCkcYdL2u0mNGSfyGZcw.jpeg" /></figure><p><strong>Introduction and background</strong></p><p>Redis is an open-source data structure that is used for in-memory storage and helps developers across the globe with the quick and efficient organization and utilization of data. Even though many developers worldwide are still struggling to decide which open-source software application to use, Redis is quickly growing to be a widely popular choice. Currently, more than 3000 tech joints, including our team, are using Redis.</p><p>Redis supports several data structures, including lists, sets, sorted sets, hashes, binary-safe strings, and HyperLogLogs. Our team uses Redis to support queuing in this project.</p><p>Queuing is the storing or deferring of tasks of operation inside a queue so that they can be used later. It comes into use for operations which are large in number and/or takes up a lot of time. Tasks can be executed in two different methods –</p><ul><li>Tasks can be executed in the same order they were inserted, or</li><li>Tasks can be executed at a specific time.</li></ul><p><strong>Challenge</strong></p><p>For this project, we needed to download large files, which is extremely time-consuming. To make the process more time-efficient, we decided to use queuing to effectively manage the download request. These download requests were added and served in the FIFO order.</p><p>Moreover, we wanted to retry the request in the time interval of one hour if it fails, until it fails three times. After this, the request is marked as failed and then removed from the queue. Our team soon found that manually creating and managing separate queues was rather inefficient, time-consuming, and troublesome, which hinted that we needed a new solution. This is where Redis comes in.</p><p><strong>Solution</strong></p><p>To create and manage separate queues more effectively, we put Kue npm package to the test. We hoped that it would make our task less time-consuming and more efficient.</p><p>And what exactly is Kue? Kue is a priority job queue package that is built for node.js and backed by Redis. What makes Kue so appealing for developers is that it provides us with a UI where the status of queues is displayed. This means that we can see the current status of the queues in real-time, thus helping us work better and smarter.</p><p>To use Kue, you have to first install it, then create a job Queue with kue.createQueue(). The next step is to create a job of type email with arbitrary job data using create() method. This enables the return of a job, which will be saved in Redis using save() method.</p><p>Then, after the jobs are created, the next step is to process them using process() method, after which failed jobs should be removed. You can then add Kue UI if you choose and install kue-ui package.</p><p>With this, you will be able to store your request in the Redis queue and then process them in FIFO order.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa59b65b0830" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.js 13 Brings Enhanced Programming Features and Worker Threads]]></title>
            <link>https://medium.com/@nodexperts_88267/node-js-13-brings-enhanced-programming-features-and-worker-threads-af68fe2b5026?source=rss-222b6e663ae2------2</link>
            <guid isPermaLink="false">https://medium.com/p/af68fe2b5026</guid>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[NodeXperts]]></dc:creator>
            <pubDate>Tue, 17 Dec 2019 12:16:01 GMT</pubDate>
            <atom:updated>2019-12-18T14:07:24.995Z</atom:updated>
            <content:encoded><![CDATA[<h3>workNode.js 13 Brings Enhanced Programming Features and Worker Threads</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95C_U8J_1cTeT94BAFDETg.gif" /></figure><p>In October, Node.js foundation released Node.js 13, much to the joy of Node.js developers across the globe. This release was significant because it marked the transition of Node.js 12 to Long Term Support (LTS). So, even though the new release from Node.js is now the current release, it is not recommended for production used by top UI UX design firms and others since Node.js 12 is still the Long Term Support (LTS) release.</p><p>As the latest version of the JavaScript runtime, Node.js 13 brings with it various improvements including programming enhancements, worker threads, as well as internationalization capabilities.</p><p>Although Node.js 13 may not be used by developers for production, it is still important when it comes to building and testing the latest features, as it allows them to see whether their applications and packages will be compatible with future versions that are yet to be developed.</p><p>In short, the new release is capable of delivering faster startup as well as improved default heap limits. It also includes updates to TLS, V8 engine and Http, and new features such as bundled heap dump capability, diagnostic report, and updates to N-API, Worker Threads, etc.</p><p>Below, we take a look at the key features that the latest release Node.js 13 brings:</p><p>With the new release, worker threads that are used for performing CPU-intensive JavaScript operations are stable in not only Node.js 13 but also in Node.js 12. Even though Node.js performs well enough with the single-threaded event loop, results could be improved with additional threads in some use-cases and the new release bridges this gap.</p><p>The Google V8 JavaScript engine that Node.js runs on has been updated to the latest version, which is V8 7.8. The new and improved engine means that you can expect improvements in performance such as memory usage, object destructuring, as well as WebAssembly startup time.</p><p>With the new Node.js release, data will not be emitted after a socket error anymore when it comes to HTTP communications. The legacy HTTP parser has also been removed, and the runtime of the request.connection and response.connection properties have been deprecated. Instead, request. socket and response.socket should be used.</p><p>Full-ICU (International Components for Unicode) is available as default with the new release. This means that Node.js now supports hundreds of other local languages, which will result in the simplification of deployment and deployment of apps for non-English deployments.</p><p><strong>Meta description: </strong>New Node.js 13 brings many improvements, including stable worker threads, V8 engine upgrade, and more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af68fe2b5026" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>