Seaside: Your Next Web Application Framework

Seriously? A Smalltalk web framework? While you might be skeptical at first, this just might be the the ultimate developer tinkertoy.

A Web application framework provides classes, tools, and techniques to rapidly build dynamic websites and Web services using modern programming techniques. A framework typically abstracts away common, Web-related operations, like interpreting data sent from a form, generating HTML, and persisting data, so you can focus on the features specific to your application.

Seaside is a Web application framework gaining popularity among developers. Seaside is similar to other frameworks, such as Catalyst (Perl), Rails (Ruby), and Cocoon (Java), but distinguishes itself by being written in Smalltalk, as a continuation-based framework.

Why Smalltalk?

Smalltalk is simple to learn, especially if you already have experience with object-oriented programming. The entire syntax can be learned in about a half hour, and consists (mostly) of unary messages, binary messages, keyword messages, blocks, and assignments. Code is organized into methods, which belong to a class, and everything in Smalltalk is an instance of a class. Nearly every class has visible source code, and you can override, extend, or (in extreme cases) monkeypatch the code to yield a new behavior. And because Smalltalk has been around for nearly three decades, there’s plenty of documentation, tutorials, and examples to study. It’s the ultimate tinkertoy.

Even better, the core code serves as examples for your own code, and the Smalltalk integrated development environment (IDE) provides features that even the most advanced commercial IDEs haven’t quite caught up with yet.

And best of all, when things blow up, the IDE shows a nice debugger stack trace, with the executing line of code highlighted. But the stack isn’t an autopsy—your code is still alive and well. You can poke and prod, add new code directly in the debugger, and even resume execution right from the point your application failed.

The debugger even works from the web in Seaside. If something blows up while you’re poking around your Web application, up comes the same debugger found in the IDE (or a Web-based one if you prefer) to reveal the live server state. You can poke at the stack, fix broken methods, and then resume, which refreshes your browser and reveals the corrected output, just as if you had coded it right the first time. This is called intra-hit debugging, and once you try it, you won’t be able to use anything else without regret ever again.

The Smalltalk community practically invented the notions of “Extreme Programming” and “Test-Driven Development”, and this applies in Seaside as well. You can write your unit tests to drive the web components to get pass/fail indicators, even testing all the way down to the generated HTML by using a simulated browser to poke at forms and follow links.

Seaside HTML templating is also done with Smalltalk. For example, to get…

<h3>hello</h3>

… in Seaside you write:

html heading level: 3; with: 'hello'.

This reads as, “Ask the html canvas for a heading brush, then configure it to be a third level heading, and include ‘hello’ as the content.) Although this looks a bit wordy at first, it becomes quite natural after a bit.

Additionally, the HTML brushes have some smarts to understand common page flow. For example, the code…

html image url: '/images/foo.jpg'.

… generates a classic img element. But you can also take a Smalltalk dynamically generated bitmap (called a form in Smalltalk, somewhat confusingly) and point the img element at that:

 html image form: aForm.

Seaside arranges for the Smalltalk form to be converted into a PNG graphic automatically, and generates a dynamic URL to point to that image, even cleaning up after a few minutes when the image has already been requested and cached. Now that’s service.

Smalltalk also offers multiple implementations for vendor and license choices. Two open source versions of Smalltalk, Squeak and GNU Smalltalk, already work with Seaside; three commercial vendors (Cincom VisualWorks, GemStone/S, and Instantiations) are Seaside-compatible, and you can even buy support if you get stuck.

Squeak Smalltalk and Cincom VisualWorks both provide distributed development tools similar to got or mercurial, so your Web application can be built by a team. Of course, these tools are Smalltalk-aware, so a renamed class or updated instance variable doesn’t cause a lot of spurious merge conflicts. (GNU Smalltalk works with traditional files, so you’ll be using your favorite text editors and version control systems there.)

Comments on "Seaside: Your Next Web Application Framework"

jmandala

Do you mean \”git or mercurial\” and not \”got or mercurial\”?

Reply
ddadm09

