[Seaside] SG93IGNhbiBJIHJ1biBXYWZlcj8gKFJlOiBbU2Vhc2lkZV0gV2FmZXIgd2VibG9nIHNhbXBsZSBhcHBsaWNhdGlvbik===

tblanchard at mac.com tblanchard at mac.com
Sun Aug 17 09:37:20 CEST 2003


Which wafer?

The reference application can be found at 
http://www.waferproject.org/weblog-prototype/index.jsp

I posted a squeak version recently - I'm going to post an updated copy 
in a couple days when I get time.

On Sunday, August 17, 2003, at 06:28  AM, S.J.Chun wrote:

> Sorry for stupid question. But... how can I run wafer?
>
>   ----- Original Message -----
>   From: tblanchard at mac.com
>   To: "The Squeak Enterprise Aubergines Server - general discussion." 
> <seaside at lists.squeakfoundation.org>
>   Sent: Sat, 16 Aug 2003 13:50:18 -0600
>   Subject: Re: [Seaside] Wafer weblog sample application
>
>   Yeah, the glorp is simpler.  Bear in mind that the data model for 
> this
>   thing is dead simple - two kinds of records - user and story.  
> Stories
>   are trees (each has a parent story unless its a top level story).
>
>   I overrode isolate: in session to do:
>
>   glorpSession beginUnitOfWork.
>   super isolate: aBlock.
>   glorpSession commitUnitOfWork.
>
>   And the ubiquitous home button is just:
>
>   glorpSession rollbackUnitOfWork.
>   home clearDelegate.
>
>   Seems to work fine - otherwise there's a couple queries - ie
>
>   login
>
>           | user |
>           user := self session glorpSession readOneOf: WaferUser where:
>   [:u | (u username = username) & (u password = password)].
>           user ifNotNil: [self answer: user] ifNil [self errorMessage:
>   'Login invalid']
>
>   The SmartFileDictionary took some tickling in odd places to convince 
> it
>   that it needed writing and occasionally it would give me old data - 
> it
>   makes too many copies I think.
>
>   On Saturday, August 16, 2003, at 11:19  AM, Avi Bryant wrote:
>
>>
>> On Sat, 16 Aug 2003 tblanchard at mac.com wrote:
>>
>>> I demo'd this last night and completely blew the attendees (about a
>>> dozen) away.
>>
>> Awesome.
>>
>>> I reckon I spent about 6 hours on the presentation bit (and probably 
>>> 5
>>> times that playing with various persistence mechanisms - the one I
>>> demo'd used GLORP on PGSQL - the one I posted used 
>>> SmartFileDictionary
>>> - the GLORP one is simpler).
>>
>> The GLORP one is *simpler*?  That's fascinating.  Care to talk a bit
>> about
>> your experiences with GLORP?  I haven't had a chance to use it yet.
>>
>> Avi
>>
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/listinfo/seaside
>>
>
>   _______________________________________________
>   Seaside mailing list
>   Seaside at lists.squeakfoundation.org
>   http://lists.squeakfoundation.org/listinfo/seaside
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside



More information about the Seaside mailing list