Archives for OOP
18 Dec by admin in Agility, All, Best Practice, Console, Domain Specific Language, OOP, Professional Programming, UML, framework
A Polymorphic new instance function for Business User / Agile Tester to create sampling datas fast.
In an MVC framework, the Model is the most important entity, View is just kind of Filter on the Model and the Controller just kind of a necessary Evil. So we should be able to build and test the model before even the building phase in the traditional Software Life ...more»
How to implement OOP Polymorphism in Rebol
According to Wikipedia:
Parametric polymorphism is a way to make a language more expressive, while still maintaining full static type-safety. A function that can evaluate to or be applied to values of different types is known as a polymorphic function.
Also for OOP Language:
The primary usage of polymorphism is the ability of ...more»
Tags: Polymorphism
How to group related Global Objects / Functions into “Modules”
When program grows, best practice is to organize source code by modules. There's no explicit concept of "Module" per se in Rebol 2 unlike other languages like Ruby and of course Java, .NET, etc. but Rebol could have the same kind of feature by combining the Object or Context type ...more»
How to Dynamically Extend an Object (for Rebol 2)
Dynamic Languages are hot today since people now realize that static language properties are less suitable for some kind of tasks like Behavior Driven Development. Javascript Framework like Prototype has a method for extending an object, and even now static languages like C# are looking to become dynamic with extension ...more»
Tags: dynamic, extend, inheritance, OOP
15 Dec by admin in All, Code Generation, Database, MySQL, OOP, Professional Programming, UML, XML, framework, php
Fastest Way to Generate Propel Schema for PHP Symfony Framework
In our article "Creating an OOP Class-Based Language with a Prototype-Based OOP Language", we said:
Why try to create a class-based OOP language from a prototyped-base OOP language ? The reasons to do so are numerous like simulating an other language or use it as a model for building Semantic Layers ...more»
Creating a Class-Based OOP Language: Adding Class Constructors Support (Advanced User)
This part is for advanced users only. Beginners should really read previous articles (see related articles at the end) before being able to understand this one.
From First Part (that one was very easy), we have defined these two functions:
Class: func]
new: func ]
]
Let's say we have added the constructor Person (method ...more»
Tags: Advanced, OOP, Reflection
Creating an OOP Class-Based Language with an Homoiconic / Prototype-Based OOP Language
In some previous article, I have simulated the Val keyword in Scala. My Ambition as Creator being growing with time, I wana now simulate a Whole Universe (not yet) Language System such as Java, C#, PHP, javascript ... well that's the start :). If you are interested in Ruby, another ...more»
How to create a Plug-In Architecture Application Framework - with a parallel comparison with C# (part I)
What is a Plug-In Architecture Application Framework? According to this C++ article on Code Guru about Plug-in Architecture Framework for Beginners:
Simply speaking, it is a framework that will allow a program to "look for" add-in functionality at startup, and then allow that plug-in to cooperate with itself.
Famous examples are Eclipse, ...more»
Tags: Architecture, C#, design patterns, ecosystem, framework, OOP, plugin, UML
Rebol and the Grand Unification Theory of Programming Languages
WARNING: this is not a post for the faint-hearted. You must abide to the visitation agreement that you are 18 years++ old. Please imagine that you have to check the little box
"I have read this Agreement, understand it, and accept its terms"
OK ? If Yes Goto Next Else ...more»
22 Jul by admin in Automation, Beginner, Code Generation, Domain Specific Language, OOP, Professional Programming, UML
Automate YUml Diagrams with Rebol
YUML.me (currently in Beta version) is an amazing UML Service which allows you to create Unified Modeling Language diagrams very easily using a DSL of their own. Here's how you can take advantage of this online tool with Rebol:
The example script below will request an yUML Use Case Diagram (see ...more»









No Comment