Relations Engine released

In order to do some custom database work, I did a relations engine (don't know what else to call it, but I think it's a stupid name), that'll help making relations between words and values.

So what's wrong with this?

set 'a 27

This is fine if you don't need anything more than this, but the fine part about this engine is that it works on a tree structure and you can have an infinite amount of levels of one-to-one and/or one-to-many relations.
relations

Example:

You can relate a customer to a specific invoice and relate that invoice to the articles that are stored in the invoice. You can then further more relate the articles to where they are stored in your storage rooms, to how many this customer has purchased in total and so on. In short, you can relate any kind of existing data to each other as long as the values used for indexing are not blocks, words or objects. The data you are indexing can of course be of any type.

Remember that it says existing data. The relations engine doesn't make up data on its own, only creates the connections.

That's it! It isn't much, but I think it does it well. Happy

Relations Engine can be found on the Download page.
|

Using LIST-VIEW as an editor

LIST-VIEW has been growing fast these past three weeks, but there is way more to come to make it really cool. You see, it's nice to use as an element in your own GUI, but it also has the ability to function as a stand alone data editor similar to the already built in text editor. Right now you can do this:

block: copy []

view layout [
li: list-view with [
data-columns: [a b c]
data: block
editable?: true
]
btn "Add Row" [li/append-row]
]


And you can now graphically edit BLOCK using three columns, A, B and C.

With a few more modifications, you can add and delete columns in the list dynamically. This isn't possible directly in DATA yet, as it will only add columns to a single row, but I plan to add functions to let you do this to all rows in DATA. This will make it a fully fledged block editor with a few lines of code.
|

Testing out RapidWeaver

I want a simple tool to publish information regarding REBOL for the tools and libraries I expect to develop during the course of this year.

RapidWeaver looks like it could be it.

Picture 2

Although it's a bit stiff in what you can do with it, what it does, it does well. Granted, it has very little of the lightweight programmable approach that REBOL has, but for me that's OK, as long as the job is done with excellence. If I can keep this up, I may actually end up paying for it to exceed the 3 page limit. Gosh. Golly.

Anyway, one excellent thing could be a method to integrate MakeDoc2 documents directly in RapidWeaver. That would make it easy for me to publish them in a more eye-pleasing theme.

That would probably require it to be able to grab the HTML code from elsewhere and dress it with its own template code.

But I'll have to look into that when I get more time.

|