Listed below are some or few of the things you should consider when coding or developing an application either for web, stand-alone or networked:
- Design your loops in an efficient way. Do not do too many loops in one process. As much as you can, always try for simple alternatives in your complex loops.
- Consider the memory your codes may use. Especially when dealing with arrays and parsing large csv or xml files. When ever you can, try to free up the memory in one loop or recursion during the parsing process. Do not store large data in an array and do not use too many variables with large values.
- Use functions. As much as you can, research for build-in functions your programming language have. If in case a special process requires you to create your own code, use functions and do not do procedural approach.
- Create Classes and use them. Research on how to create classes that you can use in your application. Creating and using classes makes your codes reusable and extendable. Once you have a logic for a certain task or tasks, you can group together related functions in one class. These functions will now be the methods of you class which you can easily use over different parts of your application.
- Consider MVC or Model View Controller architecture. Model View Controller (MVC) pattern creates applications that separate the different aspects of the application (input logic, business logic, and UI logic), while providing a loose coupling between these elements.
These are just few things to keep in mind whenever you are creating or developing your application. For more information, you can google the important keywords you find I mentioned above.


Please feel free to leave your comments or suggestions here..