tcj / SandstoneDb

FileTree and Metacello version of Ramon Leon's SandstoneDb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SandstoneDb

FileTree and Metacello version of Ramon Leon's SandstoneDb.

History of this repo

SandstoneDb has been available via SqueakSource. At Camp Smalltalk 2019, Dale Henrichs graciously helped me make this available in FileTree/Metacello format with the author's permission. That effort produced this repo.

From the class comment of SDActiveRecord:

I'm the core of a simple object database based upon a mix of several patterns intended for use with small Seaside based web applications. I am not meant to scale to millions of records, just tens of thousands, but for prototyping and small office applications where the number of records are in the thousands and the number of concurrent users can be handled by a single Squeak image. To use me, simply subclass me and restart your image that's it.

Platforms

I have tested this in Squeak 5.2.

The baseline is intended to also support Pharo, but I have not tested it.

Installing

I am in the habit of cloning GitHub projects outside of Squeak and then adding FileTree repos manually. If you do the same, you can adapt the following code to your own local directory tree:

Metacello new 
	baseline: 'SandstoneDb';
	repository: 'filetree://Users/yournamehere/src/SandstoneDb/src';
	load

In the future, the following may also work, without needing to clone the repo first:

Metacello new 
        baseline: 'SandstoneDb';
        repository: 'github://tcj/SandstoneDb:main/src';
        load

License

Code commited to this repository will be automatically under MIT license.

Acknowledgments

About

FileTree and Metacello version of Ramon Leon's SandstoneDb


Languages

Language:Smalltalk 100.0%