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

I agree with most of these except the one about helper functions but I think it was just written poorly (like the whole article). Definitely sort your functions into the files where they are most applicable, but sometimes (a lot of the time) you will have toolkit/helper functions which are globally applicable to the entire app. Where should those go? A helper or toolkit PHP file IMHO.


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

Search: