-
Android Development: main() Method, Application Lifecycle, and Event Handling
So, I was going through some tutorials in Android development and along the way created my first applications that just demonstrate the programming features that are available in Android. It does not seem to me a far fetch programming paradigm as this is mostly familiar to someone with a windows or web development background, but with some subt... Read More
-
WinForms: Using DevExpress, there is a quick way of making sure only one instance of a form is open
If you are lucky enough to be using DevExpress and you don’t like the idea of using the Singleton pattern in enforcing this rule, then look no further. You can use DevExpress’ DocumentManager control to manage your opened forms. My solution is to create a static FormManager class encapsulating the document manager control and providing the one... Read More
-
JavaScript: You think you know it well?
Just because you are a C# or Java developer that you think you know JavaScript well. Well I don’t. But no worries, below are some quick pointers to remember: null and undefined are types, just like Numbers, Strings, Booleans, and Objects. null indicates a deliberate non-value while undefined indicates an uninitialized value. Primitive/l... Read More
-
Design Patterns: Factory Method, Abstract Factory, and Singleton
Back again with design patterns, defining them briefly and the design principles they are based on, and providing several very good (almost) real-world C# examples that are available on the Internet. In this series we have the factory patterns and the singleton pattern and their several different implementations. Design Pattern #4: Factory Met... Read More
-
HTTP Fundamentals, Part 2: Communication Stack, HTTP Connections, and REST Style of Architecture
Communication Stack HTTP is the topmost layer in the communication stack and is called an application layer protocol. From the web browser, it travels down a series of layers, and when it arrives at the web server, it then travels up through a series of layers. The layers that make up the communication stack are: Application – An example ... Read More