<?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 Tharindu Dasun Doloswala on Medium]]></title>
        <description><![CDATA[Stories by Tharindu Dasun Doloswala on Medium]]></description>
        <link>https://medium.com/@tharindudasun23?source=rss-d7cd46621294------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M6uMNGsc41He-0O1h6wPHg.jpeg</url>
            <title>Stories by Tharindu Dasun Doloswala on Medium</title>
            <link>https://medium.com/@tharindudasun23?source=rss-d7cd46621294------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:26:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tharindudasun23/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[Experience During The Group Project (Application Frameworks)]]></title>
            <link>https://medium.com/@tharindudasun23/experience-during-the-group-project-application-frameworks-2d8ad7125d95?source=rss-d7cd46621294------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d8ad7125d95</guid>
            <dc:creator><![CDATA[Tharindu Dasun Doloswala]]></dc:creator>
            <pubDate>Thu, 12 May 2022 07:20:34 GMT</pubDate>
            <atom:updated>2022-05-12T07:20:34.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*NDU79tQLKBh0jU4x3og8Dg.png" /></figure><p>In my university life, Now I am in my 3rd year 1st semester and this semester we have to make a four-member group for our group project. We have to develop a web application that 4th-year students can use for the research project in the Application Framework module. For this, we have to be very careful about the requirements.</p><p>Doing a group project is very good for our <strong>professional</strong> life and we can <strong>gain</strong> a lot of experience from <strong>it</strong>. Sometimes group work is a bit challenging because there are some conflicts between ideas and we have to go through all <strong>these things.</strong> Then we can make our group project very successful. First of all, we all discuss and made a use case diagram for the scenario so then we can get a clear idea about the project. Then we start to draw the wireframes. Then we divide the coding parts among the members and start to code. We helped each other with our errors and discuss our errors and resolve them very well.</p><h4><strong>There are many benefits I got during the group project:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*6V0hbtTEiInZn82MyYpYOQ.png" /></figure><p>· Challenge assumptions</p><p>· Develop stronger communication skills.</p><p>· Delegate roles and responsibilities.</p><p>· Share diverse perspectives.</p><p>· Pool knowledge and skills.</p><p>· Productivity has increased.</p><p>· Divide difficult jobs into parts and steps.</p><p>· Give and receive performance feedback.</p><p>· Better problem-solving abilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d8ad7125d95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Koa.js?]]></title>
            <link>https://medium.com/@tharindudasun23/lets-know-about-node-js-730aabcca7e1?source=rss-d7cd46621294------2</link>
            <guid isPermaLink="false">https://medium.com/p/730aabcca7e1</guid>
            <dc:creator><![CDATA[Tharindu Dasun Doloswala]]></dc:creator>
            <pubDate>Thu, 12 May 2022 07:12:59 GMT</pubDate>
            <atom:updated>2022-05-15T08:38:05.015Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*HOuXhha7w3nY9LQY84IljA.png" /></figure><p>As a cross-platform server-side runtime environment, Node.js makes it easier for web developers to build fast and scalable network applications with JavaScript. At present, many web developers even use Node.js to write both frontend and backend of a web application in JavaScript. The web developers can further accelerate development of custom web applications and application programming interfaces (APIs) by using a number of Node.js frameworks.</p><p>Koa.js is a widely used Node.js web application framework. Koa.js is developed and maintained by the creators of another widely used Node.js framework — Express.js. As a lightweight Node.js framework, Koa.js provides a minimal interface for developing web applications and APIs. The features and tools provided by the framework further help programmers to accelerate development of web applications and APIs.</p><h3>Create Koa Application</h3><p>After reviewing my Koa app template (which of course, still need optimizations), I created a command line tool to allow users to download my boilerplate and to initialize a new Koa application on their local machines. Welcome <strong>Create Koa Application.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mw75rxkMHigtMVvttV8Kyw.gif" /></figure><p>After the installation ends well, your project is ready to use! You can immediately launch your app using one of the scripts already declared in the <em>package.json</em>:</p><p>· <strong>npm start: </strong>Start your Koa application, listening for incoming requests.</p><p>· <strong>npm run dev: </strong>Start your Koa application in development mode. It uses <a href="https://www.npmjs.com/package/nodemon"><em>nodemon</em></a> to refresh your app every time you save changes on your files, perfect to increase the development speed of your project.</p><p>· <strong>npm run format: </strong>Format your code following the prettier rules.</p><p>· <strong>npm run lint: </strong>Lint your code to find style errors.</p><p>· <strong>npm run check: </strong>Run format and lint scripts.</p><p>· <strong>npm test: </strong>Run your test suites.</p><h3>The folder structure</h3><p>The boilerplate proposes a model based on a <em>feature-encapsulation pattern</em> uses a folder for every <strong>RESTful API </strong>you decide to implement in your app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*_WibyrAdFm5aI38BH_d1-Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=730aabcca7e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s know about Node JS]]></title>
            <link>https://medium.com/@tharindudasun23/lets-know-about-node-js-845fc415fd4f?source=rss-d7cd46621294------2</link>
            <guid isPermaLink="false">https://medium.com/p/845fc415fd4f</guid>
            <dc:creator><![CDATA[Tharindu Dasun Doloswala]]></dc:creator>
            <pubDate>Thu, 12 May 2022 07:10:24 GMT</pubDate>
            <atom:updated>2022-05-12T07:10:24.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*Czi4aDT4ZMNiRLSm1sTb7w.png" /></figure><p>Ryan Dahl is the creator of Node JS. The goal of this project was to create real-time websites with push capabilities (websockets). This is a cross-platform runtime environment for server-side and networking programs that are open source. Built with Chrome’s JavaScript engine, V8. NodeJS is lightweight and efficient because it uses an event-driven, non-blocking I/O model. Ideal for real-time data-intensive applications that run across several devices. NodeJS includes a number of JavaScript libraries to assist with basic programming. The ‘npm’ ecosystem for NodeJS is the world’s largest open-source library</p><h3>Features of Node.js</h3><p>· <strong>Asynchronous and Event Driven</strong> − All APIs of Node.js library are asynchronous, that is, non-blocking. It essentially means a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call.</p><p>· <strong>Very Fast</strong> − Being built on Google Chrome’s V8 JavaScript Engine, Node.js library is very fast in code execution.</p><p>· <strong>Single Threaded but Highly Scalable</strong> − Node.js uses a single threaded model with event looping. Event mechanism helps the server to respond in a non-blocking way and makes the server highly scalable as opposed to traditional servers which create limited threads to handle requests. Node.js uses a single threaded program and the same program can provide service to a much larger number of requests than traditional servers like Apache HTTP Server.</p><p>· <strong>No Buffering</strong> − Node.js applications never buffer any data. These applications simply output the data in chunks.</p><h3>Where to Use Node.js?</h3><ul><li>I/O bound Applications</li><li>Data Streaming Applications</li><li>Data Intensive Real-time Applications (DIRT)</li><li>JSON APIs based Applications</li><li>Single Page Applications</li></ul><p><strong>Advantages of Node JS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*9O7GcbxPr6IZSAPPOUPGvQ.png" /><figcaption><a href="https://www.simform.com/blog/nodejs-advantages-disadvantages/">https://www.simform.com/blog/nodejs-advantages-disadvantages/</a></figcaption></figure><p>· Scaling NodeJS apps horizontally and vertically is simple.</p><p>· Because the V8 engine compiles the JS code directly into machine code, it provides better performance.</p><p>· After the initial use, performance was improved by caching modules in memory.</p><p>· Simple to extend.</p><p>· Unit testing and other standard tools are supported. The npm package manager and its enormous number of reusable modules are well-built.</p><p><strong>Disadvantages of Node JS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*9O7GcbxPr6IZSAPPOUPGvQ.png" /><figcaption><a href="https://www.simform.com/blog/nodejs-advantages-disadvantages/">https://www.simform.com/blog/nodejs-advantages-disadvantages/</a></figcaption></figure><p>· Despite the fact that there are many libraries available, the number of robust libraries is quite low.</p><p>· Not recommended for computationally demanding jobs.</p><p>· Asynchronous programming is more complicated than synchronous programming.</p><p><strong>Node Package Manager</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*2xAm40TmjrLf072gF3WZHQ.png" /></figure><p>· Reusable NodeJS components can be found in an online repository.</p><p>· “Package.json” contains all the essential packages for the application, this is placed in the root directory of the application.</p><p>· Package.json file contains the name, version, author, repository, required node version, scripts, dependencies, etc.</p><p>· We can install using the “npm install” command.</p><p>· It generates the node_modules directory in the application root directory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=845fc415fd4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s start JavaScript, NoSQL, Version Control]]></title>
            <link>https://medium.com/@tharindudasun23/lets-start-javascript-nosql-version-control-c1ac766dff61?source=rss-d7cd46621294------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1ac766dff61</guid>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Tharindu Dasun Doloswala]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 09:09:55 GMT</pubDate>
            <atom:updated>2022-03-13T09:09:55.326Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*DkuXGhZwx_p-1mpmoRLEGQ.png" /></figure><p>In this article, we hope to discuss about JavaScript, Git version control and NoSQL database.</p><p>Why do we choose different types of topics in this article?</p><p>Because there’s a huge reason. That is, as a developer when we are coding some applications, sometimes we may require a database. for that requirement, we can use the NoSQL database. Due to its popularity nowadays most developers the NoSQL database as their main storage. And in a situation where we need to develop a code as a team, we need a way to integrate the source code for that we can use the Git Version Control.</p><p><strong>What is JavaScript?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*nXcJTnGvMFRqQK8CNAX5zw.png" /></figure><p>JavaScript is a dynamic programming language that’s used for a variety of purposes, including web development, web apps, game creation, and more. It enables you to add dynamic features to web sites that you couldn’t do with just HTML and CSS.</p><p><strong>Databases</strong></p><p>A database is an organized collection of structured information, or data, typically stored electronically in a computer system. A database is usually controlled by a <a href="https://www.oracle.com/database/what-is-database/#WhatIsDBMS">database management system (DBMS)</a>. Together, the data and the DBMS, along with the applications that are associated with them, are referred to as a database system, often shortened to just database.</p><p>Data within the most common types of databases in operation today is typically modeled in rows and columns in a series of tables to make processing and data querying efficient. The data can then be easily accessed, managed, modified, updated, controlled, and organized. In present most of developers use NoSQL databases.</p><p><strong>NoSQL Database</strong></p><p>NoSQL is a non-relational Database management system, that does not require a fixed schema, avoid joints and easily scalable. NoSQL is mostly used in distributed data stores with huge data storage needs. No SQL is used for big data and real time web applications (social media like Facebook, twitter, Instagram). Most of the NoSQL tools are Open Source.</p><p>Benefits</p><p>NoSQL databases are more scalable and provide high performance than the typical relational databases. Also, they provide some other features that relational model is not designed to address such as</p><p><em>· huge volumes of rapidly changing structured and unstructured data</em></p><p><em>· OOP that is easy to use and flexible</em></p><p><em>· Geographically distributed scale-out architecture instead of expensive, monolithic architecture</em></p><p>In present most of developers use MongoDB for NoSQL databases.</p><p><strong>MongoDB</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*xsxKJamPbYwwGdY7AAq7BQ.png" /></figure><p>Mongo DB is a NoSQL document database with strong query capabilities with aggregations using JavaScript. It uses Spider Monkey JavaScript engine. It provides high availability.</p><p>Queries: Insert, Find, Update, Remove</p><p><strong>Git Version Control</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*C8JCR4MVUvC-8pyMf9kfKw.png" /></figure><p>Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples , you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.</p><p>If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (<strong>VCS</strong>) is a very wise thing to use. It allows you to revert selected files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. Using a <strong>VCS</strong> also generally means that if you screw things up or lose files, you can easily recover. In addition, you get all this for very little overhead. We should want GitHub account for the use version control</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1ac766dff61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you still didn’t start using Version Control for Data?]]></title>
            <link>https://medium.com/@tharindudasun23/are-you-still-didnt-start-using-version-control-for-data-41eb2b1fda53?source=rss-d7cd46621294------2</link>
            <guid isPermaLink="false">https://medium.com/p/41eb2b1fda53</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[repositories]]></category>
            <dc:creator><![CDATA[Tharindu Dasun Doloswala]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 08:28:29 GMT</pubDate>
            <atom:updated>2022-02-22T08:28:29.122Z</atom:updated>
            <content:encoded><![CDATA[<p>In this chapter we discuss about what is “version control” and why should you care? At the end of this article, you should understand what are the benefits of version control and how to start Git version control.</p><p><strong>What is version control (VCS)?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*sc5zd7jcI5uRSxVwDYG_tQ.png" /><figcaption><a href="https://www.educba.com/git-life-cycle/">VERSION CONTROLLING VERSION CONTROLLING</a></figcaption></figure><p>Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples , you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.</p><p>If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (<strong>VCS</strong>) is a very wise thing to use. It allows you to revert selected files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. Using a <strong>VCS</strong> also generally means that if you screw things up or lose files, you can easily recover. In addition, you get all this for very little overhead. We should want GitHub account for the use version control</p><p><strong>What is GitHub?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7xj8xs6MKt6sTFDDryyiCw.png" /></figure><p>GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.</p><p>This tutorial teaches you GitHub essentials like repositories, branches, commits, and pull requests. You’ll create your own Hello World repository and learn GitHub’s pull request workflow, a popular way to create and review code.</p><p>In this quick start guide, you will:</p><p>· Create and use a repository</p><p>· Start and manage a new branch</p><p>· Make changes to a file and push them to GitHub as commits</p><p>· Open and merge a pull request</p><p><strong>Benefits of using version control</strong></p><p>Using version control software is a best practice for high performing software and DevOps teams. Version control also helps developers move faster and allows software teams to preserve efficiency and agility as the team scales to include more developers.</p><p>Version Control Systems (VCS) have seen great improvements over the past few decades and some are better than others. VCS are sometimes known as SCM (Source Code Management) tools or RCS (Revision Control System). One of the most popular VCS tools in use today is called Git. Git is a <em>Distributed</em> VCS, a category known as DVCS, more on that later. Like many of the most popular VCS systems available today, Git is free and open source. Regardless of what they are called, or which system is used, the primary benefits you should expect from version control are as follows.</p><p>1. A complete long-term change history of every file. This means every change made by many individuals over the years. Changes include the creation and deletion of files as well as edits to their contents. Different VCS tools differ on how well they handle renaming and moving of files. This history should also include the author, date and written notes on the purpose of each change. Having the complete history enables going back to previous versions to help in root cause analysis for bugs and it is crucial when needing to fix problems in older versions of software. If the software is being actively worked on, almost everything can be considered an “older version” of the software.</p><p>2. Branching and merging. Having team members work concurrently is a no-brainer, but even individuals working on their own can benefit from the ability to work on independent streams of changes. Creating a “branch” in VCS tools keeps multiple streams of work independent from each other while also providing the facility to merge that work back together, enabling developers to verify that the changes on each branch do not conflict. Many software teams adopt a practice of branching for each feature or perhaps branching for each release, or both. There are many different workflows that teams can choose from when they decide how to make use of branching and merging facilities in VCS.</p><p>3. Traceability. Being able to trace each change made to the software and connect it to project management and bug tracking software such as <a href="https://www.atlassian.com/software/jira">Jira</a>, and being able to annotate each change with a message describing the purpose and intent of the change can help not only with root cause analysis and other forensics. Having the annotated history of the code at your fingertips when you are reading the code, trying to understand what it is doing and why it is so designed can enable developers to make correct and harmonious changes that are in accord with the intended long-term design of the system. This can be especially important for working effectively with legacy code and is crucial in enabling developers to estimate future work with any accuracy.</p><p>While it is possible to develop software without using any version control, doing so subjects the project to a huge risk that no professional team would be advised to accept. So the question is not whether to use version control but which version control system to use.</p><p><strong>Let’s start GitHub version control ?</strong></p><p>New to git? Follow the steps below to get comfortable making changes to the code base, opening up a pull request, and merging code into the primary branch. Any important git and GitHub terms are in bold with links to the official git reference materials.</p><p><strong>Step 0:</strong> <a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git"><strong>Install git and create a GitHub account</strong></a></p><p><strong>Step 1:</strong> <a href="https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository"><strong>Create a local git repository</strong></a></p><p><strong>Step 2: </strong><a href="https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository"><strong>Add a new file to the repo</strong></a></p><p><strong>Step 3: Add a file to the staging environment</strong></p><p>Add a file to the staging environment using the git add command.</p><p>If you rerun the git status command, you’ll see that git has added the file to the staging environment (notice the “Changes to be committed” line).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*emkdqK-XMeW4qoMmPaeLgw.png" /></figure><p><strong>Step 4: </strong><a href="https://www.atlassian.com/git/tutorials/saving-changes/git-commit"><strong>Create a commit</strong></a></p><p><strong>Step 5: </strong><a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository"><strong>Create a new branch</strong></a></p><p><strong>Step 6: </strong><a href="https://docs.github.com/en/get-started/quickstart/create-a-repo"><strong>Create a new repository on GitHub</strong></a><a href="#_msocom_1"><strong>[td1]</strong></a></p><p><strong>Step 7: </strong><a href="https://docs.github.com/en/get-started/using-git/pushing-commits-to-a-remote-repository"><strong>Push a branch to GitHub</strong></a></p><p><strong>Step 8: </strong><a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request"><strong>Create a pull request (PR)</strong></a></p><p><strong>Step 9: </strong><a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request"><strong>Merge a PR</strong></a></p><p><strong>Step 10: </strong><a href="https://docs.github.com/en/get-started/using-git/getting-changes-from-a-remote-repository"><strong>Get changes on GitHub back to your computer</strong></a></p><blockquote><strong>Working with Git &amp; GitHub Like A boss !!!💪🏼💪🏼💪🏼</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41eb2b1fda53" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>