On Mon, Jan 25, 2010 at 4:25 PM, keith wrote (on the squeak-dev list) :
pier keeps its data in image.
I know the following info is unlikely to help your current application, but, in the interest of completeness, I will observe that at least one Pier application stores its user data in the host filesystem, not the image. That application is WikiServer (John McIntosh's cross-platform personal wiki for the iPhone)
I only have superficial familiarity with Pier and WikiServer: as far as I can tell, the persistency code uses MAExternalFileModel, but sadly I can't guess if the effect is available to all Pier developers, or proprietary to WikiServer.
Well I should read all the email first.
the source code can be looked at by following the links from http://www.mobilewikiserver.com/1.4.html and getting the desktop version.
No magic is involved, it's just an object fileout of the Pier root.
There are some changes to the object file out logic to uses a buffered UTF8 stream and a few minor changes in the object to serialization logic for performance reasons. Thus the file out runs in 50% of the time that it normally would. No doubt using the Squeak buffered multi-byte stream change would achieve mostly the same thing.
I'd like to convert this to image segments, as soon as someone figures out a rational subset of that missing all the etoy & project cruft.
On 2010-01-25, at 9:13 AM, David Corking wrote:
I only have superficial familiarity with Pier and WikiServer: as far as I can tell, the persistency code uses MAExternalFileModel, but sadly I can't guess if the effect is available to all Pier developers, or proprietary to WikiServer. _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
squeak-dev@lists.squeakfoundation.org