Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

How to make your Angular 8 forms reactive

Categories

Tags javascript nodejs web-performance

Angular provides two main approaches to handling forms – the template-driven method and the model-driven method which involves reactive forms. This article focuses on reactive forms. By Nwose Lotanna.

Reactive forms are a platform for achieving the model-driven approach of form handling in Angular. It is the most powerful and scalable way of form handling in Angular. As opposed to the template-driven forms that use template directives to build the skeleton of a form, reactive forms let you build out a form and react to the changes in the values inside the component class.

The article covers following:

  • What are reactive forms?
  • Why are reactive forms important?
  • Registration of reactive forms
  • Form controls
  • Data binding in reactive forms
  • Replacing a data value

Straight to the point article with all the code included. Sweet!

[Read More]

Build a PWA using only vanilla JavaScript

Categories

Tags javascript programming nodejs teams apps mobile-apps

Sayan Mondal wrote this article on building progressive web app. A Progressive Web App (PWA) works like any other normal app but with a lot of added features and a lot less hassle. They are fast, reliable, and can work perfectly in an offline environment.

A Progressive Web App (PWA) is a web app that uses modern web capabilities to deliver a native app-like experience to users. These apps meet certain requirements (see below), are deployed to servers, accessible through URLs, and indexed by search engines.

The article explains:

  • Why should we use it?
  • Creating a Basic PWA (UI and GitHub repo with PWA HTML code)
  • Web app CSS
  • Importing Google Fonts
  • Adding Media Queries
  • Add Vanilla JavaScript Functionality
  • What is a Web App Manifest?

… and much more. You will get not only instruction how to create your PWA but also how to deploy and install it. Nice one!

[Read More]

Why do developers love working with Google's Go programming language?

Categories

Tags agile management miscellaneous agile teams

With the extensive number of programming languages available out there, for any language to emerge among the best is no easy feat. On hackermoon by Education Ecosystem.

Currently, Go is powering an extensive number of popular projects and supporting the development of top-notch innovations across several industries. For example, Docker, the popular containerization platform, is entirely crafted in the Go programming language.

The article dives into:

  • Go’s exciting features
  • Why developers love Go
  • How far could Go go?

Google is backing Go. Other companies are also supporting Go development. For example, ActiveGo, an open source language company, supports the usage of Golang in enterprise-level applications. Well worth your time!

[Read More]

How a self-organizing team works

Categories

Tags agile management miscellaneous agile teams

Ola Puchta-Górska is author if this piece about SoftwareMill experience with developing software for clients and how they work in self-organizing teams.

SoftwareMill has always run as a fully remote team. They have grown from 4 founders to 60 people working remotely, developing software for clients.

The article focuses on:

  • Why self-organize
  • What you get as a developer
  • What you get as a client
  • 5 ingredients of a successful self-organizing team
  • How to make decisions in a self-organizing team

This article is a good source of inspiration for you and triggers your own ideas on how to set up your self-organizing team. Good!

[Read More]

Best practices for running Buildah in a container

Categories

Tags containers web-development cloud software-architecture security

One of the cool things about separating the container runtimes into different tools is that you can start to combine them to help secure one other. An article by Daniel Walsh.

Until recently, most people were leaking the Docker socket into the container and then allowing the containers to do docker build. Giving people root access on the system or sudo without requiring a password is more secure than allowing access to the Docker socket.

The RedHat have built an example of what they think is the best way to run Buildah inside of a container and have made these container images public at quay.io/buildah.

The article is split into:

  • Buildah setup
  • Running Buildah inside a container
  • Additional stores

Running Buildah within a container in Kubernetes/CRI-O or Podman, or even Docker is easy to do, and it can be done a much more securely then leaking in the docker.socket. Author have added a lot of flexibility with the image to allow you to run it in different ways depending on your security and performance needs. Nice read!

[Read More]

Build a Laravel 6 CRUD app with authentication

Categories

Tags php web-development programming security

Learn how to build and secure a travel manager CRUD application with Laravel 6.0. Author will walk through every step of building the application and then add authentication using Auth0. By Holly Lloyd, R&D Content Engineer.

