seaside

How can I add cookies to Seaside responses without redirecting?

I'm making a small web application in Seaside. I have a login component, and after the user logs in I want to send along a cookie when the next component renders itself. Is there a way to get at the object handling the response so I can add something to the headers it will output? I'm trying to avoid using WASession>>redirectWithCookies...

Would you start learning Smalltalk?

My questions is simple! Would you start learning Smalltalk if you had the time? Why? Why not? Do you already know Smalltalk? Why would you recommend Smalltalk? Why not? Personally I'm a Ruby on Rails programmer and I really like it. However, I'm thinking about Smalltalk because I read various blogs and some people are calling Ruby so...

What scares you the most about the integrated IDE of most modern Smalltalks?

As I'm riding the wave of resurgence of Smalltalk (especially because many Ruby-on-Rails people are rediscovering Smalltalk and seeing Seaside as their next upgraded web framework), I get questions like "yeah, but how do I use my favorite editor to edit Smalltalk code?" or "Does Smalltalk still insist on living in a world of its own?". ...

Why use Ruby instead of Smalltalk?

Ruby is becoming popular, largely from the influence Ruby on Rails, but it feels like it is currently struggling through its adolescence. There are a lot of similarities between Ruby and Smalltalk -- maglev is a testament to that. Despite having a more unusual syntax, Smalltalk has all (if not more) of the object-oriented beauty of Ruby....

Working with Seaside continuations

How do I get a BlockClosure in Squeak (I want to use BlockClosure>>callCC)? When I write [#foo] that is a BlockContext, what's the deal? Update: I have worked out that BlockClosure is a thing mainly of new compiler. Instead how do I work with seaside Continuations? I'm having problems, and any examples would be appreciated. Further u...

How much do you know Smalltalk?

Now when the Gartner analyst said Smalltalk is cool again and it is used more and more for the web applications with frameworks like in Seaside and Aida/Web, me as a Smalltalker I'm wondering how much my language is known among broader programmer community. ...

How do you clean the Seaside URLs?

So, if you download a fresh Seaside image and run WAKom startOn: 80, then your fresh seaside respons on localhost/seaside/ This /seaside-folder annoys me, as I want to publish on seasidehosting. So! How do I remove this part of the URL? I want my app to be reachable under myapp.seasidehosting.st Without any path in the name of the UR...

Can I host a SandstoneDB app on www.Seasidehosting.st?

Hello! Did someone ever manage to make a seasidehosting-hosted web application cooperate with SandstoneDb? It seems that they disallow creating of subdirectories, which is important for SandstoneDb. Am I wrong? ...

What is the difference between Seaside programmming and other web programming

To me it seems the main point of Seaside is that it is more like normal "desktop" programming. The control flow looks much more like "traditional" programming instead of "web" programming. Is that a correct impression? I know it's about Web programming but it's does not looks like it from the programmers side. It looks much more than...

Why isn't my serverside callback occuring when I use 'jQuery ajax' in seaside 2.9?

I'm trying to do something like this in seaside 2.9 html button onClick: (html jQuery ajax serialize: (html jQuery this); script: [:s | s << (s jQuery id: stratId) append: [html text: 'bing'. html break]]); callback: [2 inspect]; with: 'add option'. and as I expect my div with stratId is getting appended but I'm not getting an ...

Dilemma: Should I learn Seaside or a Python framework?

I know it's kinda subjective but, if you were to put yourself in my shoes which would you invest the time in learning? I want to write a web app which deals securely with relatively modest amounts of peoples private data, a few thousand records of a few Kb each but stuff that needs to be kept safe, addresses, phone numbers etc. I've don...

What's the difference between a Continuation (as in Smalltalk) and an interrupt (as in an Assembler)?

I'm struggling to understand the concept of Continuations (as used in Seaside with Smalltalk). A snippet from Wikipedia says: "... refer to first-class continuations, which are constructs that give a programming language the ability to save the execution state at any point and return to that point at a later point in the program..."...

When to use Seaside components, and when to use simple render objects?

I have been developing a web application in Seaside+Squeak recently, and have found it to be a wonderful experience. Seaside really is head and shoulders above every other framework out there, and I feel as though I am working at a higher level of abstraction (above the HTTP request/response cycle and HTML templating that other framework...

HTML generator for .NET?

Having used Seaside the past few years I've found template systems to be a bad code smell. Is there a framework for .net using something similar to the Seaside canvas system for generating html, css and javascript? Or else a way to avoid the duplication I tend to find in templates. [Edit] NHaml does not come close to what I'm looking f...

Magma, GOODS, GLORP, or something else?

So I've been using Smalltalk for about 6 months now (Squeak and Pharo), mostly doing data analytics, and I'm about to start my first Seaside app. So my question to all you Smalltalkers out there is, what is your favorite persistence solution? I've been looking at Magma, GOODS, and GLORP. I'm a long-time python hacker, so I get ORM, but i...

Navision - Pass record field name dyanmically to function

I don't know whether any out there uses Navision?! but we've recently been lumbered with it and I'm trying to pass a field name dynamically to a function. Instead of ModelRec.SETCURRENTKEY(ModelRec.Transmission); I want to do something like ... ModelRec.SETCURRENTKEY(ModelRec("FieldName")); where the string FieldName = "Transmiss...

Does Seaside scale?

Seaside is known as "the heretical web framework". One of the points that make it heretical is that it has much shared state. That however is something which, in my current understanding, hinders easy scaling. Ruby on rails on the other hand shares as less state as possible. It has been known to scale pretty well, even if it is dog slo...

Performance differences between Swazoo and Komanche?

Hello, I'd like to know what the performance differences between Swazoo and Komanche in general and for Seaside are. Especially why and in what situations I should prefer the one over the other? ...

GemStone-Linux-Apache-Seaside-Smalltalk.. how practical is 4GB?

I am really interested in GLASS. The 4GB limit for the free version has me concerned. Especially when I consider the price for the next level ($7000 year). I know this can be subjective and variable, but can someone describe for me in everyday terms what 4 GB of GLASS will get you? Maybe a business example. 4 GB may get me more sto...

JQuery UI + Seaside set-up

Which package(s) do I need to load for jQuery UI in Seaside? Currently I have these installed/loaded: Pharo Seaside One-Click Image Added the jQuery repository to the Monticello Browser (Squeaksource - jQuery) Loaded jQuery-EL.10.mcz However when I run this example I get the error "MessageNotUnderstood: WARenderCanvas>>jQuery" ...