Teapot web microframework in VA Smalltalk

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

Teapot web microframework in VA Smalltalk

vinref
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Teapot web microframework in VA Smalltalk

dmacq
HI Vince,

Pharo code can be imported easily into VA Smalltalk using the Monticello Importer described here: http://www.instantiations.com/docs/90/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sg/stugmi.html

Lee

On Wednesday, January 3, 2018 at 11:49:50 PM UTC-5, Vince Refiti wrote:
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: <a href="http://smalltalkhub.com/#!/~zeroflag/Teapot" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;">http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Teapot web microframework in VA Smalltalk

jtuchel
Vince,

while Donald is not wrong, there is a little thing to remember in case of Teapot. Teapot uses Pharo's favorite HTTP framework (Zn...) which is not actually compatible with SST.
So I guess you'd either have to port Teapot to work on top of VASTs HTTP machinery, or port ZnHTTP-stuff over to VAST.

Both might be quite some work. So be prepared for a prolonged Saturday afternoon for the port ;-)

Joachim



Am Donnerstag, 4. Januar 2018 20:50:33 UTC+1 schrieb Donald MacQueen:
HI Vince,

Pharo code can be imported easily into VA Smalltalk using the Monticello Importer described here: <a href="http://www.instantiations.com/docs/90/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sg/stugmi.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.instantiations.com%2Fdocs%2F90%2Fwwhelp%2Fwwhimpl%2Fjs%2Fhtml%2Fwwhelp.htm%23href%3Dsg%2Fstugmi.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHUDz7kHIB16F-BRFB4lxGfvmRboQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.instantiations.com%2Fdocs%2F90%2Fwwhelp%2Fwwhimpl%2Fjs%2Fhtml%2Fwwhelp.htm%23href%3Dsg%2Fstugmi.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHUDz7kHIB16F-BRFB4lxGfvmRboQ&#39;;return true;">http://www.instantiations.com/docs/90/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sg/stugmi.html

Donald

On Wednesday, January 3, 2018 at 11:49:50 PM UTC-5, Vince Refiti wrote:
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: <a href="http://smalltalkhub.com/#!/~zeroflag/Teapot" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;">http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Teapot web microframework in VA Smalltalk

Louis LaBrunda
In reply to this post by vinref
Hi Vince,

On Wednesday, January 3, 2018 at 11:49:50 PM UTC-5, Vince Refiti wrote:
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: <a href="http://smalltalkhub.com/#!/~zeroflag/Teapot" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;">http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince

I'm not sure what you mean by Seaside being a bit heavy for what you need but I find it fine for both small and large projects.  I've done a few in small to midland projects in VA Smalltalk and a couple small ones in Squeak, one ran on a Raspberry Pi 1 and Zero.  Given Donald's and Joachim's 
replies, Seaside may be worth a second look.

Lou.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Teapot web microframework in VA Smalltalk

vinref
In reply to this post by vinref
Hi

Yes, I had started looking into porting Teapot into VA, and the first thing that I had problems with is Zn. I prefer a native VA port and I will persist given time.

Thanks for all your responses.

Vince

On Thursday, 4 January 2018 14:49:50 UTC+10, Vince Refiti wrote:
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: <a href="http://smalltalkhub.com/#!/~zeroflag/Teapot" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;">http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Teapot web microframework in VA Smalltalk

jtuchel
Vince,

the SST Framework has all the building blocks you need for REST servers and clients. So depending on how much of Teapot you need, there might be a good chance that you can build the stuff you need in short time.
Maybe this slide deck is worth looking at: http://www.objektfabrik.de/Downloads/VASTSummit2009/Tuchel_VAST_RESTfulWS.pdf

Joachim




Am Montag, 8. Januar 2018 00:30:57 UTC+1 schrieb Vince Refiti:
Hi

Yes, I had started looking into porting Teapot into VA, and the first thing that I had problems with is Zn. I prefer a native VA port and I will persist given time.

Thanks for all your responses.

Vince

On Thursday, 4 January 2018 14:49:50 UTC+10, Vince Refiti wrote:
Hello

Is Teapot available, or is there any intention of making it available, in VA Smalltalk? Or is there an equivalent in VA Smalltalk? I find Seaside a bit heavy for what I need.

Teapot is a web microframework similar to Ruby Sinatra and Python Flask: <a href="http://smalltalkhub.com/#!/~zeroflag/Teapot" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fsmalltalkhub.com%2F%23!%2F~zeroflag%2FTeapot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEQ6rvaSkHvdDzuV3lVdAvRUxwB1w&#39;;return true;">http://smalltalkhub.com/#!/~zeroflag/Teapot. The reference implementation is in Pharo.

Vince



--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.