Eso y súmale al backbutton! El único framework con el que realmente pude
manejar bien el backbutton alguna vez sin anularlo o sin darle bola o alguna técnica de la grulla del momento. Diogenes, me interesaría participar de un port de seaside a S8. Estuve chusmeando y Ale ya tiene una contribución con toda la implementación de node.js para S8 incluido NodeProcess <http://u8.smalltalking.net/contribution.aspx?contributionId=133> http://u8.smalltalking.net/contribution.aspx?contributionId=133 Igualmente por lo que hable con el, quizás no sea necesario implementar todo continuations para dar soporte a lo que necesita Seaside. Abrazo, Leo De: [email protected] [mailto:[email protected]] En nombre de Diogenes Moreira Enviado el: sábado, 22 de septiembre de 2012 12:33 Para: [email protected] Asunto: Re: [clubSmalltalk] Pregunta sobre S8 Si es asi, pero se perdio la magia de |a b| a:= self request: 'decime un numero'. b:= self request: 'decime otro'. self inform:'el resultado es:', (a+b) asString. esto en una aplicación WEB :) Este cambio se hizo para dar soporte a los smalltalks que no tiene continuations.. y mi busqueda es volver a los origenes.. Saludos http://about.me/diogenes.moreira El 22 de septiembre de 2012 09:48, Angel Java Lopez <[email protected]> escribió: Agrego algo, de lo que recien me entero http://stackoverflow.com/questions/8279339/are-continuations-a-key-feature-i n-seaside Initially Seaside used continuations to model the flow between pages and to enable the back button. This is no longer true for Seaside 3.0: continuations are completely optional. If you want to use the <http://book.seaside.st/book/components/calling> call:and answer: functionality you can load the package Seaside-Flow. Otherwise the Seaside application is continuation free. Either way, as a web application developer, you never see (or saw) the continuations. They are an implementation detail that is well encapsulated in the Seaside web framework. Update: In Seaside 3.0 state is managed by storing a special object per request. This object remembers the application state at that point in time. Should the user come back the object knows how to restore and resume with the previous state. In that regard, this object behaves like a continuation (the class is called WASessionContinuation), but its implementation is very different. It does not snapshot the execution stack, but only specific parts of the application state (that's why less memory is consumed). Also it does not jump somewhere into the code like a continuation would, but instead implements the necessary resumption logic as part of the template methodWASessionContinuation>>#handleRequest (that's why it is faster). 2012/9/21 Diogenes Moreira <[email protected]> Sip se puede usar SS sin continuations. Pero se pierde la magia :) quedas en un DSL.. los bloques te resuelven bastante pero le falta una vueltita de rosca. Hay aplicaciones grandes corriendo sobre gemstone que usan continuations.. bueno no son un ebay.. pero bueno.. Haciendo en este momento de esto.. nada. solo preguntaba para jugar un rato. Creo que implementar seaside sobre s8 sería meterse en el mainstream por la ventana. Nadie te va decir nada por subirte a una plataforma soportada por google v8. Si me preguntas con que estoy jugando ahora, es tratando de compilar la vm de pharo en 64bits nativo con alien/FFI pero eso esta en veremos todavia.. Saludos Lic. Diógenes A. Moreira Desde mi celular El sep 21, 2012 7:41 p.m., "Guillermo Schwarz" <[email protected]> escribió: Seaside está implementado con continuations. Lo que intenta hacer Diógenes es correr Seaside dentro de node.js, ya que node.js está hecho en Javascript (o al menos es capaz de ejecutar Javascript y se supone que es más rápido que la JVM. aunque vert.x es aún más rápido) y como V8 es un motor de Javascript que es muy rápido, sobre el que se implementa S8, supongo que la idea es que Seaside corra sobre S8 y bueno ahí me perdí... ¿qué estás realmente haciendo Diógenes? Creo que leí por ahí que existe un seaside sin continuations porque los continuations son un enredo, hay por ahí un ejemplo de continuations con Fibonacci, pero en realidad una aplciación web no es un continuation, porque una continuation es simplemente un valor que se ejecuta y se guarda en forma implícita (lo que ocurre mágicamente en los bloques de Smalltalk), pero en una aplciación web tienes muchas personas interactuando con una DB, típicamente, al menos no creo que uno pudiera crear un ebay con continuations, nadie vería lo que hace el otro... http://joachimtuchel.wordpress.com/2011/04/27/seaside-without-continuations/ En fin. Saludos, Guillermo. 2012/9/21 Angel Java Lopez <[email protected]> Hola gente! Hmmm... que es "el segmento de Node.js" Y por que se necesita continuations? Supongo que "generar un ST" es "generar un Smalltalk". Yo tengo una pieza de Smalltalk ejecutando en Node.js https://github.com/ajlopez/AjTalkJs/tree/master/examples/server Otro "approach" https://github.com/ajlopez/AjTalk/tree/master/Node 2012/9/21 Diogenes Moreira <[email protected]> Seaside sobre S8.. para generar un ST en el segmento de Node.js.. Sería una bonita killer applicacion. Se que alcance de U8 es otro en este momento, peeerro quien dice. Saludos http://about.me/diogenes.moreira El 21 de septiembre de 2012 19:20, Guillermo Schwarz <[email protected]> escribió: Hola Diógenes, ¿Para qué necesitas continuations? Saludos, Guillermo. 2012/9/21 Diogenes Moreira <[email protected]> Hola.. Che en S8 hay forma de implementar continuations.. la verdad que solo conozco de S8 lo que vengo chusmeando en esta lista.. por eso puede ser que esta pregunta sea pava.. Saludos y Muchas gracias. http://about.me/diogenes.moreira -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- Saludos cordiales, Guillermo Schwarz Sun Certified Enterprise Architect -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- Saludos cordiales, Guillermo Schwarz Sun Certified Enterprise Architect -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] <mailto:clubsmalltalk%[email protected]> http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] http://www.clubSmalltalk.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] http://www.clubSmalltalk.org
