Hello list! this is my first post, sorry if it's something obvious
I've been reading a lot about the platform and I'm missing one thing When I develop a new app on Seaside and I want to start, let's say with GOODS and Postgres and two images under Squeak, but then my site gets bigger and I want to port everything to GemStone, how could I do that? because I read that GemStone is the only vendor that supports this kind of migration among SmallTalk VMs multiple forks And other (simple) thing, could I start an image on my server through the command-line? there's no GUI! Thanx in advance! marze _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Marze,
I'm not familiar with GOODS or with Postgres, so I'm not sure how you would create an application that uses those tools. The general approach recommended for GemStone/S is to use class (instance) variables to keep objects persistent. Start your Seaside application in Squeak and just use the image for persistence. When you are ready to deploy, just export your application using Monticello and import it into GemStone/S using Monticello. Why would you wait till your site gets bigger to port everything to GemStone? Why not start with GemStone? Then you wouldn't have to do any object-relational mapping in the first place. GemStone/S is started by using the command line and you get to a Smalltalk interpreter using a command-line tool named Topaz. By the way, 'Smalltalk' has only one capital letter. James On Jun 22, 2008, at 3:32 PM, Marcelino Llano wrote: > Hello list! this is my first post, sorry if it's something obvious > > I've been reading a lot about the platform and I'm missing one thing > > When I develop a new app on Seaside and I want to start, let's say > with GOODS and Postgres and two images under Squeak, but > then my site gets bigger and I want to port everything to GemStone, > how could I do that? because I read that GemStone is > the only vendor that supports this kind of migration among SmallTalk > VMs multiple forks > > And other (simple) thing, could I start an image on my server > through the command-line? there's no GUI! > > Thanx in advance! > marze > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi!
Is there any "seaside for dummies" guide explaining how to install it on a Debian server and start shared development, versioning, etc? That would imply Gemstone, if I understand your msg. One of the things that make a tool widespread is really those "all in one page" guides that abound for many tools. My opinion is that such things, if published on the Seaside site, would make a lot of difference. Bèrto 2008/6/23 James Foster <[hidden email]>: Hi Marze, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Berto,
The nearest thing what you are asking for can be found at http://onsmalltalk.com/programming/smalltalk/scaling-seaside-redux-enter-the-penguin/ and also at http://open-sourcerer.blogspot.com/ It is for Seaside in general. HTH, Rajeev On Mon, Jun 23, 2008 at 8:10 AM, Bèrto ëd Sèra <[hidden email]> wrote: Hi! _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks :) It was much needed :)
Bèrto 2008/6/23 Rajeev Lochan <[hidden email]>: Hi Berto, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by jgfoster
Thank you! and yes my bad, Smalltalk is not camelcased..
the platform sounds great! El 23/06/2008, a las 2:58, James Foster escribió: > Hi Marze, > > I'm not familiar with GOODS or with Postgres, so I'm not sure how > you would create an application that uses those tools. The general > approach recommended for GemStone/S is to use class (instance) > variables to keep objects persistent. Start your Seaside application > in Squeak and just use the image for persistence. When you are ready > to deploy, just export your application using Monticello and import > it into GemStone/S using Monticello. > > Why would you wait till your site gets bigger to port everything to > GemStone? Why not start with GemStone? Then you wouldn't have to do > any object-relational mapping in the first place. > > GemStone/S is started by using the command line and you get to a > Smalltalk interpreter using a command-line tool named Topaz. > > By the way, 'Smalltalk' has only one capital letter. > > James > > On Jun 22, 2008, at 3:32 PM, Marcelino Llano wrote: > >> Hello list! this is my first post, sorry if it's something obvious >> >> I've been reading a lot about the platform and I'm missing one thing >> >> When I develop a new app on Seaside and I want to start, let's say >> with GOODS and Postgres and two images under Squeak, but >> then my site gets bigger and I want to port everything to GemStone, >> how could I do that? because I read that GemStone is >> the only vendor that supports this kind of migration among >> SmallTalk VMs multiple forks >> >> And other (simple) thing, could I start an image on my server >> through the command-line? there's no GUI! >> >> Thanx in advance! >> marze >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks for the links,
I am running a Seaside server without Apache. How do I take an application from the 'Examples' directory and get it run at my base-url for final deployment? -Deech
On Mon, Jun 23, 2008 at 2:00 AM, Marcelino Llano <[hidden email]> wrote: Thank you! and yes my bad, Smalltalk is not camelcased.. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
squeak squeak.image --headless i think runs it without gui :)
On Mon, Jun 23, 2008 at 12:01 PM, aditya siram <[hidden email]> wrote: Thanks for the links, -- David Zmick /dz0004455\ http://dz0004455.googlepages.com http://dz0004455.blogspot.com _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by marze
Problem: the HAProxy seems to require a now unexisting address:
=============== Install the cert for HAProxy site wget http://ftp.sysif.net/debian/apt_key.asc=============== Anyway, you don't seem to need any reference to ftp.sysif.net at the time being. You keep receiving notices about sysif being unreacheable, but HAProxy gets installed anyway from the other debian sid repositories. Bèrto
2008/6/23 Marcelino Llano <[hidden email]>: Thank you! and yes my bad, Smalltalk is not camelcased.. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Berto,
At the time Ramon blogged about Seaside Deployment, he had used Apache 2 and probably it didnt have out of the box Load Balancing. That was the exact reason why he had used HAProxy. Nowadays, the link to HAProxy seems to be dead. Ramon himself in one of the mails had written that he no more uses HAProxy as the Apache 2.2 and above have Out of the Box Load Balancer. You may get more info at http://lists.squeakfoundation.org/pipermail/seaside/2007-November/015071.html Sorry for the state of Seaside that we dont have a single place where you can find everything about Deployement(correct me if I am wrong), you may search Seaside Mailing List at Nabble http://www.nabble.com/Squeak---Seaside-f14153.html HTH, Rajeev http://www.smallguru.com On Wed, Jun 25, 2008 at 9:03 AM, Bèrto ëd Sèra <[hidden email]> wrote: Problem: the HAProxy seems to require a now unexisting address: _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> At the time Ramon blogged about Seaside Deployment, he had
> used Apache 2 and probably it didn't have out of the box Load > Balancing. That was the exact reason why he had used HAProxy. Correct, I wrote that before mod_proxy_balancer existed, I really need to update the article or write another one. These days I use mod_proxy_balancer to do the load balancing with something like this config... <VirtualHost *:80> ServerName www.yoursite.com DocumentRoot /var/www/www.yoursite.com RewriteEngine On ProxyRequests Off ProxyPreserveHost On UseCanonicalName Off ExpiresActive on ExpiresByType text/css A864000 ExpiresByType text/javascript A864000 ExpiresByType application/x-javascript A864000 ExpiresByType image/gif A864000 FileETag none # http compression DeflateCompressionLevel 9 SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Let apache serve static files NOW RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} -f RewriteRule (.*) $1 [L] #proxy remaining requests to a seaside cluster ProxyPass /yourApp balancer://seaside_cluster/seaside/yourApp lbmethod=byrequests stickysession=server ProxyPass / balancer://seaside_cluster/ lbmethod=byrequests stickysession=server ProxyPassReverse / balancer://seaside_cluster/ <Proxy balancer://seaside_cluster> BalancerMember http://localhost:3001 route=yourApp3001 BalancerMember http://localhost:3002 route=yourApp3002 BalancerMember http://localhost:3003 route=yourApp3003 BalancerMember http://localhost:3004 route=yourApp3004 BalancerMember http://localhost:3005 route=yourApp3005 BalancerMember http://localhost:3006 route=yourApp3006 BalancerMember http://localhost:3007 route=yourApp3007 BalancerMember http://localhost:3008 route=yourApp3008 BalancerMember http://localhost:3009 route=yourApp3009 BalancerMember http://localhost:3010 route=yourApp3010 </Proxy> </VirtualHost> And then in my seaside app on the #initialRequest: I set the load balance cookie using the following... setServerCookie | port | self session currentRequest cookies at: #server ifAbsent: [ port := (HttpService allInstances select: [ :each | each isRunning ]) first portNumber. self session redirectWithCookie: (WACookie key: #server value: 'seaside.yourApp' , port asString) ] I'm very happy with this setup and happily ditched HAProxy a while back. Ramon Leon http://onsmalltalk.com _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |