F G+ T

tuandph

Khởi đầu với .NET từ năm 2013 đến nay. Hiện tại mình đang làm full-stack developer. Yêu thích lập trình & chia sẽ kiến thức. Thời gian rảnh thường làm những tool vui vui và viết lách kể lệ sự đời.

Multiple layout within Ionic app

When developing an Ionic app, implementing distinct layouts for different user roles is essential for usability and functionality. In this article, we’ll explore how to structure an Ionic app with two master layouts—one for regular users and another for administrators—each with its own unique navigation system.

Best Practices for Designing a Booking System Database

Designing a booking system database requires efficiency, flexibility, and scalability. A common mistake is creating separate tables for different item types, such as vehicles, security personnel, and additional services. Instead, a more optimized approach is to use a single table to manage all service items uniformly, simplifying queries and database maintenance.

Chuyến đi Singapore đáng nhớ: Hành trình đầy drama của một kẻ “mù đường” lần đầu đến với quốc đảo Sư tử biển

Đời tôi chưa bao giờ nghĩ mình sẽ có ngày đặt chân tới Singapore – cái đất nước mà nghe đồn sạch đến mức có thể nhặt đồ ăn rơi dưới đất lên thổi phù phù rồi ăn tiếp. Vậy mà, vào dịp Tết Nguyên Đán vừa rồi, khi mọi người còn đang bận rộn gói bánh chưng, chúc tụng nhau thì tôi lại nổi hứng xách ba lô lên và đi, dù kinh nghiệm đi nước ngoài của tôi tròn trịa như con số 3. Đi cùng tôi lần này là mấy ace vợ ở Việt Nam qua chơi hai nhóc con Ken và Ny – hai cái đuôi nhỏ háo hức đến mức làm chuyến đi thêm phần “náo loạn”. Chuyện gì đến cũng đến, và đây là nhật ký chuyến đi vừa đáng nhớ vừa đáng… cười của tôi trong dịp Tết đáng lẽ nên ở nhà ăn mứt gừng.

Transaction Management in Systems using .NET Core and MS SQL

Introduction In financial or e-commerce systems, managing financial transactions is a crucial part. Each transaction can consist of multiple components such as purchasing items, platform fees, or payment gateway fees. To ensure data integrity and transparency, the system needs a mechanism to record transactions and financial journals clearly and accurately. This article will guide you […]

[Ionic] Dynamic Layout background color

Way 1: Using document body to set theme (preferred) 1. Set the document body inside the main layouts 2. Style the app in the variable.scss Way 2: Set them variables directly into Main layout page Structure the files Given you have folder structure like this. ui-pages/main: layout using for admin, moderator role ui-pages/user: layout using […]