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
Hello all,
I am building a form that consists of two components, e.g. House and
Person. For each of these, when a new one is created I register it.
I have a manager class that displays these using:
MAToManyRelationDescription new
classes: (Array with: House);
label: 'Houses';
accessor: (MASelectorAccessor new
readSelector: #houses;
writeSelector: nil;
yourself);
default: Array new;
priority: 20;
yourself
People is similar. The Manager class is a form, but with no buttons
as it is only needed to let the add buttons work on these relation
descriptions. The accessor shown here, houses just calls "House
instances" to get currently registered houses. I subclass
MACheckedMemento and create a custom memento that simply overrides the
#push: method to see if the object is new (no members will be set) and
if so, registers the object after called "super push:".
Everything is fine except for Houses, after I create a new hause the
main display always shows 2. If I leave the page and visit new I see
only one. I have looked around but I dont see how this is happening.
Any ideas?
I remember reading somewhere about a fix for testing block equality, but
cant remember where and I vaguely remember thinking it was
mentioned on this list.
can anyone enlighten me?
Keith
Hi,
I have a problem in moose.unibe.ch with Pier. After a while the links
lead to localhost instead of moose.unibe.ch.
How can this be fixed?
I have to say that we are using Apache 1.3, so there is no Apache
forwarding.
Cheers,
Doru
Begin forwarded message:
> From: Toon Verwaest <toon.verwaest(a)gmail.com>
> Date: December 17, 2007 6:58:43 PM GMT+01:00
> To: Related to the development of Moose and other related tools <moose-dev(a)iam.unibe.ch
> >
> Subject: [Moose-dev] website
> Reply-To: Related to the development of Moose and other related
> tools <moose-dev(a)iam.unibe.ch>
>
> Mmh... the website still seems to have that "bug" related to the
> system
> below it. If I let the site open for a few hours without touching it;
> and then try to open a link; I get redirected to "localhost:...."which
> obviously fails. And for me this kind of browsing behavior is quite
> common; since I open websites in tabs and tempt to forget about
> it :) I
> guess it has something to do with cookies expiring?
>
> cheers
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
In PRImagePersistency
snapshot appears to be checking to see if it has been forked by the OS
and then in the image about to be saved it
is clearing all of the handlers.
But I cant see where this forking actually takes place so it appears to
me that all users get logged off every hour. Am I missing somthing?
Keith
====
Name: Pier-PersistencyManager-kph.11
Author: kph
Time: 12 December 2007, 10:02:59 pm
UUID: 0129ad29-a8fe-11dc-abc2-000a95edb42a
Ancestors: Pier-PersistencyManager-kph.10
- Fixed the "Manage Users" and "Manage Groups"
Finally worked out how to call a PRWidget and make sure it is wrapped in
the current PRContext when NOT in a pier application. (i.e. the
seaside/config app)
I made a PRCurrentContextDecoration to wrap widgets in when you want to
use PRWidgets in a different content.
cheers
Keith
Hi all,
I've got a problem witch Pier.
I created an application with Seaside. And I want to add
the application in Pier.
I wrote in Edit mode +application+, than I clicked on it
and select type: Component. Exactly like on this video: http://www.lukas-renggli.ch/smalltalk/pier/videos/sushi.mov
But in combobox Component class
i don't see my seaside application. What is the way to put my application in this list and then
in Pier?
Thank You very much!!
Best regards.
Marek Fiala
I was wondering if anyone tried to do any kind of XML mapping using
Magritte. I have the requirement to generate RDF from my business
objects, so I was thinking of ways to simplify this. My idea was to
add something in the Magritte descriptions for each object that
pointed to the appropriate URI and schema.
This may be more trouble than its worth. I suppose anyone who has done
anything with generating XML from Magritte could maybe provide some
insight on any hurdles they faced, design ideas, etc.
I also am looking at Magritte for simplifying XML serialization in
general. My problem overall is that I have to generate all these
formats (XML for web service, RSS, ATOM, RDF) and I do not want to
have to write a complex parser to even do this 1/2 way dynamically.
Are there any other libraries out there that do this already? For
instance, I did notice that there is that library (name escapes me)
that lets you port your objects between Smalltalk versions by dumping
to XML files, so that is somewhat close to what I need to do.
I am thinking since I already have a large number of Magritte
descriptions, I might as well expand upon that. This will also let me
do things like change a schema dynamically and provide easy access
memento objects to do things like create a preview of whatever format
I am trying to produce. Thoughts?
I came accross a situation in which an MAValidationError was raised
having a tag = nil.
Exception returns messageText from #tag in this case which being a
string does not respond to #label.
MAValidationError-#label
^ self tag label ifNil: [ self tag asString ]
Keith
Haven't tried anything with 3.10. I'm using SIXX 0.2c with 2.9.
> On 03/12/2007, Adriaan van Os <avanos(a)xs4all.nl> wrote:
>> I'm using SIXX to move a site from one image to another.
>
> Thanks for the suggestion. Are you doing something particular?
> SIXX (latest from squeakmap) doesn't load in my 3.10 image...
>
>
>>
>> HTH,
>> Adriaan.
>>
>> > On 25/02/2007, Philippe Marschall <philippe.marschall(a)gmail.com>
>> wrote:
>> >> 2007/2/25, Damien Cassou <damien.cassou(a)gmail.com>:
>> >> > what is the best solution to extract a pier website from an image
>> and
>> >> > put the extracted root into another image ?
>> >>
>> >> Assuming you don't use magma:
>> >> I'd say grab the kernel, file it out with ReferenceStream and file it
>> >> in the other image (you'll have to add it to the instances). Maybe
>> >> you'll have to nil out the mutex in the persistency instance, you'll
>> >> find out if filing out will give an error.
>> >
>> > I'm trying to do the same... ReferenceStream doesn't work because it
>> > encounters a BlockContext in the process (eg. some Magritte condition
>> > on the number of posts the blog should show).
>> >
>> > I'm trying to go the Magma way but it won't install' either via
>> > Universes or MC. Magma seaside says it needs WADispatcherControlPanel
>> > (I'm following the load order from http://wiki.squeak.org/squeak/5902
>> > )
>> >
>> > Any suggestion ?
>> >
>> > --
>> > Damien Pollet
>> > type less, do more [ | ] http://typo.cdlm.fasmz.org
>> >
>> > _______________________________________________
>> > SmallWiki, Magritte, Pier and Related Tools ...
>> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>> >
>>
>>
>> --
>> http://www.a3aan.st
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
> --
> Damien Pollet
> type less, do more [ | ] http://typo.cdlm.fasmz.org
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
--
http://www.a3aan.st