[ANN] PRPierControlPanel and goodies

Keith Hodges keith_hodges at yahoo.co.uk
Fri Oct 6 11:18:59 MEST 2006


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


More information about the SmallWiki mailing list