H Herbert32 Active Member Licensed User Longtime User Oct 25, 2018 #1 Hi to all out there, until now i only managed small projects with B4A on which i had no chance to make bigger mistakes from grouind up as they had been to small to get confused within them... But now i started a project on which i feel that it could be too complicated to support it over a long period if I don't care about maintainability. Up to now i coded primary the background-functionality which is placed in 3 Modules and now I have to realize the UI UI will contain app. 30 Forms which seems to be too much to be started from the 'Main'-Module especially if i have to handle the events from all Views inside that Forms. Generally will the Application be started in 6 different Modes which have also totally different Forms - each Mode only contains 5 Forms but i'm also unsure whether these 5 Forms are too much to be handled from one module... As I would try to avoid recognizing too late that i gone the wrong way, I hope to receive some helpful suggestions from you here how to organize bigger projects and how you do. waiting for you...
Hi to all out there, until now i only managed small projects with B4A on which i had no chance to make bigger mistakes from grouind up as they had been to small to get confused within them... But now i started a project on which i feel that it could be too complicated to support it over a long period if I don't care about maintainability. Up to now i coded primary the background-functionality which is placed in 3 Modules and now I have to realize the UI UI will contain app. 30 Forms which seems to be too much to be started from the 'Main'-Module especially if i have to handle the events from all Views inside that Forms. Generally will the Application be started in 6 different Modes which have also totally different Forms - each Mode only contains 5 Forms but i'm also unsure whether these 5 Forms are too much to be handled from one module... As I would try to avoid recognizing too late that i gone the wrong way, I hope to receive some helpful suggestions from you here how to organize bigger projects and how you do. waiting for you...
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2018 #2 A few tips: - Write as much as you can in classes. They are more flexible and will allow you to reuse the code. - Don't write anything not related to the UI in the activities. Better use classes initialized from the starter service. Upvote 0
A few tips: - Write as much as you can in classes. They are more flexible and will allow you to reuse the code. - Don't write anything not related to the UI in the activities. Better use classes initialized from the starter service.