This is a Servoy Tutorial on how to use the decorator design pattern with object-oriented programming in Servoy. This is an advanced Servoy tutorial, so you may want to familiarize yourself with the other object-oriented Servoy tutorials at this site before reading this one.
Photo Credit: hernan.seoane via Compfight
The purpose of the decorator pattern…
This is a Servoy Tutorial that discusses the factory design pattern and how to build one in Servoy with object-oriented programming. This is an advanced Servoy tutorial, so you may want to familiarize yourself with the other object-oriented Servoy tutorials at this site before reading this one.
Photo Credit: Bugsy Sailor via Compfight
The…
This Servoy Tutorial is a discussion on how to build an application using an event-driven architecture, employing a loosely coupled modular design. This Servoy tutorial is an extension of the prior tutorial on Encapsulation. You should read that tutorial first before attempting to understand why we would use an approach like this. You also might…
This Servoy Tutorial is a discussion about encapsulation and best practices. We have been given new abilities in Servoy Developer to use encapsulation with forms, relations, and even value-lists, but do we know what we are supposed to do with this capability?
Photo Credit: angus clyne via Compfight
For those of you that read…
This Servoy tutorial uses object-oriented programming (OOP) and applies what we learned in the prior tutorial to a real-world scenario. The goal is to toggle groups of elements on a form elegantly with an object-oriented design.
Photo Credit: Roger Smith via Compfight .
Like most developers, you are probably pressed to pack more and more onto the limited…
This is a Servoy tutorial that demonstrates how to add a form to a tab panel using a map. It's a useful technique for controlling exactly where the new form should be placed among other forms in the tab panel, that may or may not be showing.
Photo Credit: jegeor via Compfight .
In the real-world, users…
Servoy Tutorial Photo Credit: Matthias Lenke via Compfight
This is an object-oriented Servoy tutorial on how to use parasitic inheritance with Servoy. Parasitic inheritance is a pattern that is courtesy of Douglas Crockford, and represents a constructor function that creates a new object by taking all the functionality from another object, augmenting the new object…
Servoy Tutorial Photo Credit: />Ben Heine via Compfight
This is an object-oriented Servoy tutorial on how to use an object to control groups of elements that are on a form. Suppose for example, that you had various labels and buttons that need to be shown depending on the type of record you are on. You…
Servoy Tutorial Photo Credit: Thomas Hawk via Compfight
This is an object-oriented Servoy tutorial on how to use multiple inheritance with Servoy. If you read the article on "Prototypal Inheritance", then you learned all about cloning objects using a standard function called objectPlus. This function cloned an object with all its properties and functions, and…
Servoy Tutorial Photo Credit: rob smith photography via Compfight
This is an object-oriented Servoy tutorial on how to use prototypal inheritance in Servoy. When you create a new object using a constructor function, the new object inherits the properties and functions from the constructor and the prototype. However, the real power in object-oriented…
