Is there a smalltalk equivalent for rack/wsgi/ring etc out there?
I have an idea I'm going to play with that would be best served by building on something like rack. If there isn't one already, I'll implement one first and then move on to the idea that builds on it. If there is one, I'd rather see if it meets my needs and use it. Any pointers to anything appreciated. For anyone not familiar with rack et al: They are basically' middleware' layers providing a standard interface between webservers and applications. Middleware is a little deceptive... a better description might be that it is an interface that allows you to hook into between a webserver and other end points by either hooking up an application or middleware ( authentication, file serving ) that can be composed together as part of a specific application. http://rack.rubyforge.org/ https://github.com/mmcgrana/ring http://www.wsgi.org/wsgi/ _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On 27 Mar 2011, at 19:13, Sean Allen wrote: > Is there a smalltalk equivalent for rack/wsgi/ring etc out there? > > I have an idea I'm going to play with that would be best served by > building on something like rack. > If there isn't one already, I'll implement one first and then move on > to the idea that builds on it. > If there is one, I'd rather see if it meets my needs and use it. > > Any pointers to anything appreciated. > > For anyone not familiar with rack et al: > > They are basically' middleware' layers providing a standard interface > between webservers and applications. > Middleware is a little deceptive... a better description might be that > it is an interface that allows you to > hook into between a webserver and other end points by either hooking > up an application or middleware > ( authentication, file serving ) that can be composed together as part > of a specific application. > > http://rack.rubyforge.org/ > https://github.com/mmcgrana/ring > http://www.wsgi.org/wsgi/ Might be cool and useful. I guess that Seaside's WAServerAdaptor concept comes very close. It has the advantage that it's proven in the field, supporting many servers in different Smalltalk implementations. But maybe you already knew this. Sven _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Sun, Mar 27, 2011 at 2:42 PM, Sven Van Caekenberghe <[hidden email]> wrote:
> > On 27 Mar 2011, at 19:13, Sean Allen wrote: > >> Is there a smalltalk equivalent for rack/wsgi/ring etc out there? >> >> I have an idea I'm going to play with that would be best served by >> building on something like rack. >> If there isn't one already, I'll implement one first and then move on >> to the idea that builds on it. >> If there is one, I'd rather see if it meets my needs and use it. >> >> Any pointers to anything appreciated. >> >> For anyone not familiar with rack et al: >> >> They are basically' middleware' layers providing a standard interface >> between webservers and applications. >> Middleware is a little deceptive... a better description might be that >> it is an interface that allows you to >> hook into between a webserver and other end points by either hooking >> up an application or middleware >> ( authentication, file serving ) that can be composed together as part >> of a specific application. >> >> http://rack.rubyforge.org/ >> https://github.com/mmcgrana/ring >> http://www.wsgi.org/wsgi/ > > Might be cool and useful. > I guess that Seaside's WAServerAdaptor concept comes very close. > It has the advantage that it's proven in the field, supporting many servers in different Smalltalk implementations. > But maybe you already knew this. > WAServerAdaptor isn't really much like ring, rack et al. But it does put the thought into my mind that it would be interesting down the road to try and take the Seaside infrastructure and work something like rack into it. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2011/3/27 Sean Allen <[hidden email]>:
> On Sun, Mar 27, 2011 at 2:42 PM, Sven Van Caekenberghe <[hidden email]> wrote: >> >> On 27 Mar 2011, at 19:13, Sean Allen wrote: >> >>> Is there a smalltalk equivalent for rack/wsgi/ring etc out there? >>> >>> I have an idea I'm going to play with that would be best served by >>> building on something like rack. >>> If there isn't one already, I'll implement one first and then move on >>> to the idea that builds on it. >>> If there is one, I'd rather see if it meets my needs and use it. >>> >>> Any pointers to anything appreciated. >>> >>> For anyone not familiar with rack et al: >>> >>> They are basically' middleware' layers providing a standard interface >>> between webservers and applications. >>> Middleware is a little deceptive... a better description might be that >>> it is an interface that allows you to >>> hook into between a webserver and other end points by either hooking >>> up an application or middleware >>> ( authentication, file serving ) that can be composed together as part >>> of a specific application. >>> >>> http://rack.rubyforge.org/ >>> https://github.com/mmcgrana/ring >>> http://www.wsgi.org/wsgi/ >> >> Might be cool and useful. >> I guess that Seaside's WAServerAdaptor concept comes very close. >> It has the advantage that it's proven in the field, supporting many servers in different Smalltalk implementations. >> But maybe you already knew this. >> > > WAServerAdaptor isn't really much like ring, rack et al. Yes and no. It has the same responsibility in the "Seaside stack" but is "object oriented" and not "string/byte array oriented" and more high level. > But it does put the thought into my mind that it would be interesting > down the road to > try and take the Seaside infrastructure and work something like rack into it. Well the "problem" is that "traditional" servers (Comanche, Swazoo, OpenTalk) used to "object oriented" and fully featured web servers. Since building something like that takes a lot of work more recent servers (FastCGI, SCGI, AJP) are "string/byte array oriented". The later ones are obviously easier to adapt to a ring/rack/wsgi style interface. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
>>
>> WAServerAdaptor isn't really much like ring, rack et al. > > Yes and no. It has the same responsibility in the "Seaside stack" but > is "object oriented" and not "string/byte array oriented" and more > high level. > >> But it does put the thought into my mind that it would be interesting >> down the road to >> try and take the Seaside infrastructure and work something like rack into it. > > > Well the "problem" is that "traditional" servers (Comanche, Swazoo, > OpenTalk) used to "object oriented" and fully featured web servers. > Since building something like that takes a lot of work more recent > servers (FastCGI, SCGI, AJP) are "string/byte array oriented". The > later ones are obviously easier to adapt to a ring/rack/wsgi style > interface. a bit of background from me could help here. i'm going to end up having redline smalltalk using either netty or jetty be the final target for my own personal use of this when i'm done so the 'string/byte oriented' is going to be important to me. i'm playing around with how restful resources using stored blocks would look and the final end result i would build on top of it is going to be a combination of some stuff i wrote earlier this year in smalltalk using pharo ( ported to redline ) and a later part that i had a much easier time expressing using clojure. thus the jvm is a big + for me, but in general as i'm one of the redline guys, it is probably going to be my primary platform sometime in the future ( although i still love pharo and gemstone which i've used for a few years now and plan to keep contributing to in whatever fashion i can. ) _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2011/3/29 Sean Allen <[hidden email]>:
>>> >>> WAServerAdaptor isn't really much like ring, rack et al. >> >> Yes and no. It has the same responsibility in the "Seaside stack" but >> is "object oriented" and not "string/byte array oriented" and more >> high level. >> >>> But it does put the thought into my mind that it would be interesting >>> down the road to >>> try and take the Seaside infrastructure and work something like rack into it. >> >> >> Well the "problem" is that "traditional" servers (Comanche, Swazoo, >> OpenTalk) used to "object oriented" and fully featured web servers. >> Since building something like that takes a lot of work more recent >> servers (FastCGI, SCGI, AJP) are "string/byte array oriented". The >> later ones are obviously easier to adapt to a ring/rack/wsgi style >> interface. > > > a bit of background from me could help here. > i'm going to end up having redline smalltalk using either netty or jetty be > the final target for my own personal use of this when i'm done > so the 'string/byte oriented' is going to be important to me. Awesome, personally I'd like to see a servlet api based approach because that would allow us to support almost any Java server but do whatever works best for you. Native servlet api session tracking is probably be the hardest to implement but would offer some nice benefits. You can run without that though. Let me know should you need any help. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |