Scriptaculous vs jQuery

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
68 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 4:13 PM, Dale Henrichs wrote:

> Lawrence,
>
> Ah it's great to see old-time GemStoners coming back to the platform. The free license is very nice:)
>

  Yes, the free license is definitely an incentive to experiment with Seaside and GLASS. I am feeling old. ;)

> I'm not a web guy, but I think it should be valid to go ahead and listen on port 80 with swazoo....There's a use case where you might want your primary web traffic to go through port 80 (say using fastcgi) and then for your development interface ... hitting the objectLog and eventually tODE via a separate swazoo gem listening on port 8080 ... I imagine that it would be possible to restrict that access of port 8080 to your own machines and arrange for only the production urls to be passed along through port 80) ... I do a variant of this for ss3: 5 fastcgi gems restricted to just the ss3 urls and a swazoo gem listening on port 8383 sitting behind the firewall and only accessible from within the vmware corporate network that I use for tODE ...
>

  Thanks for these tips! Here is a little discussion on why some people think it is bad form to run Swazoo on port 80.

http://forum.world.st/Swazoo-on-port-80-td3428445.html

I haven't decided how it is all going to fit together yet.

Larry


> Dale
>
> ----- Original Message -----
> | From: "Lawrence Kellogg" <[hidden email]>
> | To: "Seaside - general discussion" <[hidden email]>
> | Sent: Tuesday, October 18, 2011 11:58:41 AM
> | Subject: Re: [Seaside] Seaside on EC2 Amazon Service
> |
> | Thanks , Dale! I programmed in GemSone a few years ago and I'm
> | currently working to reclaim my knowledge.
> | I will definitely use Topaz in the future.
> |
> | I got access to SeaSide on my Amazon EC2 instance by opening port
> | 8080 and
> | hitting Swazoo
> |
> | WAGemStoneRunSeasideGems default
> | name: 'Swazoo';
> | adaptorClass: WAGsSwazooAdaptor;
> | ports: #(8080).
> | WAGemStoneRunSeasideGems restartGems.
> |
> | I'm sure I'm all wrong, somehow, with doing this, but it was nice to
> | see that I actually do have end to end connectivity to my Seaside
> | code
> | running on EC2. What if I just ran Swazoo on port 80? Would that be
> | bad?
> |
> |   I have a lot more thinking to do about the hosting side of the
> |   equation...
> |
> |   Regards,
> |
> |   Larry
> |
> |
> | On Oct 18, 2011, at 2:49 PM, Dale Henrichs wrote:
> |
> | > Lawrence,
> | >
> | > If you are working with a remote instance of GLASS, you should
> | > probably spend a little time to learn topaz. topaz is the command
> | > line interface for GemStone ... you can execute smalltalk code and
> | > run the debugger all from the unix command line.
> | >
> | > GemTools is very chatty and over a WAN that can be pretty slow ...
> | > the loads tend to dump information to the Transcript and each
> | > transcript line goes over the wan ... even slower ... I'm working
> | > on tODE as a replacement for GemTools ...
> | >
> | > Most of the workspace doits that you run in GemTools can be done
> | > from topaz. The one thing that you probably need to do when you
> | > use topaz is to set autoMigrate. autoMigrate is enabled by default
> | > in GemTools, but is not enabled by default in topaz. Execute the
> | > following after login and you should be good to go:
> | >
> | >  MCPlatformSupport autoMigrate: true.
> | >
> | > Dale
> | >
> | > ----- Original Message -----
> | > | From: "Lawrence Kellogg" <[hidden email]>
> | > | To: "Seaside - general discussion"
> | > | <[hidden email]>
> | > | Sent: Tuesday, October 18, 2011 11:32:04 AM
> | > | Subject: Re: [Seaside] Seaside on EC2 Amazon Service
> | > |
> | > |
> | > |
> | > |
> | > |
> | > | On Oct 18, 2011, at 12:09 PM, Nick Ager wrote:
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > | After doing this:
> | > |
> | > |
> | > |
> | > | Gofer project load: 'Seaside30' group: 'ALL'.
> | > | Gofer project load: 'Pier2'.
> | > | Gofer project load: 'PierAddOns2' group: 'ALL'.
> | > |
> | > |
> | > | WAGemStoneRunSeasideGems default
> | > | name: 'FastCGI';
> | > | adaptorClass: WAFastCGIAdaptor;
> | > | ports: #(9001 9002 9003).
> | > | WAGemStoneRunSeasideGems restartGems.
> | > |
> | > |
> | > |
> | > |
> | > | I hit the web server and get the 50x error file I had created.
> | > |
> | > |
> | > | I just noticed that the Seaside classes are not loaded even
> | > | though it
> | > | takes forever to
> | > | come back from the Gofer command, so I am puzzled about what I am
> | > | doing wrong....
> | > |
> | > |
> | > |
> | > |
> | > | Did you have a Transcript open when you tried loading?
> | > | Have you configured a front-end server that understands FastCGI?
> | > |
> | > |
> | > | Ok, I got everything loaded and started up the Gems. Yes, I had a
> | > | Transcript up
> | > | and didn't see anything suspicious, just that everything takes a
> | > | long
> | > | time.
> | > |
> | > |
> | > |
> | > | Stopping Gems...
> | > | Stopping FastCGI topaz PID 27420 running on port 9001
> | > | Stopping FastCGI topaz PID 27419 running on port 9002
> | > | Stopping FastCGI topaz PID 27416 running on port 9003
> | > | Stopping maintenance gem PID 27413
> | > | Stopping service gem PID 27417
> | > | Starting Gems....
> | > | Starting FastCGI gem on port 9001
> | > | Starting FastCGI gem on port 9002
> | > | Starting FastCGI gem on port 9003
> | > | Starting maintenance gem
> | > | Starting service gem
> | > |
> | > |
> | > | but still the 50x error message.
> | > |
> | > |
> | > | I'm running NGINX, as you suggested, and I thought that would
> | > | give me
> | > | FastCGI capability, on port 9003, as you mentioned in the
> | > | documentation.
> | > | I admit to being a little lost with this one.
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > | It's probably best to post Gemstone specific queries on the
> | > | Gemstone
> | > | mailing list.
> | > | http://seaside.gemstone.com/mailman/listinfo/beta
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > | I guess I'm in the wrong place. Sorry about that. I have asked to
> | > | be
> | > | subscribed to the GemStone Seaside list.
> | > |
> | > |
> | > | Regards,
> | > |
> | > |
> | > | Larry
> | > |
> | > |
> | > |
> | > |
> | > |
> | > |
> | > | Nick _______________________________________________
> | > | 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
> |
> | _______________________________________________
> | 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
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
In reply to this post by Larry Kellogg
I got access to SeaSide on my Amazon EC2 instance by opening port 8080 and
hitting Swazoo

I'm sure I'm all wrong, somehow, with doing this, but it was nice to
see that I actually do have end to end connectivity to my Seaside code
running on EC2. What if I just ran Swazoo on port 80? Would that be bad?

Debugging FastCGI problems isn't easy. You add a 'debug' directive to Nginx and examine the log file.

You can always use Nginx to as the font-end server; then delegate to Swazoo on 8080.

Nick  

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Dale Henrichs
I agree with Nick ... I told you I wasn't a web guy:)

----- Original Message -----
| From: "Nick Ager" <[hidden email]>
| To: "Seaside - general discussion" <[hidden email]>
| Sent: Tuesday, October 18, 2011 1:26:04 PM
| Subject: Re: [Seaside] Seaside on EC2 Amazon Service
|
|
|
|
|
| I got access to SeaSide on my Amazon EC2 instance by opening port
| 8080 and
| hitting Swazoo
|
| I'm sure I'm all wrong, somehow, with doing this, but it was nice to
| see that I actually do have end to end connectivity to my Seaside
| code
| running on EC2. What if I just ran Swazoo on port 80? Would that be
| bad?
|
|
|
| Debugging FastCGI problems isn't easy. You add a 'debug' directive to
| Nginx and examine the log file.
|
|
| You can always use Nginx to as the font-end server; then delegate to
| Swazoo on 8080.
|
|
| Nick
| _______________________________________________
| 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
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 18, 2011, at 5:02 PM, Dale Henrichs wrote:

> I agree with Nick ... I told you I wasn't a web guy:)
>


  Thanks, Nick and Dale. It's pretty clear that I'm also not a web guy.
I can write the application but I'm a little bit in the dark about how to deploy it.
It's clearer to me now, though.

  Larry

> ----- Original Message -----
> | From: "Nick Ager" <[hidden email]>
> | To: "Seaside - general discussion" <[hidden email]>
> | Sent: Tuesday, October 18, 2011 1:26:04 PM
> | Subject: Re: [Seaside] Seaside on EC2 Amazon Service
> |
> |
> |
> |
> |
> | I got access to SeaSide on my Amazon EC2 instance by opening port
> | 8080 and
> | hitting Swazoo
> |
> | I'm sure I'm all wrong, somehow, with doing this, but it was nice to
> | see that I actually do have end to end connectivity to my Seaside
> | code
> | running on EC2. What if I just ran Swazoo on port 80? Would that be
> | bad?
> |
> |
> |
> | Debugging FastCGI problems isn't easy. You add a 'debug' directive to
> | Nginx and examine the log file.
> |
> |
> | You can always use Nginx to as the font-end server; then delegate to
> | Swazoo on 8080.
> |
> |
> | Nick
> | _______________________________________________
> | 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
Reply | Threaded
Open this post in threaded view
|

Anybody written Squeak/Seaside classes for accessing Amazon Web Services?

Larry Kellogg
In reply to this post by Nick
Hello,
  Just curious, has anybody written some Smalltalk classes to access the various 
Amazon Cloud services? It looks pretty straightforward. Before I go do this, I thought 
I should check to see if someone else was already working on the problem. 

  Regards, 

  Larry

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Anybody written Squeak/Seaside classes for accessingAmazon Web Services?

Boris Popov, DeepCove Labs (SNN)

http://code.google.com/p/cloudfork/

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Lawrence Kellogg
Sent: Wednesday, October 19, 2011 2:34 PM
To: Seaside - general discussion
Subject: [Seaside] Anybody written Squeak/Seaside classes for accessingAmazon Web Services?

 

Hello,

  Just curious, has anybody written some Smalltalk classes to access the various 

Amazon Cloud services? It looks pretty straightforward. Before I go do this, I thought 

I should check to see if someone else was already working on the problem. 

 

  Regards, 

 

  Larry


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Anybody written Squeak/Seaside classes for accessingAmazon Web Services?

Larry Kellogg
<base href="x-msg://276/">Wow, you guys are great! Thanks a million. 

  Larry


On Oct 19, 2011, at 2:35 PM, Boris Popov, DeepCove Labs wrote:

 
-Boris
 
From: [hidden email] [mailto:[hidden email]] On Behalf Of Lawrence Kellogg
Sent: Wednesday, October 19, 2011 2:34 PM
To: Seaside - general discussion
Subject: [Seaside] Anybody written Squeak/Seaside classes for accessingAmazon Web Services?
 
Hello,
  Just curious, has anybody written some Smalltalk classes to access the various 
Amazon Cloud services? It looks pretty straightforward. Before I go do this, I thought 
I should check to see if someone else was already working on the problem. 
 
  Regards, 
 
  Larry
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Anybody written Squeak/Seaside classes for accessingAmazon Web Services?

Paul DeBruicker
There's also the Zinc-AWS package here:
http://www.squeaksource.com/ZincHTTPComponents.html



On 11-10-19 11:38 AM, Lawrence Kellogg wrote:
<base href="x-msg://276/">Wow, you guys are great! Thanks a million. 

  Larry


On Oct 19, 2011, at 2:35 PM, Boris Popov, DeepCove Labs wrote:

 
-Boris
 
From: [hidden email] [[hidden email]] On Behalf Of Lawrence Kellogg
Sent: Wednesday, October 19, 2011 2:34 PM
To: Seaside - general discussion
Subject: [Seaside] Anybody written Squeak/Seaside classes for accessingAmazon Web Services?
 
Hello,
  Just curious, has anybody written some Smalltalk classes to access the various 
Amazon Cloud services? It looks pretty straightforward. Before I go do this, I thought 
I should check to see if someone else was already working on the problem. 
 
  Regards, 
 
  Larry
_______________________________________________
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
1234