Start by summarising code logic in a diagram and review
Separate out the logic and SQL for back end and front end and modularise
Fully comment within code and do in chunks so not loads being committed in one go
Fully test before merging
Comment on what changes have been made when merging
All of the above will help modularise code and help with unit tests and will help us move to a web app
My definition of 'logic' is anything in the code that is NOT closely coupled to the app UI code. Which means that logic can be separated out of the file and into a different module.
Start by summarising code logic in a diagram and review Separate out the logic and SQL for back end and front end and modularise Fully comment within code and do in chunks so not loads being committed in one go Fully test before merging Comment on what changes have been made when merging
All of the above will help modularise code and help with unit tests and will help us move to a web app