<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Sungjin,<br>
<br>
I don't know of any porting documentation, but here is a rough outline
of how to go about doing the port:<br>
<br>
<ol>
  <li>As Luka suggests, take a look at the Continuation class
and get the unit tests to run in GNU smalltalk. Getting Contuations
working may or may
not be a big challenge. At Gemstone, we ended up making mods to the vm
to get continuations to work. <br>
  </li>
  <li>Once you've got continuations in hand, take a look at
PackageInfo-Exporters. There's a version on SqueakSource (part of
Seaside project) that is a good starting point. Write a GNU smalltalk
exporter that will allow you to file out the Seaside package (all
classes and extension methods for Seaside) in a form acceptable to GNU
smalltalk.<br>
  </li>
  <li>File the result into your GNU smalltalk image and resolve the
filein issues.</li>
  <li>Run the Seaside unit tests.</li>
  <li>Now you'll need some sort of HTTP server. We are using
Swazoo/Hyper. You'll need to write some glue code between Seaside and
your HTTP server. We used Michel Bany's VW glue code as an example. We
can provide our code as well. Basically the glue code transforms the
requests and responses from your HTTP server into Seaside requests and
responses.<br>
  </li>
  <li>If GNU smalltalk doesn't have a HTTP server , you might try
porting the FastCGI code from Squeak to GNU smalltalk. We just recently
ported FastCGI to Gemstone so we can give you some pointers here. If
you don't have a HTTP server in GNU smalltalk this is a very good
option - you simply transform the FastCGI request/responses directly
into Seaside request/responses.</li>
  <li>At this point you should be able to begin serving seaside web
pages. Bring up the WAAllTests application (you'll need to initiale it
first) and start poking around.</li>
</ol>
This should be enough to get you started. Good luck!<br>
<br>
Dale<br>
<br>
Sungjin Chun wrote:
<blockquote cite="mid45EA9667.8000801@embian.com" type="cite">
  <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I want to port seaside to GNU smalltalk - I'm not sure whether this is
possible or not. My primary objective is to learn network programming in
smalltak, both squeak and gnu smalltalk(gst).

Is there any guide/documentation for this?

Thanks in advance.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>

iD8DBQFF6pZmQqspS1+XJHgRAsG/AJ0YQhUSo9Rx9CByyquY0VSompKJBwCg2G8w
rufsXec1IRGkdorAHxFntHo=
=PJe4
-----END PGP SIGNATURE-----
_______________________________________________
Seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>

  </pre>
</blockquote>
<br>
</body>
</html>