I went through many sites of the Smalltalk and agree with all the supporters of Smalltalk. Though Smalltalk is not that popular these days, there is a new renaissance in Smalltalk development, thanks to Squeak. The more I learn about Smalltalk and Squeak the more I’m impressed. If you are programming savvy it is worth a look. In the process of my learning I have collected some good sites (more than 200) related to Smalltalk and Squeak (lessons, tutorials and programming). If you are interested take a look at the below link.
http://markthispage.blogspot.com/2009/06/more-than-200-sites-to-study-smalltalk.html

Reply

This could sound random, but I am wondering
if you have a tracking application and system to know how
many people go to this article every week? Wondering how many people
are into this matter also.

my homepage – ontario asbestos removal

Reply

Hi there! This is kind of off topic but I
need some advice from an established blog. Is it very difficult to set
up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about
creating my own but I’m not sure where to start. Do you have any tips or suggestions? Cheers

Reply

Definitely would love to start a website like yours. Wish I had the time. My site is so amateurish compared to yours, feel free to check it out: http://tinyurl.com/o55af8p Alex :)

Reply

Seaside: Your Next Web Application Framework | Linux Magazine
kzcepepjzw http://www.g4e00xi4mlcu543hj0a51t271xs531cxs.org/
[url=http://www.g4e00xi4mlcu543hj0a51t271xs531cxs.org/]ukzcepepjzw[/url]
akzcepepjzw

Reply

Fast shipping – thanks!!!

Reply

dyspneic upon effort as well as had been accepted being an crisis. Your woman experienced absolutely no upper body discomfort, haemoptysis, weight reduction or even evening sweats as well as
furla handbags

Reply

A person’s piece of writing is remarkably composed, obvious opinion, containing more material, That i we appreciate you assertive desire to be somebody

Reply

Its such as you read my mind! You seem to know so much approximately this, such as you wrote the book in it or something. I think that you simply could do with a few percent to drive the message home a bit, however instead of that, this is excellent blog. A fantastic read. I will certainly be back.

Reply

Seaside: Your Next Web Application Framework | Linux Magazine

Reply

Your write-up is effectively crafted, very clear view, with good articles and other content, My spouse and i i appreciate you for assertive try to be someone

Reply

Hello there, just became alert to your weblog via Google, and located that it is really informative. I’m going to be careful for brussels. I’ll appreciate if you happen to proceed this in future. Lots of other people might be benefited out of your writing. Cheers!|

Reply

I need to to thank you for this fantastic read!! I absolutely loved every bit of it. I have got you saved as a favorite to look at new stuff you post…|

Reply

An intriguing discussion is worth comment. I feel that you simply must write much more on this topic, it may well not be a taboo topic but normally consumers are not enough to speak on such topics. To the next. Cheers
jordan shoes

Reply

An intriguing discussion is worth comment. I think that you will need to write even more on this subject, it may possibly not be a taboo subject but generally persons are not enough to speak on such topics. To the next. Cheers
air jordans

Reply

??????????????????????????????????????????????????????

Reply

Finest plan for the men which you may discover right away.

Reply

Your own short article was initially actually developed, clear viewpoint, containing more article content, My partner and i appreciation for powerful strive to be a friend

Reply

Advanced men E-book Reveals The Simplest Way To Rule The men Arena

Reply

Blog looks nice. I’m still trying to make a blog but it won’t be as professional as yours /: Keep on blogging :) pirater un compte facebook

Reply

Wherefore bribe sweeping Jordan River* horseshoes of United States government? cheapjordanssale.com, furnished nearly antithetical elans from bum and forge Hashemite Kingdom of Jordan* intersections usable during these internet site. Any you determine to leverage during our locate, you’re for certain to come up an manner and Mary Leontyne Price chain that bursts your personality dead.bribe chintzy Hashemite Kingdom of Jordan* merchandises and chinchy Hashemite Kingdom of Jordan* by Taiwanese middlemen forthwith.

Reply

Some people Previously used to Laugh at the japan – Nowadays I laugh at all of them

Reply

Don’t offer all of your tips, still. Your multi level marketing components need to attract Christian Louboutin Outlet your reader into wanting to find out more and consuming the next step to seek out of the details you present on the web-site. They’re showing they have the drive to actually be a part of your business if someone takes the time to visit your site.

Reply

I really wanted to compose a remark to be able to express gratitude to you for all of the splendid items you are showing on this site. My time-consuming internet research has finally been paid with brilliant details to exchange with my friends. I would state that that we readers are unequivocally fortunate to be in a superb community with so many outstanding individuals with helpful opinions. I feel rather happy to have used your entire weblog and look forward to tons of more excellent minutes reading here. Thanks once again for all the details.
Cheap oakley army boots

Reply

I was recommended this web site by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble. You’re incredible! Thanks!
Cheap ebay Louis Vuitton

Reply

Thank you a bunch for sharing this with all of us you really recognise what you’re talking about! Bookmarked. Please additionally consult with my website =). We may have a link trade contract among us!
Cheap womens oakley

Reply

Wow! This can be one particular of the most beneficial blogs We’ve ever arrive across on this subject. Actually Great. I am also a specialist in this topic so I can understand your effort.
Cheap oakley belt buckle

Reply

You made some good points there. I did a search on the subject matter and found most individuals will go along with with your blog.
Cheap oakley m frame replacement lenses

Reply

Thanks a lot for sharing this with all folks you really realize what you are speaking about! Bookmarked. Kindly also visit my site =). We may have a link change contract between us!
Cheap annie oakley wiki

Reply

I am just commenting to make you be aware of of the fantastic experience my friend’s princess experienced visiting yuor web blog. She mastered many things, not to mention what it’s like to possess an awesome giving nature to get many others completely comprehend certain impossible matters. You actually exceeded her expected results. Many thanks for coming up with such effective, healthy, explanatory and fun thoughts on your topic to Mary.
Cheap Louis Vuitton tee shirts

Reply

My brother suggested I might like this web site. He was totally right. This post truly made my day. You can not imagine simply how much time I had spent for this information! Thanks!
Cheap Louis Vuitton sunglasses

Reply

naturally like your website but you need to test the spelling on several of your posts. Many of them are rife with spelling problems and I find it very bothersome to tell the truth then again I will definitely come back again.
Discount Michael Kors handbags

Reply

you are in point of fact a excellent webmaster. The site loading speed is amazing. It seems that you’re doing any distinctive trick. Furthermore, The contents are masterwork. you’ve done a great activity in this matter!
Cheap Louis Vuitton wallet mens

Reply

