프레임워크 쓰면 ㅄ 같은 코드가 별로 안나올텐데..



옛날 CMS 그누보드 4/5 WP(워드프레스) 그런게 모든게 전역변수고 네임스페이스도 없고

컴포저도 없어서 뭐 깔수도 없고 그렇잖음

저런 오래되고 개판난 CMS 만 보고 PHP 배운사람들이 코드 개판으로 작성함


가비지 인 가비지 아웃 - 진리.

쓰레기 코드를 보고 배우니 쓰레기가 나옴.



CMS 라도 멀쩡한거 있음

XE <- 네이버에서 만들어서 멀쩡함

라이믹스 <- XE 를 고쳐서 더 멀쩡함



해외는 드루팔, 윈터 cms 이런거





https://github.com/gnuboard/gnuboard5





https://github.com/WordPress/wordpress-develop

GitHub - WordPress/wordpress-develop: WordPress Develop, Git-ified. Synced from git://develop.git.wordpress.org/, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please include a link to a pre-existing ticket on https://core.trac.wordpress.org/ with every pull request.WordPress Develop, Git-ified. Synced from git://develop.git.wordpress.org/, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please include a li...github.com