Gemaire — Reusable Magento B2B Modules
Project Details
Duration:2017–2018
Role:Senior PHP Engineer
Team:E‑Commerce (B2B)
Technology Stack
PHP 7Magento EEMySQLRedisKnockout/RequireJSNginxCI/CD
Problem
Gemaire served B2B customers with demanding requirements: account-specific pricing, credit terms, inventory visibility by location, and large repeat orders. The existing implementation mixed customizations directly into theme and core areas, increasing risk and slowing releases.
Approach
- Designed reusable Magento EE extensions for account pricing, quick‑order, and inventory visibility.
- Extracted business logic from templates into service classes and observers, reducing theme bloat.
- Implemented indexing/caching strategies with MySQL + Redis to handle heavy catalog and search traffic.
- Introduced CI hooks to lint, test, and package modules for controlled deployment across environments.
- Wrote deployment playbooks to minimize downtime within maintenance windows.
Results
- Core B2B flows became portable between environments and sites.
- Reliability improved under high traffic, especially for quick‑order + pricing resolution.
- Maintenance cost dropped as duplicated logic was centralized in shared modules.
Tech Stack
- PHP 7, Magento Enterprise Edition
- MySQL, Redis
- Knockout/RequireJS (M1 UI), Nginx
- CI/CD packaging of modules