In this tutorial, we’ll learn about web components and we’ll use Angular to build a simple web component.

Angular is a web platform for building frontend web applications. It makes use of various concepts such as components, dependency injection and data binding.

Angular components are reusable pieces of code that control a part of the application UI. They are not web components but Angular provides the elements package which helps export Angular components as web components.

Before getting started to build the example let’s first introduce web components.

Introducing Web Components

Web components are a set of browser APIs that enable developers to…


In this tutorial, we’ll learn how to use Ionic 4 and Angular to build a cross-platform hybrid mobile application.

Unlike native apps, a hybrid mobile application makes use of web technologies such as JavaScript, HTML and CSS (and their related technologies like TypeScript, Angular and Sass etc.) to build mobile applications. This works thanks to native containers like the popular Cordova tool and more recently Capacitor by the Ionic team. Both of these tools allow developers to call native SDKs on iOS, Android with one codebase. …


Throughout this tutorial, we’ll be building a full-stack web application with Nest.js and Angular 7. We’ll also introduce both frameworks and learn how to get started using each one of them.

In the project, we’ll be building a simple contacts management application for managing a set of contacts in an Angular and Material Design interface retrieved from a Nest.js RESTful backend.

Prerequisites

Let’s get started with listing the prerequisites you need to have for this tutorial. Basically, you will need to have:

  • Both Node.js and NPM installed on your development machine. You can simply go to the official website and download…


Throughout this tutorial, we’ll see how to use Electron and Vue.js to build cross-platform desktop apps for major operating systems such as Windows, Linux, and MAC.

In a previous article, we have used Angular as the framework for structuring the code of our application. Now, we’ll see how to use Vue.js instead.

Thanks to Electron, you can build fully-fledged desktop apps using web technologies only. No more Java or C++, plus you’ll have access to the native APIs of the underlying system so you can integrate your app with any required system service.

A plethora of apps are being built…


In this article, we’ll learn how to build cross-platform desktop apps for Windows, Linux, and macOS using Electron and web technologies such as HTML, TypeScript, and Angular.

Electron was initially developed for GitHub’s Atom editor. Nowadays, it’s being used by big companies like Microsoft and Slack to power their desktop apps. Visual Studio Code is a powerful and popular code editor built by Microsoft using Electron.

You can check out more apps built with Electron from this link.

What Electron Precisely Does?

So you are a frontend web developer — you know JavaScript, HTML and CSS which is great but you need to build…


In this tutorial, we’ll learn how to build mobile apps with React Native. We’ll see by example how to build a mobile application, step by step, that fetches and displays news articles from a third-party REST API.

In this tutorial, we’ll be building a news application to help you learn about the basics of React Native. Our mobile application will be cross-platform which means it can be used on both Android and iOS. We’ll be using Expo for development which will allow us to initialize a new project and easily test it on a real mobile device.

What is React Native?

React Native is…


Throughout this tutorial, we’ll learn how to use bootstrap 4 with Angular 12 (and any previous versions such as Angular 11/10) to make your Angular app responsive.

We’ll learn how to install (and uninstall) bootstrap in Angular from npm, cdn or using the ng add schematic, and add bootstrap to the styles/scripts arrays of the angular.json file. Next, we’ll learn how to build user interfaces with various components such as navigation bars, grid, date and time pickers, tooltips, carousels, modals, tabs, dropdowns, and forms.

We’ll also see the advantages of Angular implementations for Bootstrap — ng-bootstrap vs ngx-bootstrap vs mdbootstrap…


Learn how to mock data in JavaScript


Let’s see how to install Install PHP 8 on Ubuntu 20.04

Adding a PPA for PHP 8

Next, you need to use a PPA for PHP 8. Head back to your terminal and add the ondrej/php which contains the latest PHP 8 package and compatible PHP extensions:

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update

Now you are ready to install PHP 8.

Installing PHP 8 for Apache Server

Let’s now see how to install PHP 8

Execute the following command to install PHP 8

sudo apt install php8.0

After the installation has completed, you can confirm the installation using the following command

php -v

Installing PHP 8 FPM for Nginx

For Nginx you need to…


Throughout this tutorial for beginners, we’ll learn to build a full-stack example web application with Angular 11, the latest version of the most popular framework/platform for building mobile and desktop client side applications created and used internally by Google. https://www.techiediaries.com/angular-crud-tutorial-consume-a-rest-api/

Ahmed @Techiediaries

Developer and technical author. Read more articles at https://www.techiediaries.com/author/ahmed

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store