Tag Archives: initialization

Robust Web Application Initialization

When a web based application starts up, it should do so carefully to avoid a number of problems.  This post outlines the problems you might run into, and a list of coding preparations that can be made to avoid these … Continue reading

Posted in Coding | Tagged , , , , , | Leave a comment

Module Initialization

Given a module that is designed to be re-used across many applications, what is the correct way to initialize it, and why?

Posted in Coding, Design | Tagged , | Leave a comment

#27 Don't Declare Variables at the Top

Somewhere long ago you attended a course that said that all variables should be declared at the top of the method.  Modern languages allow you to declare the variable at the point in the code that it is initialized and … Continue reading

Posted in Coding, Example Code | Tagged , , , | Leave a comment

#27 A Proper Module does NOT need a Config File

It is common for a system or a program to have a config file: that is a file that holds a bunch of settings that can be adjusted by the administrator or user to get desired effect.  A code module, … Continue reading

Posted in Coding | Tagged , , | Leave a comment