DiscoverSDK Blog
Node.js Backend Development - Implementing a Templating System
Templates are an inseparable part of almost any web application. We have made our application dynamic in various aspects, but we did not make a dynamic templating system—we were just serving plain old HTML. Again, we do not want to use any third party library or framework for templating. Inste [...]
ES2018 - New RegEx flag
RegEx. We all know it; it’s perhaps one of the most notorious JavaScript tools out there. But if we limit it to text operations, regular expressions are a very important tool in a developer’s toolbox, for front-end or other JavaScript programmers. [...]
Git Rebase vs Git Merge
In our last article, we learned about git pull which helps us import all the changes from a remote branch to our local machine. For instance, say we created some branch that split from the develop branch, continued to code and code in it, and then we want to merge it back to develop. How do we do th [...]
Node.js Backend Development - Global Objects
In the previous article we learned about sending static files to the browser. We are learning Node.js very fast by building up an application and a micro framework of our own. Before we continue further, we also need to learn about the Global Objects available in Node.js so that we can use them wher [...]
Tagged template literals in ES2018
The first thing that was added to ES2018 was an improvement to a great feature called tagged template literals and it extends the templating that we already talked about in ES6. I never got around to working with this feature too much so this improvement to tagged template literals is a great opport [...]
Git - pull requests
In the last article, we learned about creating new branches—first local branches (with branch -b) and then on the server (using git push). A few questions remained opened—the first is about updating the branch. Let’s say we split from the master to a branch called develop. In the m [...]
Node.js Backend Development - Serving Static Files
In the previous article we finished implementing our own routing system. We also solved the problem of serving a 404 page when there is no pattern match with the requested URL. In this article we will learn about serving static files. We will put all our static files inside a specific directory and [...]
New Object Methods in ES2017
Objects were always problematic to iterate over in JavaScript. This is mostly due to the prototypes that complicate matters of iteration, and also because there really aren’t any good methods for iterating over objects. ES2017 tries to ease the issue by using entries—methods that return [...]
Git - Working with Branches
In the last article, we looked at working with a remote server, for which we used GitHub. We saw that it takes two stages—commits on the local version, and then a push of all the commits to the remote server. But the real power of Git is found in the branch management abilities, local and remo [...]
Node.js Backend Development - Implementing Improved Routing
Before talking about anything related to improved routing, I have a question for you. If you have ever used any web development framework in the past, in any programming language, do you feel that we are creating a mini web framework with our own hands? If yes, then I think you have carefully gone o [...]
Top DiscoverSDK Experts
Compare Products
Select up to three two products to compare by clicking on the compare icon () of each product.
{{compareToolModel.Error}}