OpenLayers Dynamic Maps PRO

The OpenLayers open source project allows us to add dynamic maps into our web pages. Using this library we can avoid the use of Google Maps. The following code sample shows how simple it is to use OpenLayers together with data retrieved from openstreetmap.org. <!DOCTYPE html> <html lang=”en”> <head> <title>openlayers simple demo</title> <link rel=”stylesheet” href=”http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.12/theme/default/style.css” […]

C# Dynamic Typing PRO

As of C# 4.0 we can define a variable using the dynamic keyword. Doing so, the exact type of the variable will be set during the execution of our code in according with the type of value we assign. The following video clip explains this capability. I have just completed to update my C# Fundamentals […]

Dynamic Functions in C# PRO

The C# programming language allows us to write code that creates new methods during its execution. These methods are known as dynamic functions, and once created we can use delegates to treat them just as any other ordinary function. The following video clip explains how to use the System.Reflection.Emit classes in order to create a new simple […]

Dynamic Class Reloading PRO

We can use a ClassLoader object to dynamically load a class into the execution of our code. Trying to load the very same class one more time won’t reload it unless we do it using a new ClassLoader object. We can use this technique for reloading a new modified class during the execution of our code. In order […]

The Visitor Design Pattern

The Visitor Design Pattern

The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.

Update cookies preferences