jCtlqVeK
jCtlqVeK http://www.60Fkhl5ZG2w08q9M6j9goH.com/
[url=http://www.60Fkhl5ZG2w08q9M6j9goH.com/]jCtlqVeK[/url]

Reply

Good way of telling, and pleasant post to take facts about my presentation topic, which i am going to convey in institution of higher education.
mulberry london

Reply

Whats Going down i’m new to this, I stumbled upon this I have discovered It positively helpful and it has helped me out loads. I’m hoping to contribute & aid other users like its aided me. Great job.
cheap mulberry bags

Reply

Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but instead of that, this is magnificent blog. An excellent read. I will certainly be back.
Cheap Louis Vuitton evidence sunglasses for sale

Reply

Hello, I log on to your blogs regularly. Your writing style is awesome, keep it up!
Mulberry Outlet UK Sale

Reply

I am in fact pleased to glance at this website posts which carries plenty of valuable information, thanks for providing such information.
Mulberry Handbags Sale

Reply

The thing that Each person Need To Know With Regards To bag Internet business

Reply

I simply had to thank you so much again. I’m not certain the things that I would have tried without the type of ideas shown by you over such topic. Entirely was a daunting condition for me personally, but understanding this skilled technique you resolved the issue made me to weep for fulfillment. I am thankful for the work and believe you are aware of an amazing job you are always providing instructing the others using your blog post. I am sure you have never got to know all of us.
Cheap is Louis Vuitton outlet authentic

Reply

Thank you for the good writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how could we communicate?
Cheap wholesale oakleys

Reply

I for all time emailed this website post page to all my associates, because if like to read it after that my contacts will too.
Cheap Louis Vuitton hawaii

Reply

It?s really a cool and helpful piece of info. I?m satisfied that you shared this useful information with us. Please stay us up to date like this. Thank you for sharing.
Mulberry Messenger bag

Reply

It is in reality a nice and helpful piece of info. I am glad that you just shared this helpful information with us. Please stay us informed like this. Thank you for sharing.

Reply

I think this is one of the most significant info for me. And i’m glad reading your article. But should remark on some general things, The web site style is great, the articles is really excellent : D. Good job, cheers
Cheap Louis Vuitton official site

Reply

Great awesome things here. I?m very glad to peer your article. Thanks a lot and i’m taking a look forward to touch you. Will you please drop me a mail?
Discount Michael Kors handbags

Reply

Your means of telling all in this article is really pleasant, every one be capable of effortlessly be aware of it, Thanks a lot.
Mulberry Outlet UK Sale

Reply

Thank you for some other wonderful post. The place else could anybody get that kind of info in such a perfect way of writing? I’ve a presentation subsequent week, and I’m at the look for such information.
Fake Ray Bans

Reply

I always emailed this website post page to all my contacts, because if like to read it after that my contacts will too.
borse louis vuitton

Reply

Good write-up, I am regular visitor of one?s site, maintain up the nice operate, and It is going to be a regular visitor for a lengthy time.
Discount Oakley Sunglasses

Reply

Excellent goods from you, man. I’ve understand your stuff previous to and you are just too wonderful. I really like what you’ve acquired here, certainly like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I can’t wait to read much more from you. This is really a great site.
louis vuitton sito ufficiale

Reply

Fed up with the numerous men news flashes? I’m at this website on your behalf!!

Reply

Dig up who is speaking of bag and also exactly why you should be afraid.

Reply

Great awesome issues here. I?m very happy to see your post. Thanks so much and i’m looking ahead to contact you. Will you kindly drop me a e-mail?
Mulberry Outlet UK Sale

Reply

Great work! This is the kind of info that are supposed to be shared around the web. Disgrace on the search engines for no longer positioning this post upper! Come on over and consult with my site . Thank you =)
Fake Mulberry Bags

Reply

Hago lotes, y hace que para comidas rápidas y fáciles, sumado a la albahaca, el ajo, el chile, el vino tinto, a veces incluso un toque de mostaza de Dijon (shock)

Reply

Hi there to every one, since I am truly keen of reading this website? post to be updated on a regular basis. It contains fastidious information.
Mulberry messenger Bag

Reply

fantastic put up, very informative. I wonder why the other specialists of this sector do not notice this. You should continue your writing. I’m confident, you’ve a great readers’ base already!
Mulberry Purses&wallet

Reply

Seaside: Your Next Web Application Framework | Linux Magazine
http://www.hecht.org/christian-louboutin-sale.html

Reply

Thank you for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more clear from this post. I’m very glad to see such magnificent info being shared freely out there.
cheap Mulberry Bags

Reply

What’s up, I want to subscribe for this blog to obtain latest updates, therefore where can i do it please help.
Discount Michael Kors outlet

Reply

Very descriptive blog, I enjoyed that bit. Will there be a part 2?
Ray Ban Clubmaster

Reply

This video post is in fact fantastic, the noise feature and the picture quality of this film post is genuinely amazing.
Mulberry messenger Bag

Reply

I ordered a 86022.pink2.net. I couldn’t wait until they arrived. Once they obtained to my house I opened them right away. I attempted them on and they had been perfect. It absolutely was like adore at initial sight. \Also I acquired quite a few compliments from quite a few distinctive folks that have been out that day. My s86022.pink2.netestion to you is to go ahead a obtain a 86022.pink2.net. I am warning you that you’re going to drop in appreciate.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>