Overview
Dualizm is this site: a PHP and SQLite portfolio engine with public pages, admin editing, comments, analytics, coding demos, gallery media, and an optional galaxy experience.
Case study
Back to projectsShu saytning o'zi · 2026
Bitta kontent, ikki dunyo: kun va tun. PHP/SQLite CMS, Canvas va faqat kerak bo'lganda yuklanadigan Three.js tajribasi.
Dualizm is this site: a PHP and SQLite portfolio engine with public pages, admin editing, comments, analytics, coding demos, gallery media, and an optional galaxy experience.
A portfolio should present engineering work clearly without turning into a pile of disconnected demos.
Shared hosting friendliness, no heavy framework requirement, safe public comments, admin-only editing, and visual effects that must not block navigation.
Requests enter a small router, controllers call repositories, SQLite stores CMS data, views render escaped output, and expensive visuals are loaded only after user intent.
PHP and SQLite keep deployment small. Vanilla JS avoids a hydration tax. Three.js remains lazy so the core site stays usable if WebGL fails.
Admin content is saved through CSRF-protected forms, repositories normalize persistence, public controllers query published records, and views render route-specific metadata.
The interesting challenge is separating public presentation from CMS internals while keeping the site easy to edit.
The current codebase uses prepared statements, CSRF on form writes, session regeneration on login, sandboxed coding previews, and plain-text public comments.
The hero canvas is progressive, comments load lazily, and the galaxy module is imported on demand.
Missing routes return a real 404, coding files are served through a checked controller path, and comments default to moderation.
A distinctive site still needs plain engineering hygiene: routes, metadata, validation, and fallback behavior.
Add automated browser tests, a richer admin flash/toast system, and image resizing for uploaded media.
Source not publicly linked
No fake repository CTA is shown for this project.