Technical

Moving from Monolithic to Microservices Architecture

What is the definition of a monolithic application?An application that can be deployed as a single unit. A database, an API backend layer, and a client-side user interface are commonly associated with (a monolith).What is a Microservice?A microservice is a single service designed to carry out a single application feature....

Agile management the future of the workplace, with squads, tribes, and guilds

You could be forgiven for thinking this was about rugby or perhaps Game of Thrones, with terminology like squads, tribes, and guilds — but it's not. In truth, these are terms that are being used to describe a new type of management method that is gaining traction in the business...

Differences between SQL and NoSQL

1.LanguageSQL databases: SQL databases use structured query language (SQL) for defining and manipulating data. This is extremely powerful: SQL is one of the most many-sided and widely-used options available, making it a safe choice and especially great for complex queries. But it can be restrictive. SQL requires that you use predefined schemas to...

Exception Handling in Angular 10

I am using Angular 10 and when I click to open Persons page I get “Nulljector error” and redirect me to the home page .NullInjectorError: No provider for PersonServiceProxy!<a ng-reflect-router-link="/app/main/phonebook" href="/app/main/phonebook">phonebook </a>The solution :Add your ServiceProxy to providers in "\angular\src\shared\service-proxies\service-proxy.module.ts".Open service-proxy.module.ts fileIn @NgModule > providers > Add this Line “ApiServiceProxies.PersonServiceProxy”...

How to execute a T-SQL command to every table in SQL Server database

sp_MSforeachtable is a stored procedure that is mostly used to apply a T-SQL command to every table, iteratively, that exists in the current database.Examples on how to use it:1-Perform an unconditional reindex over all tables in the database:EXEC sp_MSforeachtable 'DBCC DBREINDEX(''?'')'2-Truncate all tables in the database:EXEC sp_MSforeachtable 'TRUNCATE TABLE ?'3-Get...

10 deadly sins of programming

Here are a few deadly sins that you should avoid while programming, they are not in a particular order:Assuming your code works.Code before you think.Coding without using a version control system.No code comments.No exception handling.Not using meaningful names for variables, methods, classes, etc.Overengineering.Overuse of inheritance and overriding.Reinventing the wheel.Untraceable Changes.If...

Get geo location data using HTML5 & JavaScript

In case you are using Google Chrome you will have to enable getting location by the following steps:Open Google Chrome > on the top right click on the vertical 3 dots then select SettingsAt the bottom click Show advanced settingsIn the "Privacy" section, click Content settingsIn the dialog that appears,...