How do you manage your php codes? Do you prefer functioning within one php file or including larger blocks of ‘raw code’?
Edit: In fact, my code is pretty nasty, as I don’t use any namespaces and classes – only functions and including. I shall look the classes up ^^.
If you are using php classes, this will sort itself out. If you are not, then it’s really hard to give an acceptable answer, except that you should learn to. All php code I’ve seen done either way without classes seems to become quickly messy.