home .. forth .. colorforth mail list archive ..

Re: [colorforth] Relational DB in ColorForth


On Thu, Feb 19, 2009 at 12:39:30AM -0700, vaded@xxxxxxxxxxxxxx wrote:
> Can anyone point me in the direction of any database work that's been in
> forth, particularity colorforth?  

I have to say when I read this I laughed out loud (scared my kid too).  

A little bit of history on forth & databases:
	http://www.ultratechnology.com/essence.htm (Jeff Fox)

An old school introduction to database writing:
	http://www.theforthsource.com/fp003.html (Glen Haydon)

In order to replace PHP, you might want to look at:
	http://www.jwdt.com/~paysan/httpd-en.html

Not particularly elegant, but it will get you started.

My recommendation, think about what you store in your SQL tables, then
think about what varchar(255) actually means.  Then just write forth :)

The amount of work it takes to write some field access words in forth
is about as much work it takes to write the equivalent SQL to do the
query. The hardest part will be breaking all the bad habits you've
developed in designing DBs to fit the SQL idiom.

Good Luck!

Dave





---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com