ChinaTimes24
News Publishing Platform

ChinaTimes24

High-performance digital news publishing platform featuring modular homepage section customizer, native Bengali localization, and scalable editorial workflows.

Role: Lead Developer
Year: 2024

Project Overview

ChinaTimes24 (চায়না টাইমস ২৪) is a modern, high-volume digital news publishing portal and content management system developed to deliver timely coverage on international diplomacy, bilateral affairs, economics, technology, and cultural developments. Built with Laravel 10, PHP 8.2, MySQL, Tailwind CSS, and Alpine.js, the platform combines a reader-focused frontend experience with an administrative CMS that gives editors full control over site structure, aesthetics, and content feeds.


Key Architectural Highlights

1. Modular Homepage Section Layout Engine

  • Live Layout Customization: Backed by HomepageCustomizationService and dynamic database-driven configurations (ThemeCustomization), editors can reorder homepage sections, toggle section visibility, allocate story counts, and configure banner advertisements in real time without modifying blade templates.
  • Flexible Story Aggregation: Each homepage slot dynamically resolves stories through category filtering, subcategory feeds, manually picked featured stories, or automated trending algorithms.

2. Multi-Tiered High-Performance Caching

  • In-Memory & Storage Caching: Aggregated homepage payloads, category navigation trees, and top-read news lists are cached via FrontendCache to ensure sub-millisecond response times under heavy concurrent traffic.
  • Event-Driven Cache Invalidation: Eloquent lifecycle hooks (News::saved, ThemeCustomization::saved) instantly invalidate and warm relevant cache keys whenever articles are published or theme configurations change.
  • Database Query Optimization: Critical querying columns (status, views, created_at, news_type, and uuid) are indexed to handle intensive sorting and pagination across large news archives.

3. Native Bengali Localization & Typography

  • Contextual Time Parsing: Custom helper utilities convert standard timestamps into authentic Bengali day-part descriptors (ভোর, সকাল, দুপুর, বিকেল, সন্ধ্যা, রাত) and Bengali numeral glyphs.
  • Bengali Slug & URL Handling: Clean transliteration and unicode-compatible slug generator ensures SEO-friendly URLs for Bengali news titles.

4. Audience Intelligence & Reader Engagement

  • Session & Visitor Analytics: Server-side engagement pipeline tracks unique visitors, reading depth, and session durations with cached geographical IP lookup (ip-api.com).
  • Reader Bookmark System: Authenticated readers can curate personalized saved reading lists via seamless asynchronous bookmarking.

Tech Stack

Laravel 10PHP 8.2MySQLTailwind CSSAlpine.jsViteSpatie Laravel PermissionBladeRESTful APIsAxiosRedis / Cache Layer