Developing a secure, High quality and modern website builder: a resume on my journey
说明与用途
作者构建了一个模块化的 Symfony 项目,集成 GrapesJS 可视化编辑器、自动化文档和静态分析,确保高代码质量并符合 OWASP ASVS 标准。
问题
The author needed a modern, secure, and high‑quality website builder that could be used by designers and developers without extensive JavaScript knowledge, while ensuring code quality, documentation, and security compliance.
结果
The project evolved into a modular, well‑documented, and security‑aware Symfony application with a user‑friendly visual builder, enabling designers to create pages without coding while maintaining high code quality and compliance with industry security standards.
工作流
- 1. Learned Symfony and built a basic HTML/Twig site with admin dashboard.
- 2. Decided to integrate GrapesJS to enable designer‑friendly page building.
- 3. Refactored the monolith into separate bundles for security, web builder, multimedia, and framework.
- 4. Set up CI to generate PHPDoc and phpmetrics reports.
- 5. Added Psalm and PHPStan as pre‑commit hooks and in GitLab pipeline for code quality.
- 6. Researched OWASP ASVS and planned security hardening steps.
- 7. Published bundles on Packagist and monitored downloads and AI security reviews.
证据
I set a CI pipeline that generates a PHP API documentation of the entire code using phpdocumentor.
Both of these are set into the highest level of code quality, and I can tell that it hurts my developing speed a lot.
I started reading each one of them (from the most essential test (l1), to the most hard (l3)).
- 记录日期: 2026-09-06T19:21:43.324Z