Skip to main content
Yuniel Acosta Pérez

Yuniel Acosta Pérez

Valencia, Spain
  • Email copied!

I'm a very outgoing and curious person, who's passionate about coding, space, nature, and sports. I enjoy creating awesome software, whether that be websites, applications, or anything in between. My goal is always to create products that deliver high performance.

Posts

Understanding CORS in Web Development

This article explains CORS (Cross-Origin Resource Sharing) - a security feature built into web browsers that allows web pages to make XMLHttpRequests to another domain. It covers what CORS is, why it's important, and how it works. The article emphasizes the importance of understanding CORS for building modern web applications that require cross-domain requests.

[I] The Interface Segregation Principle

This article explains the Interface Segregation Principle (ISP), a SOLID design principle. ISP says that a class should only implement the methods it needs. The article gives an example of a bad practice that violates ISP and a better practice that follows it by creating small, specific interfaces for each class.

[L] The Liskov Substitution Principle

The Liskov substitution principle ensures that subclass objects can be used interchangeably with those of the superclass, preventing unexpected program errors. Adhering to this rule simplifies code management and increases predictability.

[O] The Open-Closed Principle

This article explains the Open-Closed Principle (OCP) of SOLID design, which advises creating flexible and maintainable code by keeping classes open to extension but closed to modification. It uses an example to show how to adhere to the OCP by defining an interface and creating separate classes for each shape.

Singleton pattern

The Singleton pattern restricts a class's instantiation to one object, providing benefits such as global state, configuration settings, and simplified testing. It enforces a single point of access for the instance of the class and reduces the amount of code needed to maintain a single instance of an object.

15 Ways To Improve The Speed of Your Java Application

Get fifteen tips to speed up your Java applications and optimize your code for peak performance. Streamlining your architecture and utilizing new technology reduces execution time. Proper code organization and efficient algorithms ensure applications run efficiently. Configure your systems for optimal performance. Implement these tips for maximum speed.

From Linux to macOS. My opinion

Switching from Linux to MacOS has limitations, such as lacking basic functions like cutting files and difficulty arranging windows on the desktop. But MacOS offers performance, a fully integrated ecosystem, and great software variety.

Web Performance

User perception of website speed is more important than load time in milliseconds. In this article, we analyze various metrics and best practices to improve user perception. Smoothness of scrolling and animations, real-time page load, and responsiveness to user interaction all affect perception.

Java Features

Java is a fast, secure, and versatile programming language used in a wide range of applications and websites. From laptops to datacenters, game consoles to scientific supercomputers, Java is everywhere!

Introduction to Gridsome

Gridsome is a Vue.js-powered, modern site generator for building the fastest possible websites for any Headless CMS, APIs or Markdown-files. Gridsome makes it easy and fun for developers to create fast, beautiful websites without needing to become a performance expert.