In the era of hot new frameworks and languages being released all the time, mentioning you’re a PHP developer usually results in some side-eye. But modern PHP has changed a lot from where it was ten years ago. Performance has improved significantly, new features have been added, and awesome frameworks and packages are always being released.

The article then guides you through:

  • Prerequisites and installation
  • Creating routes
  • Creating the database
  • Creating the controllers
  • Creating Views with Blade
  • Adding authentication to your Laravel 6.0 Application

Auth0 comes with many authentication options, most of which you can enable with just a click from the dashboard. Includes universla login from a centralized authorization server, social login, multi-factor authentication, role management and more. Detailed article with all code examples included. Great!

[Read More]

Writing Kubernetes Operator in Python without frameworks and SDK

Categories

Tags devops python kubernetes miscellaneous agile

An article by flant.com about how to create a solid operator using one of the most popular programming languages that almost every DevOps engineer is familiar with – Python.

Authors make things easy and practical, guiding you through creation of ea simple operator designed to copy ConfigMap when a new namespace shows up or when one of the following two objects – ConfigMap or Secret – changes its state.

The article describes:

  • Please welcome Copyrator – the copy operator!
  • CRD
  • Environment variables or flags? Both!
  • The operating logic of the operator
  • Docker and Helm

.. plus plenty oif code to go with this article. All code is available in their public repository so you could get acquainted with it. Nice one for any lovers of Python!

[Read More]

6 step field guide for building Machine Learning projects

Categories

Tags big-data data-science miscellaneous

Daniel Bourke is author of this piece about what to do if you have data and want to know how you can use machine learning with it.

For this article, you can consider machine learning the process of finding patterns in data to understand something more or to predict some kind of future event.

The following steps have a bias towards building something and seeing how it work:

  • Problem definition – Rephrase your business problem as a machine learning problem
  • Data – If machine learning is getting insights out of data, what data do you have?
  • Evaluation – What defines success? Is a 95% accurate machine learning model good enough?
  • Features – What features does your data have and which can you use to build your model?
  • Modelling – Which model should you choose? How can you improve it? How do you compare it with other models? Experimentation – What else could we try? How do the other steps change based on what we’ve found? Does our deployed model do as we expected?

This is excellent source of information, with great and detailed schemes accompanying this long article, with clear and concise terminology and flow.

Stay tuned for more specific examples of each of the above steps and how they work in practice. Follow the author!

[Read More]

Quick guide to microservices with Quarkus on Openshift

Categories

Tags programming java devops microservices

Piotr Mińkowski wrote this article about one very interesting framework dedicated for microservices architecture, which is becoming increasing popular –- Quarkus.

It is being introduced as a next-generation Kubernetes/Openshift native Java framework. Built on top of well-known Java standards like CDI, JAX-RS and Eclipse MicroProfile which distinguishes it from Spring Boot.

The article describes:

  • Building REST-based application with input validation
  • Communication between microservices with RestClient
  • Exposing health checks (liveness, readiness)
  • Exposing OpenAPI/Swagger documentation
  • Running applications on the local machine with Quarkus Maven plugin
  • Testing with JUnit and RestAssured
  • Deploying and running Quarkus applications on Minishift using source-2-image

Also describes some different approaches when deploying Quarkus application on OpenShift. Very interesting!

[Read More]

Chrome extension with Angular -- from zero to a little hero

Categories

Tags javascript web-development browsers frontend

An article by JeB Barabanov in which he explores the process of developing a Chrome extension with Angular. Start from scratch with ng new and finishing with fully functional Chrome extension.

There are couple of reasons that would make you want to develop a Chrome extension. Author believes that the main use case for developing an extension is to serve your needs as a developer.

The article then describes following:

  • What Chrome extension consists of
    • Background script
    • Content script
    • Popup (in browser action)
  • Communication between pages
  • Loading the extension into Chrome
  • Live reload and ng serve

… and more. Screen shots and code examples are also included. You will get all the necessary tools and understanding for developing a Chrome Extension with Angular in convenient and efficient way. Very nice!

[Read More]