DZone.com Feed

DZone.com Feed


3 Best Practices To Make Cloud Migration Easier

Posted: 07 Apr 2022 07:26 AM PDT

Cloud migration. It's a term that comes up in most enterprise conversations at least once. While the term represents the practice of moving from on-premises infrastructure to cloud infrastructure, what is meant by "cloud migration" has evolved. Cloud migration is no longer as simple as moving from on-prem servers to AWS EC2. It could include moving to managed databases or API gateways, or maybe you need AWS for some workloads and Azure for others. Perhaps you're a financial or public sector organization, and you need a private cloud. Or maybe you need to meet special regulatory requirements.

In this article, we're going to look at three best practices for making cloud migration easier for your enterprise:

Guide To React Context With Functional Component Using Hooks

Posted: 07 Apr 2022 07:02 AM PDT

React Context is an important tool when it comes to sharing data between many components in a typical React application. While we can use React Context with Class Components, it is quite evident that more and more developers are moving to functional components, but can you use context with a functional component?

Yes, we can use React Context with a Functional Component. By leveraging the useContext React Hook, we can subscribe to the context in any functional component. However, there are a few important points to be kept in mind to use React Context with functional components.

Observability for Monitoring Microservices: Top 5 Tools

Posted: 06 Apr 2022 05:11 PM PDT

With microservices architecture becoming the de facto standard for web applications now, effective debugging and anomaly detection calls for a system that is observable — which means, the internal state of an application can be inferred by observing and tracking the metrics, traces, and logs.

Observability is all about data exposure and easy access to information required to find issues when the communications fail, internal events do not occur as expected or events occur when they shouldn't. Here, you'll learn and know about different microservices monitoring tools and how to monitor microservices. Let's take a look!

Debugging Collections, Streams, and Watch Renderers

Posted: 06 Apr 2022 03:16 PM PDT

In the last two ducklings, I finished the extensive discussion on breakpoints and switched my focus to the watch area. In it, we have several amazing and lesser-known tools that let us build insight into our running application. Being able to tell at a glance if something works correctly is crucial for many applications.

This is very important for collections and arrays. We can have thousands or millions of elements within a collection. Debugging this is very difficult without some basic tools. 

Automated Accessibility Testing

Posted: 06 Apr 2022 03:01 PM PDT

As more and more companies focus on making their apps accessible, a question that often comes up is "How do we make sure we don't let things slip?" We've done all this work to remediate our app, but how do we make sure we don't dig ourselves back into a hole six months later and end up in a similar situation that we are in now? How do we keep things accessible?

There are a few solutions. The first is education and training. Everyone in the company needs to be an accessibility advocate and understand accessibility best practices. The second is better organizational processes. Companies should include accessibility audits in natural checkpoints throughout the software development lifecycle, like when UX provides design mockups to the engineering team or when the engineering team is code complete on a new feature. The third is automated testing, and that's what I'd like to focus on today.

Java Serverless Functions With Quarkus Quick Starts

Posted: 06 Apr 2022 02:59 PM PDT

Are you looking for the shortest path or cheatsheet to bring your Java application into a serverless platform based on Kubernetes? Perhaps you don't have enough time to stand up relevant infrastructure and configure settings for both the application and the platform. This article is a guide to developing Java serverless functions using a Quarkus quick start in the Developer Sandbox for Red Hat OpenShift. As you'll see, using quick starts in the Developer Sandbox lets you focus on the application development without needing to configure Knative.

The Developer Sandbox provides a shared, multi-tenant Red Hat OpenShift 4 cluster with a cloud IDE tool called Red Hat CodeReady Workspaces. All you need is a free account on Red Hat to get access for a limited time to a sandbox. Following the four steps in this article, you can stand up your own cluster in 10 minutes.

Building a Slack App With Native SFDC Integration

Posted: 06 Apr 2022 02:50 PM PDT

Building a Slack App - Designing the UI

This post is a continuation of our series based on a video series explaining how to build Slack Apps that integrate with Salesforce APIs. With the Slack Starter Kit from Salesforce, Slack app developers can offload common concerns like Salesforce authentication, directory hierarchies, reusable code, and deployments to Heroku. The end result is less time spent wrangling code and more time building features for your app.

In our last post, we familiarized ourselves with the starter kit and set up our development environment to build a basic Slack app. In this post, we'll continue building on that Slack app, focusing on how the Slack Starter Kit makes it easy to develop two essential components of every Slack app:

6 Best Platforms to learn Blockchain in Depth

Posted: 06 Apr 2022 01:14 PM PDT

Hello Devs, if you want to become a Blockchain Developer and are looking for the best resources to learn Blockchains like online platforms, websites, places, books, online courses, and tutorials, you have come to the right place.

Earlier, I have shared the best Blockchain courses, and today, I will share the best places, websites, and online platforms where you can learn Blockchain in-depth by yourself.

JDBC Create Database and Database Example

Posted: 06 Apr 2022 10:06 AM PDT

In the video below, we take a closer look at Create database and Drop database examples in JDBC. Let's get started!

How the Chown Command Works on Linux

Posted: 06 Apr 2022 10:00 AM PDT

In previous articles, we've covered how chmod works. In this article, we'll be covering how to use chown. chown is closely connected to chmod since it affects who owns a file, and which group it belongs to.

In our article on chmod we cover how different user types (i.e. owners, groups, and all other users) have different permission sets. That means who owns or in which group a file belongs, can affect who can run it, and might even affect if a system process can run or open a file.

10 Must-Know Patterns for Writing Clean Code With Python

Posted: 06 Apr 2022 09:44 AM PDT

What Is Clean Code?

This quote from Bjarne Stroustrup, inventor of the C++ programming language clearly explains what clean code means:

"I like my code to be elegant and efficient. The logic should be straightforward to make it hard for bugs to hide, the dependencies minimal to ease maintenance, error handling complete according to an articulated strategy, and performance close to optimal so as not to tempt people to make the code messy with unprincipled optimizations. Clean code does one thing well."

Rise of Super Apps - A Boon or Bane?

Posted: 06 Apr 2022 09:12 AM PDT

The iOS App store started with just 500 apps back in 2008 and today they have more than 1.85 million different apps for users to download and use. The android apps on the other hand have even more apps to download and use with over 2.56 million apps that are available through the Google Play Store. While there are tons of apps to choose from, not many make the cut to stay on the phone for several quality issues or bugs within the app. And of course, there is the issue of multiple apps for the same purpose. However, there is a new breed of apps that is making its way into the world of apps that fulfills many purposes using a single app — the Super Apps.

Today, we use multiple apps to perform various functions in our household. We use WhatsApp to send messages, we use Facebook, Instagram, Snapchat, etc for social media, we use different apps to order our groceries and also use various ride-sharing or cab-hailing apps to get from one place to another, and the list goes on. The point I'm making here is that we use a lot of apps on a daily basis to go through the day. But imagine if you could simply use a single app to meet all your needs, be it booking a cab, ordering groceries, paying your bills, etc. That is precisely what a Super App aims to do. Let us delve into Super Apps a bit more to understand how they work.

Portfolio Architecture Examples: Edge Collection

Posted: 06 Apr 2022 07:45 AM PDT

This article is a continuation of a series of posts about our project named Portfolio Architectures. A previous post, Portfolio Architecture Examples: Healthcare Collection, begins with a project overview, introduction, and examples of tooling and workshops available for the project.  You may want to refer back to that post to gain insight into the background of Portfolio Architectures before reading further.  

Edge Collection

The collection featured today focuses on edge computing architectures. There are currently five architectures in this collection, and we'll provide a short overview of each, leaving the in-depth exploration as an exercise for the reader.

Portfolio Architecture Examples: Telco Collection

Posted: 06 Apr 2022 07:44 AM PDT

This article is a continuation of a series of posts about our project named Portfolio Architectures. The previous post, Portfolio Architecture Examples: Healthcare Collection, begins with a project overview, introduction, and examples of tooling and workshops available for the project.  You may want to refer back to that post to gain insight into the background of Portfolio Architectures before reading further.  

Telco Collection

The collection featured today is centered around architectures in the telco domain. There are three architectures in this collection and we'll provide a short overview of each, leaving the in-depth exploration as an exercise for the reader.Portfolio Architecture Telco Collection

Portfolio Architecture Examples: Healthcare Collection

Posted: 06 Apr 2022 07:44 AM PDT

For a few years now we've been working on a project we have named Portfolio Architectures. These are based on selecting a specific use case we are seeing used in the real world by customers and then finding implementations of that case using three or more products from the Red Hat portfolio.

This basic premise is used as the foundation, but many aspects of open source are included in both the process and the final product we have defined. There is a community, where we share the initial project kickoff with a group of architects and use their initial feedback from the start. We also present the architecture product we've created right at the end before we publish to ensure usability by architects in the field. The final published product includes some internal-only content around the customer projects researched, but most of the content is open and freely available through various open-source channels.

Organizing and Improving Development Teams: The Testing Matrix

Posted: 06 Apr 2022 07:26 AM PDT

Introduction

The testing matrix is a framework for improvement. It can help plan our testing before we start developing. During development, it can help as a single source of truth for what has been done daily. When development and testing are finished, it may be the big picture of our testing choices and decisions. Did we make the right decisions? Sometimes the answer to this question can only come in the future. But in the future, we must make sure that we can recall our decisions in some detail, otherwise, no lessons will be learned. In retrospect, it may be beneficial if the big picture for our testing activities can be found by looking at a single matrix.

The Matrix

On the vertical axis, we can display the levels that we've tested or that we plan to test. Did we do performance testing at a unit level? What about integration testing and regression tests?

Comments

Popular posts from this blog

Digg

DZone.com Feed

Yahoo! News: Technology News