What are you referring to with "the main logics"? If you are talking about coding/architecture, there really isn't a "conventional way" of doing it. It should all come down to what you want each piece of your code to achieve.