[Github Repo] I just pushed template to quickly start Pharo / Teapot
Hi sergio, why not use my existing "Tealight" project which is (similar to Teapot) also available from Pharo catalog. It is still lightweight as it is just a few extensions to Teapot. You will find it here: https://github.com/astares/Tealight the page includes the full documentation and after reading it you should be able to see: - that you can even start the server quickly from the world menu after loading - how easy it is to tinker and experiment with dynamic routes and Teapot in an interactive way - how easy it is to provide a REST interface by having methods annotated with REST specific pragmas - to even provide a versioned REST interface (also defined using pragmas) The document should easily explain all this, esepcially read "Defining a REST based interface". This project is around since last october now (see http://forum.world.st/ANN-Tealight-td4918431.html) Lately I even added the possibility to remove one or all the dynamic routes in a teapot inspector (see attached screenshot). That makes it even easier to experiment lively with a teapot instance and different URLs one wants to catch. Have fun Torsten
The inspector extension are really cool !
On 15 Aug 2017, at 01:27, Torsten Bergmann <astares@gmx.de> wrote:
Hi sergio,
why not use my existing "Tealight" project which is (similar to Teapot) also available from Pharo catalog. It is still lightweight as it is just a few extensions to Teapot.
You will find it here:
https://github.com/astares/Tealight
the page includes the full documentation and after reading it you should be able to see:
- that you can even start the server quickly from the world menu after loading - how easy it is to tinker and experiment with dynamic routes and Teapot in an interactive way - how easy it is to provide a REST interface by having methods annotated with REST specific pragmas - to even provide a versioned REST interface (also defined using pragmas)
The document should easily explain all this, esepcially read "Defining a REST based interface".
This project is around since last october now (see http://forum.world.st/ANN-Tealight-td4918431.html)
Lately I even added the possibility to remove one or all the dynamic routes in a teapot inspector (see attached screenshot). That makes it even easier to experiment lively with a teapot instance and different URLs one wants to catch.
Have fun Torsten
<routes.png>
participants (2)
-
Sven Van Caekenberghe -
Torsten Bergmann