Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
62

Latest Updates

Documenting code, one commit at a time.

Java 10 posts
×
0 Java

Implementing Role-Based Access Control in mediTurn

Managing user permissions should not be an afterthought. In our recent work on the mediTurn project, we focused on establishing a robust foundation for user authentication and authorization by introducing a centralized User entity with structured role definitions.

Defining the User Domain

To ensure scalability, we decided to leverage Java's enum types to define user roles.

0 Java

Standardizing Time: Why Date Formatting Matters for Invoices

Invoices are the heartbeat of any business transaction. If the date on an invoice is ambiguous or inconsistently formatted, it causes friction—not just for the accounting team, but for the automated systems downstream that process those payments. Recently, while working on the sabrimassola/appfacturas project, I realized our date handling was becoming a point of technical debt.

0 Java

Strengthening Domain Logic: Refactoring for Robustness in mediTurn

In the mediTurn project, we recently completed a refactor of our core domain model. As our application has grown, it became clear that relying on simple data structures was making our business logic fragmented and hard to maintain. To address this, we shifted towards a more encapsulated approach that prioritizes domain integrity.

The Problem: Anemic Models

Initially, our models were acting

0 Java

Improving User Clarity in AppFacturas: Refining Financial Labels

The Importance of Precision in Financial UIs

When users look at a final invoice or a summary screen, the most important piece of information is often the "Total" amount. If the labeling is ambiguous or fails to communicate the finality of the sum, it can lead to confusion and unnecessary support inquiries.

0 Java

Automating Fiscal Precision: Integrating VAT Calculations into AppFacturas

Calculating tax liability correctly is a fundamental requirement for any invoicing platform. In the appfacturas project, we recently focused on formalizing the way Value Added Tax (VAT) is computed to ensure our billing cycles remain compliant and predictable.

The Challenge of Manual Calculations

Previously, fiscal logic was often handled in fragmented ways across the application layer.

0 Java

Refining Financial Clarity: Enhancing Total Value Display in AppFacturas

Improving Financial Clarity

In the development of the AppFacturas project, small adjustments to user-facing text often yield the most significant improvements in user experience. Recently, I worked on clarifying the presentation of final total amounts, ensuring that users can immediately grasp the value of their financial documents without ambiguity.

The Problem: Financial Ambiguity

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