Archives for Concept
How to create a Program Launcher (using Rebol Bind Function)
I have a personal productivity problem as I have a bunch of programs all over the place on my Desktop or in my Program Files Menu. I tried many launchers freewares but none really satisfied me so I finally decided to use Rebol Shell as my launcher. It's also a ...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»
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
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
Understanding Rebol’s Words: Beyond Numbers and Strings
When learning Rebol, one of the first thing you would learn is how to store a number or a string in a "variable" like this:
>> a: 5
== 5
>> b: "abc"
== "abc"
>>
I put the term variable between quotes because 'a and 'b are not exactly equivalent to variables in the same ...more»
Native vs Mezzanine and how to get the source of a Rebol Mezzanine function
There are two types of functions in Rebol:
native
mezzanine
A native function is a compiled function which source code is not accessible whereas a mezzanine function is written in Rebol itself. For example the Parse function is native whereas the build-markup function is mezzanine. So try this in Rebol Console:
source build-markup
It will ...more»
Tags: Build-Markup, mezzanine, mold, source
[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)
Joel on Software complained about CS students who are never taught anything but Java:
Without understanding functional programming, you can't invent MapReduce, the algorithm that makes Google so massively scalable. The terms Map and Reduce come from Lisp and functional programming. MapReduce is, in retrospect, obvious to anyone who remembers from ...more»
24 Aug by admin in All, Concept, Helper Function, Internet, Professional Programming, Syntax, Web Services, php
Protect access to your Rebol Script with PHP (kind of Easy Distributed Web Service)
As we have seen since the very beginning, Rebol has the amazing power of being able to execute code remotely. Behind the scene, it will transparently load the script from the server and execute it on your machine as if the web storage was an extension of your disk space.
Since ...more»
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»





![[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)](http://reboltutorial.com/files/2009/09/mapreduce.gif )


No Comment
Tags: bind function, call function, select function