[Seaside] Re: WAFileLibrary and non-alphanumerics

Boris Popov boris at deepcovelabs.com
Tue Oct 16 19:06:55 UTC 2007


That most certainly depends on what "use" substitutes. In my case, I
just like to keep all external resources (gif/js/css/swf/xml) in the
source; it just makes team development much easier. But I do use
external editors during development, the stuff merely gets sucked into
multiple subclasses each representing subdirectory and then get cached
by the fronting server on a per-need basis from the basic responder in
the image. The alternative to the last step is to dump them to a web
server during deployment, which we used to do previously.

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Philippe Marschall
> Sent: Tuesday, October 16, 2007 12:03 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] Re: WAFileLibrary and non-alphanumerics
> 
> 2007/10/16, Boris Popov <boris at deepcovelabs.com>:
> >
> >
> >
> > Mind you the whole class versus instance there seems a little
arbitrary,
> we
> > should just move it all one way it seems.
> 
> That's right. One thing to keep in mind is that file library is not
> and never was supposed to be fully fledged or intended for production
> use. It's merely for cases where you would want to have the
> Scriptaculous examples work without an internet connection.
> 
> Cheers
> Philippe
> 
> >  Cheers!
> >
> >  -Boris
> >  (Sent from a BlackBerry)
> >
> >
> >  ----- Original Message -----
> >  From: Boris Popov
> >  To: 'Seaside - general discussion'
> > <seaside at lists.squeakfoundation.org>
> >  Sent: Tue Oct 16 11:19:22 2007
> >  Subject: WAFileLibrary and non-alphanumerics
> >
> >  In case anyone else comes across a case where filenames include
> > non-alphanumeric characters like dashes and underscores, you'll
notice
> they
> > get stripped by default, which won't work very well with your style-
> sheets.
> > I'd made the following three changes in my subclass of it,
sacrificing
> > readability a bit, but it's not like I ever look at selectors there
> anyway.
> >
> >  (class) asSelector: aFilename
> >   ^('hex' , aFilename asByteArray asHexString) asSymbol.
> >
> >  isFileSelector: aSymbol
> >          ^aSymbol startsWith: 'hex'.
> >
> >  asFilename: aSelector
> >   ^(ByteArray fromHexString: (aSelector
> >                                          copyFrom: 4
> >                                          to: aSelector size))
asString.
> >
> >  Cheers,
> >
> >  -Boris
> >
> >  --
> >  +1.604.689.0322
> >  DeepCove Labs Ltd.
> >  4th floor 595 Howe Street
> >  Vancouver, Canada V6C 2T5
> >  http://tinyurl.com/r7uw4
> >
> >  boris at deepcovelabs.com
> >
> >  CONFIDENTIALITY NOTICE
> >
> >  This email is intended only for the persons named in the message
> >  header. Unless otherwise indicated, it contains information that is
> >  private and confidential. If you have received it in error, please
> >  notify the sender and delete the entire message including any
> >  attachments.
> >
> >  Thank you.
> >
> >
> >
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list