Hi,
since Lukas Renggli's server is down, a freshly installed Pier won't
display the images because they appear to be retrieved from that very
server.
Does it have to be this way? Can I make this work somehow with out
having to wait for the server being up again? Where in Pier - I'm new
to it, so please bear with me ;-) - is the connection to Lukas' server
hardwired?
Best,
Michael
When the repository is back on line I can publish this. Until then I
will put things in www.squeaksource.com/PierTemp later today.
I have implemented a control panel for pier as a
WADispatcherEditorPlugin (so you need that class from Seaside 2.6b-kph
latest)
This means that a 'pier' link appears next to 'configure' 'remove'.
Features:
- Select kernel for the pier app or serve all kernels.
- UI for managing users and groups and setting passwords. (requires
latest Unix Security version)
- UI for selecting persistency scheme.
The selector provides a mini form for extra data. e.g.
PRFilePersistency has a textInput to specify the directory for its files.
The 'migrate' button begins the process of migrating data from one
persistency scheme to another. When the migration is complete you are
asked if you wish to commit. If the migration fails for some reason your
existing scheme and data is left untouched.
- UI for creating, deleting and renaming kernels.
Also:
Test case classes for PRPersistency and its subclasses.
- tests for renameKernelTo: aName
- PRMagmaPersistencyTest uses TestResourceMagma (real db in ramdisk) or
TestResourceMockMagma (no db) and is ready for more tests to be implemented.
Migration:
Migration between PRMagmaPersistency and PRNullPersistency or
PRImagePersistency is fully operational in both directions therefore it
is now possible to run your pier site 'in-image' and then switch to
PRMagmaPersistency to make a back up. Once backed up you can load a
fresh image onto your server and then switch back to 'in-image' serving
from memory once more.
enjoy
Keith
___________________________________________________________
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
PRBackupToMagmaPersistency
In the same way that PRImagePersistency periodically
saves the image to disk, this scheme commits the pier model to the
database.
This leaves the pier model in memory for speed, and it does not slow
down edits
at all with database commits. It should only write the model changes to
disk, and so should be quite efficient and can be run more frequently
than makes sense for PRImagePersistency.
This scheme also supports the ability to upgrade the image and reload
data from the persistent backup.
Keith
___________________________________________________________
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
Dear list,
does anybody have experience with running Squeak services, especially
Seaside/Pier and Monticello, on Apple Xserve hardware? Is there
something that needs to be taken special care of?
Thanks,
Michael
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