by husainfazel · 4y ago · 0 comments
https://github.com/ad-aures/castopod/blob/develop/app/Views/...
Tight coupling of the HTML/PHP and JS.
If they were going to use PHP, at least they could have used Laravel or Symfony and had standardized libraries for authentication, views etc.
I just checked their Composer.json, looks like it uses CodeIgniter ... so maybe there is a framework in there but still the code quality is atrocious: https://github.com/ad-aures/castopod/blob/develop/composer.j...
Returning HTML code in a render function is even pretty standard, I've seen this in Python / Flask too.
Judging code quality is hard, it seems to me the best clue is how it is easy to add new features / do refactors without breaking things, not how you feel about PHP and HTML being mixed.