Coming from an OOP background, I am a little confused about the structure of these projects. I am seeing files that are thousands of lines long. I am used to splitting things into files and classes but I understand that this is a different framework - for one, file size is an issue - but there must be a better way to do it all?
The length of the scripts affects not only readibility and maintanability but also a person's general understanding of how the program works.
How are large applications structured? Any general OOP design patterns for this?