Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Take Yii for example. Beside framework functionality, the power of rapid development comes from Gii code-generation tool and it generates PHP code (complete MVC for CRUD + admin. interface based on database tables or PHP class). You get skeleton structure that you need to fill in with your business logic (and put some design into views, but that's not really a problem here).

Everything that Gii does, you would have to write manually using PHPSnow. Doing that manually is slow and error prone.

Besides, using MVC framework makes the PHP code clean and maintainable, which are two real problems with PHP. Writing $this-> is a minor nuisance, but I hardly believe it warrants inventing a new language. If PHP is just ugly to you, why use it at all? There's Python, Ruby, whatever...



then again PHP is arguably a framework itself and when dealing with something either very simple or very complex Yii feels to verbose.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: