seaside

“:=” and binary message precedence in Smalltalk

社会主义新天地 提交于 2019-12-07 09:34:05
问题 I am attempting to learn Smalltalk through the tutorials included with Dolphin Smalltalk X6. My question deals with the evaluation of expressions with multiple messages. My understanding is that simple messages are evaluated first, then binary messages, and finally keyword messages (with the exception of code in parenthesis). However, I am having trouble applying this understanding to the second line in the following example (found in the Dolphin Smalltalk tutorial). playground := Playground

FileDirectory and ReferenceStream Class equivalents in Pharo?

六眼飞鱼酱① 提交于 2019-12-06 11:54:06
I'm doing the persistance example at: http://book.seaside.st/book/advanced/persistency/image-based-persistency It involves creating a method that uses the FileDirectory class like this: SMFileDatabase class>>backupDirectory ^ (FileDirectory default directoryNamed: self name) assureExistence. Pharo seems to be unable to find the Class and the closest that comes out in search is FileDirectoryWrapper. Will this do? NB. I can't figure this out myself since I've never used FileDirectory or FileDirectoryWrapper before so I'm in the dark. Later edit: Found another one ReferenceStream. They both seem

What is the difference between Seaside programmming and other web programming

亡梦爱人 提交于 2019-12-05 01:28:21
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 driving "desktop" applications. Does this clarify the question a bit? Your impression is correct. Seaside is designed for what I call a tree-like control flow, as desktop GUI apps have. Comparing to the Aida/Web , another Smalltalk web framework, which is meant

seaside : 2 events on html anchor

允我心安 提交于 2019-12-04 04:11:30
问题 In seaside I need to do two events - callback and go to the other url (google.com) on clicking a link but I am not able to do both of them. What could be possibly wrong here? Is there any way I can do both the events? html anchor newTarget url: 'www.google.com'; callback: [Transcript show: 'clicked on google.com']; with: ('www.google.com') . 回答1: Because >>callback: and >>url: both update the href attribute on an Anchor tag, you can't use both on the same anchor. You will have to solve this

Does Seaside scale?

烈酒焚心 提交于 2019-12-03 05:45:53
问题 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 slow compared to modern smalltalk vms. flickr uses php and has scaled to an extremly big infrastructure... So has anybody some experience in the scaling of Seaside

HTML generator for .NET?

╄→гoц情女王★ 提交于 2019-12-01 16:56:40
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 for. The point is not having a shorthand for (X)HTML, but having a programming language in which I can refactor and reuse the code. In Seaside, it might look like this: (the canvas is the builder of html [and javascript]) renderContentOn: canvas canvas form class:

HTML generator for .NET?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 15:52:41
问题 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 for. The point is not having a shorthand for (X)HTML, but having a programming language in which I can refactor and reuse the code. In Seaside, it might look

Is Seaside still a valid option?

≯℡__Kan透↙ 提交于 2019-11-30 12:04:31
问题 Seaside just released a release candidate for the upcoming 3.0 version, so it appeared on my radar again. As I'm currently pondering what web framework to use for a future project, I wonder whether it's something to consider. Alas, most of the publicity for Seaside is from '07, which is probably one or two generations for the web. So I'm hoping that the community here can answer some questions Continuation-based frameworks were pretty great when most of your workflow was mostly in HTML, e.g.

Is Seaside still a valid option?

筅森魡賤 提交于 2019-11-30 01:22:23
Seaside just released a release candidate for the upcoming 3.0 version, so it appeared on my radar again. As I'm currently pondering what web framework to use for a future project, I wonder whether it's something to consider. Alas, most of the publicity for Seaside is from '07, which is probably one or two generations for the web. So I'm hoping that the community here can answer some questions Continuation-based frameworks were pretty great when most of your workflow was mostly in HTML, e.g. form submits. For today's JavaScript-heavy environments, that hardly seems worthwhile anymore. Is