Integrating Images on a website. Don't want to use Apache or WAFileLibrary.

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

Integrating Images on a website. Don't want to use Apache or WAFileLibrary.

Torsten Bergmann
Miguel Cobá wrote:
>I don't understand the issue with portability in having the static content
>served by a web server
>In fact, it is not even practical to deploy an app (used for more than a
> couple users) without a kind of proxy/load balancer in front.


You and Phillipe talk about a different scenario than Deech who was NOT requesting an answer for (the more typical case) of a deployed seaside web application with many users:

Read his original post and you will find out that

 - he want to move the webserver from PC to PC using a flash drive easily
  (so the image may have to be small)
 - and since the environment is always changing using Apache as a proxy
   is not desirable for him
 - he does not say anything about the number of users (maybe he is
   the only user)

So his requirements are different and serving the files using
KomHttpServer may be ok here.  

Especially it is very cool to have this option:

 - you can put a VM for any OS environment together with the small image
   and the static files on a memory stick
 - you can start the application on any computer/OS you like and run
   the image/webserver
 - to use applications only a webbrowser is required (you can also
   develop with Squeak right from the flash drive)

Since size of flash drives is growing you can have your whole development/project environment (local running Squeaksource, swiki, Squeak-dev images) on the stick and run it everywhere.

Having the resource files outside of the image also allows you to switch to an Apache proxy into a real production environment later.

Bye
Torsten
--
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
http://games.entertainment.gmx.net/de/entertainment/games/free
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Integrating Images on a website. Don't want to use Apache or WAFileLibrary.

aditya siram-2
I appreciate all the input. I have implemented my website using Kom as a file server and HTTP server on a 2GB flash drive. So far its working great! All I have to do is plug in the drive, double-click the executable and reconfigure my LAN router to point to the new PC. All my PC's have a minimum amount of memory (512) and CPU (1 GHz) and are dedicated to the website. Based on some very rough tests it seems like I can have between 50 and a 100 people using the site before a noticeable slowdown of the server.

Deech

On Thu, Apr 24, 2008 at 5:31 AM, Torsten Bergmann <[hidden email]> wrote:
Miguel Cobá wrote:
>I don't understand the issue with portability in having the static content
>served by a web server
>In fact, it is not even practical to deploy an app (used for more than a
> couple users) without a kind of proxy/load balancer in front.


You and Phillipe talk about a different scenario than Deech who was NOT requesting an answer for (the more typical case) of a deployed seaside web application with many users:

Read his original post and you will find out that

 - he want to move the webserver from PC to PC using a flash drive easily
 (so the image may have to be small)
 - and since the environment is always changing using Apache as a proxy
  is not desirable for him
 - he does not say anything about the number of users (maybe he is
  the only user)

So his requirements are different and serving the files using
KomHttpServer may be ok here.

Especially it is very cool to have this option:

 - you can put a VM for any OS environment together with the small image
  and the static files on a memory stick
 - you can start the application on any computer/OS you like and run
  the image/webserver
 - to use applications only a webbrowser is required (you can also
  develop with Squeak right from the flash drive)

Since size of flash drives is growing you can have your whole development/project environment (local running Squeaksource, swiki, Squeak-dev images) on the stick and run it everywhere.

Having the resource files outside of the image also allows you to switch to an Apache proxy into a real production environment later.

Bye
Torsten
--
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
http://games.entertainment.gmx.net/de/entertainment/games/free
_______________________________________________
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: Integrating Images on a website. Don't want to use Apache or WAFileLibrary.

aditya siram-2
And to Torsten's point of having a VM and OS on one flash drive, because of Squeak's amazing portability I don't need the OS, only the Seaside image, Squeak VM and the files I am serving. This was the promise that Java failed to keep. With *any* other web framework and I would have to consider the underlying platform. Here I can move my website from Mac's to all recent flavors of Windows and Linux's and have it work identically without configuration. Beautiful!

Deech

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside