Software Engineering: Object-Oriented Software Architecture

Software Engineering: Object-Oriented Software Architecture

Tiempo de lectura: < 1 minuto Object-oriented software architecture focuses on designing and organizing software systems using principles and concepts of object-oriented programming. Unlike traditional architecture based on components or layers, object-oriented architecture is based on the idea of building systems as a collection of interconnected objects that collaborate to achieve the system’s goals. By applying object-oriented design principles and using … Read more

Implementing Vitest in a React Environment with Vite for Unit Tests

Implementing Vitest in a React Environment with Vite for Unit Tests

Tiempo de lectura: 2 minutos Today we are going to learn how we can install Vitest in a React environment with Vite. First, we will install Vitest: npm install -D vitest After we will install the necessary libraries: npm install vitest @testing-library/react @testing-library/jest-dom –save-dev Now let’s create the directory structure for the tests, outside our src folder: And within components, … Read more

Test-Driven Development (TDD) in Software Engineering

Test-Driven Development (TDD) in Software Engineering

Tiempo de lectura: < 1 minuto Test-Driven Development (TDD) is a software development practice that focuses on writing automated tests before writing production code. The TDD development cycle follows three steps: writing a test, making it fail, and then writing the minimum code necessary for the test to pass. Below are the benefits and best practices associated with TDD: In this … Read more

Object-Oriented Programming: SOLID Design Principles

Object-Oriented Programming: SOLID Design Principles

Tiempo de lectura: < 1 minuto The SOLID principles are a set of five software design principles that promote the creation of clean, maintainable, and scalable code. These principles were introduced by Robert C. Martin in his book «Agile Software Development, Principles, Patterns, and Practices» and are fundamental to object-oriented software engineering: The SOLID principles provide clear guidelines for software design … Read more

Fundamentals of Object-Oriented Programming (OOP)

Fundamentals of Object-Oriented Programming (OOP)

Tiempo de lectura: < 1 minuto Object-Oriented Software Engineering is an approach to software development based on the concept of objects, which are entities that represent data and behaviors. This tutorial will guide you through the fundamentals of object-oriented software engineering and how to apply them in your software development projects. Fundamentals of Object-Oriented Programming (OOP) Object-Oriented Programming (OOP) is a … Read more

Select Dropdown Options Widget or DropdownButton in Dart using Flutter

Select Dropdown Options Widget or DropdownButton in Dart using Flutter

Tiempo de lectura: < 1 minuto Today we are going to create a custom widget called CustomDropdownButton, which is used to display a DropdownButton with selectable options. The widget accepts three parameters: Widget Usage: To use this widget, simply incorporate it into the widget tree and provide the required parameters as shown below Finally, we visualize the result Returns only the … Read more

Generating OAuth 2.0 Credentials for Google Drive or Google Docs using n8n

Generating OAuth 2.0 Credentials for Google Drive or Google Docs using n8n

Tiempo de lectura: < 1 minuto We will learn today how to generate an OAuth2 credential for Google Drive using n8n. Go to console.cloud.google.com extras: if authentication fails or forces account verification We modified point 5 and indicate Application Web We added the URL of redirection that n8n tells us to add it to the created credential. And now we can … Read more

Add Google Sign In to Flutter

Add Google Sign In to Flutter

Tiempo de lectura: 3 minutos Today we are going to learn how we can implement Google authentication in our Flutter app. Let’s go to Google Cloud Platform (https://cloud.google.com/) and click on Console Now select our project (if we already have it created by Firebase) or create a new one. Now search for: oauth clients Choose External: Fill in the application … Read more

Verify Google Auth Token (Google Sign) Using Python

Verify Google Auth Token (Google Sign) Using Python

Tiempo de lectura: 2 minutos Today we’re going to learn how we can verify a token generated with Google Sign-In from a front-end client by sending it to the back-end. In this case, we’ll be using Python. Returns only the HTML translated, without any addition. Here’s a step-by-step tutorial for validating a Google Sign-In token in Python using the google-auth … Read more