Relations Engine released
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.
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.
Relations Engine can be found on the Download page.
Using LIST-VIEW as an editor
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
RapidWeaver looks like it could be it.
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.