Case Study
Project Case Study
Challenges, solutions, outcomes, technical highlights, architecture, and project scale.
⚡
Challenges
Managing high volume of news and their categorization, implementing SMS-based authentication, handling multiple images and videos per news item, implementing advanced keyword-based search, and designing RTL user interface with Jalali calendar support.
💡
Solutions
Using Django MVT architecture, dynamic categorization system, integration with Ghasedak SMS service, using django-jalali for Persian dates, multi-upload system with PIL and pillow, and query optimization with select_related and prefetch_related.
📚
Outcomes
Reduced news publishing time to under 2 minutes, increased page load speed to under 1 second, support for 1000+ simultaneous news items, and 40% reduction in user errors with step-based form design.
🔧
Technical Highlights
AJAX for refresh-free loading, draft and archive system, responsive design with Bootstrap 4, Tiny Slider for image gallery, and multi-keyword and comment system implementation.
🏗️
Architecture
Django MVT architecture with two main apps: myaccount (user management) and myprofile (news management). Layers include: model layer (SQLite/MySQL), view layer (business logic), template layer (UI). Mobile and SMS-based authentication.
📐
Project Scale
Medium-to-large project with 20+ template files, 15 database models, 25+ views, and support for 4 user access levels (admin, reporter, regular user, guest).