First (alpha!) release of Pier running with Magma Persistency.
Image available from ftp.seasidehosting.st
User: preloaded Password: squeak
enjoy
Keith
------
Image Use Instructions
In pier configuration click on 'Magma Control Panel', which will inform
you that the repository does not exist. If you have placed this image on
seasidehosting then you will have to manually create the repository
directory. Given the list of options as to what repository to create,
click the 'create' button (and wait). The existing pier kernel should
appear in the list with a 'persist' button next to it, click 'persist'.
Then try it and see!
------
------
Detailed Log of Image Creation Steps (alternative title: "monticello
tutorial")
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....)
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: ''
also:
MCHttpRepository
location: 'http://www.squeaksource.com/OmniBrowser'
user: ''
password: ''
(to edit this information:
click the menu button in the right hand pane of the Monticello Browser)
----
Loading Latest Monticello.
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".
Select the Monticello package on the left hand pane, and the
squeaksource/Monticello repository in the right hand pane. Click 'open'.
In the repository browser, click on the latest version
(Monticello-avi.279.mcz) and click 'Load'.
----
Loading Seaside
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
(seaside) and password (admin))
(if SqueakMap doesnt work it is being knobbled by a more recent
package-cache, remove it and try again)
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.
Loaded Seaside2.6b1-mb.79
Loaded Scriptaculous-lr.137
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).
----
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 MagmaServerLoader, and click "load". (it takes a while!)
loaded MagmaServerLoader-cmm.21
loaded Ma client server-cmm.123
loaded Ma exception handling-cmm.22
loaded Ma time objects-cmm.37
----
Load Magma Seaside Integration Package
Select "Magma Seaside" (lhs) and the latest package and click "load",
loaded Magma Seaside-kph.18
----
Load Magma Seaside Sushi Store Demo fixes
loaded Seaside-Examples-Store-Magma.kph-11
----
Before using Magma may need to execute the following.
MagmaSession initialize.
MagmaRepositoryController initialize.
useful snippets
MagmaSession allInstances cleanUp.
MagmaSession disconnectAndCloseAllConnectedSessions.
----
Load Magritte
loaded Magritte-All-lr.171
Load Pier
loaded Pier-All-lr.109
Load OmniBrowser
loaded OmniBrowser-avi.258
loaded Pier-OmniBrowser-lr.19
----
Latest Pier-Magma code
loaded Pier-Model-kph.80
loaded Pier-Seaside-kph.80
loaded Pier-Magma-kph.1
----
Pre-upload actions:
Monticello Browser - "flush cached versions".
----
Release Preloaded Image as Sqk3.8f-smp.image
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
(sorry wrong thread)
Error: There is no free space in this set!
I got this error when attempting to add a page
any ideas?
Keith
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
Hi,
I am moving to another flat the coming weekend, therefor I won't be
able to respond to mails and my server will be offline starting
Saturday morning. This also means that the Magritte and Pier
repositories won't be accessible for a couple of days.
The server will be put online again as soon as possible, however it
might take a while to get things settled with the new internet
provider. I hope to be online at least on Wednesday next week, but
one never knows what happens.
Please continue with all the nice enhancements and extensions to Pier
and Magritte, we can merge them back into the main branch after the
server comes up again ;-)
Have fun,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
A seaside question.
Has anyone ever suggested that having properties in WASession might be a
good idea?
I want to add things to sessions without having to define my own class
of session.
Keith
p.s. in 3.8 still so no traits
___________________________________________________________
All New Yahoo! Mail Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
What's the best way to have an MAFileDescription upload save the
MAFileModel contents to the filesystem instead of the Squeak image.
I'm talking about image mimetypes in this case, which I will be
serving with a seperate Komanche instance and I don't want them
bloating my Squeak image.
Thanks in advance.
Chad
Not sure how to do this with Magritte.
I have a model 'MYBuilding' which has many 'MYAmenity' objects. When
showing the editor for building, I want the user to be able to select
multiple amenities from the amenity collection in MYAmenity
class>>collection, rather than creating new amenities for the
building.
This is the description I have for MYBuilding class>>descriptionAmenities
descriptionAmenities
^ (MAMultipleOptionDescription auto: 'amenities' label: 'Amenities'
priority: 40)
options: MVAmenity collection;
reference: MVAmenity descriptionTitle;
beSorted;
yourself.
It's not working. I get an MNU on MVAmenity>>do:
I'm guessing it has something to do with what I'm sending to the
reference selector, since I have no idea what I'm supposed to have
there.
Thanks in advance.
Chad
On 25 Sep 2006, at 19:10, Bruce Haugland wrote:
> I recently began working the the Morphic side of Magritte. This is
> an outstanding package.
>
> However I have noticed that some aspects of Magritte are more
> complete on Seaside then they are on the Morphic side. What is the
> status of Magritte-Morph. Will it continue to be developed or is
> it simply Dead Code.
The morphic part of Magritte is more a prove of concept than code
useable in production. I only implemented the parts that are needed
to run Pier within the Squeak image. Pier itself only uses a subset
of Magritte, therefor the package Magritte-Morph has never been taken
as far as Magritte-Seaside that is used in several industrial
application. Most of the productive applications I am involved with
are Web applications. Quite a lot of those applications use Magritte-
Seaside, therefor I concentrated most of my energy on this package.
Right now, since time and commercial interest for Magritte-Morphic is
missing, I am unable to continue with this sub-project on my own. I
am still keeping the package up-to-date to make it work together with
Pier, but I in the short I will not implement new features. However,
I would be glad and willing to help, if anybody takes over the
development of Magritte-Morph, or even starts with something new like
Magritte-Tweak or Magritte-Sophie.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Hi
I hope this qualifies for cool-pier-feature-of-the-day:
Recent versions of Pier show the icon of a structure in the inspector.
See attached screenshot. In case it got blocked see:
http://img371.imageshack.us/my.php?image=inspectoriconsdp9.png
Philippe
Lukas,
When PRChildren is empty, I am getting uneccessary database accesses at
every leaf node. I am sure that there are several ways of solving this
but for now I am experimenting in my image with...
PRStructure>>#childrenDecoration removed
and an access interface defined for children...
#addChild:
#childAt:
#childAt:ifAbsent:
#childAt:ifPresent:
#childrenIncludes:
#removeChild:
Such that if there are no children then no PRChildren decoration is
added into the structure's decorations.
would this change be acceptable?
Keith
___________________________________________________________
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
Hi,
> I'm relatively new to Squeak, but discovered the framework you have
> built, and it appears to be useful for a project I'm working on.
> Documentation is very sparse, however, and I would like to
> volunteer to assist in developing further documentation. As a
> matter of fact, I believe Pier might be the basis for the
> documentation. I would also like to do several screencasts to
> illustrate the documentation in a tutorial fashion. I know some of
> your time will be required to guide me and review the
> documentation, but if you would consider my offer, I believe it
> might lead to wider usage of Seaside/Magritte/Pier..
sounds like an interesting project. Depending on what kind of
documentation you would like to build it could be a good match. The
documentation you find in the appendix of my master thesis [1] has
been generated from class and method comments using Pier and exported
as Latex. One could also build a Pier Web site.
I would suggest that you subscribe to the Pier mailing-list at [2]
and ask further questions there.
Cheers,
Lukas
[1] http://www.iam.unibe.ch/~scg/Archive/Diploma/Reng06a.pdf
[2] https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch