yannij / TMM

!! NOT MAINTAINED !! TMM (Teapot, Mustache, Mongo) is a simple to use Web/CRUD framework built on Pharo Smalltalk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#TMM TMM (Teapot, Mustache, Mongo) is a simple to use Web/CRUD framework built on Pharo Smalltalk.

The main elements of the framework are:

  • Teapot - a micro web framework]
  • Mustache - a popular templating engine
  • Mongo - a key/value store (a.k.a. noSQL database)
  • Voyage - a small persistence framework for "mapping" to an object database
  • Magritte3 - a meta data framework
  • Zinc SSO - a single-sign-on framework

Some useful links:

Installing

The current version of TMM has been tested in Pharo4.0

Pharo

To install in Pharo:

CodeImporter evaluateString:
  'https://raw.githubusercontent.com/yannij/TMM/master/ConfigurationOfTMM.st' asUrl retrieveContents.
((Smalltalk at: #ConfigurationOfTMM) project version: #'stable') load.

Configure

Find the config-sample.json file in the git filetree. Copy the file to the image directory, and name it "config.json". Edit the value of "staticFilePath" - point it at the "files" directory in the git filetree.

Run

After MongoDB is running, set up the demo repository using:

TMMFlowerStore setUpMongo.

Start the web server using:

TMMFlowerStore runLocal.

From a web browser, go to:

http://localhost:1701.

TO DO

https://github.com/yannij/TMM/wiki

About

!! NOT MAINTAINED !! TMM (Teapot, Mustache, Mongo) is a simple to use Web/CRUD framework built on Pharo Smalltalk

License:MIT License


Languages

Language:Smalltalk 93.4%Language:HTML 5.8%Language:CSS 0.8%