A Git revert remains part of history, so a later branch merge may not restore the original change. Learn when to revert the revert or cherry-pick only the missing fix.
Tag Archives: Development
How to Connect a Cloud App to an Office Database Safely
Keep an office database private by using a local connector, a private VPN, narrow API operations, and idempotent retries.
How to Preserve Meaning When Converting Puzzle Data to JSON
A valid JSON export can still be wrong. Preserve direction, order, short answers, fragments, and picture clues, then test completeness with a known fixture.
How to Split Billing Across Companies Without Duplicating Work
Keep one operational order as the source of truth, then allocate billable items to separate issuing companies with controls that prevent duplicate invoicing.
How to Rate-Limit a Registration Endpoint Without Breaking Signups
Protect the exact registration POST route, choose an API-compatible response, and tune limits using real traffic rather than a universal threshold.
How to Separate Laravel Configuration from Tenant Settings
Use Laravel config for bootstrap values and a tenant-aware database settings layer for safe runtime overrides.
How to Roll Out Migrations Across Separate Tenant Databases
A separate database per tenant improves isolation, but schema changes must be applied to every tenant deliberately and safely.
How to Show Related Content on Posts and Custom Post Types
A safe WordPress related-content feature needs an explicit singular post-type check and a separate published-status filter for every linked item.
How to Add a PHP Enum Cast Without Breaking Existing Logic
A safe pattern for adding Laravel enum casts: inspect the existing enum, update model consumers, and verify hydration and serialization.
Why Arabic Text Needs More Than an Arabic Font in Generated Images
Arabic text in generated images needs both a compatible font and proper shaping and right-to-left handling. Here is how to diagnose and fix each layer.
