[Github Repo] I just pushed template to quickly start Pharo / Teapot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Github Repo] I just pushed template to quickly start Pharo / Teapot

Torsten Bergmann
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 (42K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Github Repo] I just pushed template to quickly start Pharo / Teapot

Sven Van Caekenberghe-2
The inspector extension are really cool !

> On 15 Aug 2017, at 01:27, Torsten Bergmann <[hidden email]> 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>