Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
52

Latest Updates

Documenting code, one commit at a time.

Java 10 posts
×

Decoupling Appointment Logic with Factory and Observer Patterns

Managing a complex scheduling system like mediTurn requires a delicate balance between flexibility and maintainability. As our appointment management needs grew, the core code started becoming brittle, with too many responsibilities crammed into a single service. To address this, we recently refactored the module by implementing the Factory and Observer patterns.

The Problem: Tightly Coupled

0 Java

Enhancing Financial Clarity: Formatting Currency in Java

Why Formatting Matters

Numbers represent more than just raw data; they convey value and context. In financial applications, a bare floating-point number can be ambiguous. By adding specific currency symbols, we remove that ambiguity and provide immediate visual feedback to the user, ensuring that price points like grant totals are unmistakable.

The Implementation Approach

0 Java

Standardizing Tax Calculations: Implementing Global VAT Constants

Managing tax rates across various services can quickly become a maintenance headache. In the sabrimassola/appfacturas project, which focuses on streamlined invoice management, hardcoded tax values were creating unnecessary friction during updates and increasing the risk of calculation errors.

The Problem: Hardcoded Assumptions

Previously, Value Added Tax (VAT) rates were often defined as

0 Java

Refining Invoice Presentation: Improving Final Detail Views

The Challenge of Clarity

In our project, sabrimassola/appfacturas, we manage complex financial data where transparency is everything. A recurring challenge we faced was how invoice details were presented to the end user. As our feature set grew, the final summary view became cluttered, making it difficult for users to verify their line items and totals quickly.

The Iterative Approach

0 Java

Optimizing Appointment Management with Java Collections

In the mediTurn project, our recent focus has been on refining how we track and manage scheduled medical appointments. As the system grows, the need for efficient data retrieval becomes paramount, leading us to reconsider our underlying data structures.

The Challenge of Appointment Lookups

Previously, managing a collection of appointments often involved iterating through lists to find a

0 Java

Automating Tax Calculations: Adding IVA Support to AppFacturas

The Challenge

In our Java-based invoicing project, AppFacturas, our invoice processing logic was previously limited to basic line-item totals. As our business requirements evolved, we needed to support value-added tax (IVA) calculations to ensure compliance and accuracy for our users. Manually managing tax rates during invoice generation was becoming error-prone and inefficient.

0 Java

Structuring User Identity with Abstract Base Classes in Java

Establishing a Solid Foundation

When building user-centric systems in the mediTurn project, maintaining a clean and extensible identity model is crucial. As the application grows, moving from simple object definitions to an abstraction-heavy architecture allows for better code reuse and more robust authentication flows.

The Role of Abstract Base Classes

Think of an abstract base class as

0 Java

Implementing IVA Calculation in Invoice Management

Introduction

In the sabrimassola/appfacturas project, we have been working on enhancing our invoice generation module to ensure tax compliance. This update focuses on automating the inclusion of the Value Added Tax (IVA) in the final invoice totals.

The Challenge

Previously, our invoicing logic handled base amounts but lacked a centralized approach for calculating and displaying the

0 Java

Enhancing Financial Transparency: Displaying VAT in Invoice Details

In financial software, providing granular transparency to users is not just a feature; it is a necessity for trust. We recently updated the appfacturas project to ensure that Value Added Tax (VAT) is clearly visible within the invoice detail view.

The Missing Detail

Previously, our invoice display focused primarily on the net price and final totals. However, users frequently needed to verify

Improving Data Clarity: The Role of Small Formatting Details in `appfacturas`

Introduction

The appfacturas project aims to provide a robust invoicing solution. In such applications, clarity and precision in data presentation are paramount. Even seemingly minor updates can significantly enhance user understanding and interaction. This post explores a recent change in appfacturas – specifically, adding a currency symbol to numerical values within the `Factura.