Hi,
This is just to let all know that a) Chris's ;atest Magma release announced on the list seems to be fine. This includes the new #where: query API. Very nice
b) I have released a new Lava which uses this API. Once the dust has settled I will modify the optimiser to exploit the new query API.
c) I have released a new 'Magma seaside' package which works with the new query API and Seaside's canvas API.
For those who need it now: 1. Start with Squeak 3.8.1 (6744) 2. Install Seaside2.6b (lr-68 or higher) 3. Install MagmaServerLoader and load Chris's latest monticellos 4. Install Magma seaside 5. Install the latest seasideSushiStoreWithwMagma.cs.gz from http://minnow.cc.gatech.edu/squeak/5817
If you get this far a workspace should open (WAStore workspace). Just follow the instructions.
I appreciate that this may seem confusing - it is just that we have been working on a major enhancement to Magma (complex indexed queries) at the same time Seaside moved to the canvas API.
Step 3 above is the tricky one if you do not follow Chris's instructions accurately - I am sure Chris will release a MagmaServerLoader monticello to simplify step 3 shortly.
Magma is a great compliment to Seaside - please feel free to email me if you need help.
Brent
I have uploaded a preloaded seaside+magma image (as per Brent's instructions) to ftp://ftp.seasidehosting.st To obtain this image use ftp to login to
host: ftp.seasidehosting.st username: preloaded password: squeak
The precise details as to how this preloaded image was created are appended to this email, and are present in a workspace in the image.
This release has the latest "Magma Tester Loader", it does not yet contain the latest packages with query support (sorry I couldn't get it working straightforwardly.)
I think that this image provides a perfect base to introduce newcomers to the magma seaside (and soon pier) combination.
best regards
Keith ------------------- ------------------- Beginning with Squeak3.8-6555full
Initial start asks for updates: select "do not ask again" - this is important should you wish to deploy. Headless servers (e.g. seasidehosting) cannot handle user interaction and will stop at this point.
From "world menu > open.... > MOnticello Browser" Browser opens with (Monticello,Network-HTML, Network-Mail....)
Click the "+Repository Button", select "HTTP" as the repository type, and enter
MCHttpRepository location: 'http://www.squeaksource.com/Seaside' user: '' password: ''
as the repository info (if you have a login on Squeaksource then you can enter your initials as the 'user' above.)
Add the following repository for Monticello.
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: '' password: ''
Add the following repository for Magma.
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: '' password: ''
and the following two repositories for Magritte and Pier
MCHttpRepository location: 'http://mc.lukas-renggli.ch/magritte' user: '' password: ''
MCHttpRepository location: 'http://mc.lukas-renggli.ch/pier' user: '' password: ''
(to edit this information: click the menu button in the right hand pane of the Monticello Browser) - Loading Seaside
Select the seaside repositoryClick the "open" and the repository browser will open.
Select Seaside2.6b1 which is the current latest. In the right hand pane are the releases. Releases may be made by anyone and they may be small branches off from the main stream. Periodically an effort will be made to ensure that all changes are merged. Click the history button in order to browse the history of this package to get some idea of what is going on. Look at the ancestors of a package to see if one version is being sequentially built on the next, or whether any branching is occurring. Seaside is fairly mature and changes infrequent, therefore it is likely to be safe to grab the latest version.
Clicking "Load" brings up a warning - we have some prequisites that are outside of the scope of the package. We will need Komanche from SqueakMap. Abandon the load.
Select "world menu > open... SqueakMap"... and a dialog will ask if you wish to upgrade SqueakMap. Which you do. Notice that SMBase, SMLoader packages appeaer in the Monticello browser, since the upgrade is performed by loading Monticello packages.
In SqueakMap, select the ever so convenient "Seaside Installer" which should load in the whole of seaside with its dependencies in one go. To do this select the left had pane menu button, "install". (Part way through the install you will be prompted to enter an admin username and password.)
To start Seaside doit: WAKom startOn: 8080. ( Or use the "beach flags" SeasideMorph available from: http://minnow.cc.gatech.edu/squeak/5862 )
To test if everything is running, check the following url in your normal web browser. http://localhost:8080/seaside/config
you should be prompted for you username and password (as given earlier). ---- Upgrade Monticello (optional)
More recent versions of Monticello provide better feedback as to which packages are currently loaded.
Select the http://www.squeaksource.com/Monticello repository, click "open", select the latest package (Monticello-avi.279) from the main "Monticello" branch, and click "load". ---- Loading Magma
Back to the Monticello Browser. Deselect the selected package by clicking on it once. This should re-reveal all of the registered repositories.
(It is worth saving this. In the right hand side pane menu button there is a menu item: "Save Repositories", which writes a simple configuration script to the working directory.)
Select the http://www.squeaksource.com/MagmaTester repository, and click "open".
Select MagmaTesterLoader, and click "load". (it takes a while!)
Select "Magma Seaside" (lhs) and the latest package "Magma Seaside brp-4" and click "load",
We just need the fixes to the Seaside Sushi Store demo and we are done. The file seasideSushiStoreWithMagma.2.cs.gz is available at http://minnow.cc.gatech.edu/squeak/5817
Open a "File List", select the file that you have downloaded and click "install". A window contraining instructions should appear.
As yet we have not loaded the latest packages with the query functionality, therefore the examples using #where will not work. ---- Pre-upload actions: Remove personal initials from repositories. Reset Seaside Password: admin seaside Monticello Browser - "flush cached versions". ---- todo... Load Latest Magma Packages next loading Pier
___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html
I have uploaded a preloaded magma + seaside image (as per Brent's instructions) to ftp://ftp.seasidehosting.st To obtain this image use ftp to login to
host: ftp.seasidehosting.st username: preloaded password: squeak
The precise details as to how this preloaded image was created are appended to this email, and are present in a workspace in the image.
This release has the latest "Magma Tester Loader" including the latest query support.
I think that this image may be an ideal starting point for newcomers to to the magma seaside (and soon pier) combination.
best regards
Keith ------------------- This image was prepared as follows: Beginning with Squeak3.8-6555full
Initial start asks for updates: select "do not ask again" - this is important should you wish to deploy. Headless servers (e.g. seasidehosting) cannot handle user interaction and will stop at this point.
From "world menu > open.... > MOnticello Browser" Browser opens with (Monticello,Network-HTML, Network-Mail....)
Click the "+Repository Button", select "HTTP" as the repository type, and enter
MCHttpRepository location: 'http://www.squeaksource.com/Seaside' user: '' password: ''
as the repository info (if you have a login on Squeaksource then you can enter your initials as the 'user' above.)
Add the following repository for Monticello.
MCHttpRepository location: 'http://www.squeaksource.com/Monticello' user: '' password: ''
Add the following repository for Magma.
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: '' password: ''
and the following two repositories for Magritte and Pier
MCHttpRepository location: 'http://mc.lukas-renggli.ch/magritte' user: '' password: ''
MCHttpRepository location: 'http://mc.lukas-renggli.ch/pier' user: '' password: ''
(to edit this information: click the menu button in the right hand pane of the Monticello Browser) - Loading Seaside
Select the seaside repositoryClick the "open" and the repository browser will open.
Select Seaside2.6b1 which is the current latest. In the right hand pane are the releases. Releases may be made by anyone and they may be small branches off from the main stream. Periodically an effort will be made to ensure that all changes are merged. Click the history button in order to browse the history of this package to get some idea of what is going on. Look at the ancestors of a package to see if one version is being sequentially built on the next, or whether any branching is occurring. Seaside is fairly mature and changes infrequent, therefore it is likely to be safe to grab the latest version.
Clicking "Load" brings up a warning - we have some prequisites that are outside of the scope of the package. We will need Komanche from SqueakMap. Abandon the load.
Select "world menu > open... SqueakMap"... and a dialog will ask if you wish to upgrade SqueakMap. Which you do. Notice that SMBase, SMLoader packages appeaer in the Monticello browser, since the upgrade is performed by loading Monticello packages.
In SqueakMap, select the ever so convenient "Seaside Installer" which should load in the whole of seaside with its dependencies in one go. To do this select the left had pane menu button, "install". (Part way through the install you will be prompted to enter an admin username and password.)
To start Seaside doit: WAKom startOn: 8080. ( Or use the "beach flags" SeasideMorph available from: http://minnow.cc.gatech.edu/squeak/5862 )
To test if everything is running, check the following url in your normal web browser. http://localhost:8080/seaside/config
you should be prompted for you username and password (as given earlier). ---- Upgrade Monticello (optional)
More recent versions of Monticello provide better feedback as to which packages are currently loaded.
Select the http://www.squeaksource.com/Monticello repository, click "open", select the latest package (Monticello-avi.279) from the main "Monticello" branch, and click "load". ---- Loading Magma
Back to the Monticello Browser. Deselect the selected package by clicking on it once. This should re-reveal all of the registered repositories.
(It is worth saving this. In the right hand side pane menu button there is a menu item: "Save Repositories", which writes a simple configuration script to the working directory.)
Select the http://www.squeaksource.com/MagmaTester repository, and click "open".
Select MagmaTesterLoader, and click "load". (it takes a while!)
Select "Magma Seaside" (lhs) and the latest package "Magma Seaside brp-4" and click "load",
We just need the fixes to the Seaside Sushi Store demo and we are done. The file seasideSushiStoreWithMagma.2.cs.gz is available at http://minnow.cc.gatech.edu/squeak/5817
Open a "File List", select the file that you have downloaded and click "install". A window contraining instructions should appear.
---- Load the latest Magma which includes queries
In "MagmaTester" repository view, select "MagmaTesterLoader", (MagmaTesterLoader-cmm.19) and click "load".
Before this image can be used, we need to execute MagmaRepositoryController initialize. ---- Release Preloaded Image
Pre-upload actions: Remove personal initials from repositories. Reset Seaside Password: admin seaside Monticello Browser - "flush cached versions". ----
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
magma@lists.squeakfoundation.org