<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Working with CSS designers</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>That's pretty much what I had here, image stores all resources and knows how to serve them via /css /i /js, but apache defined these 3 aliases straight to the file system with a copy of the files in deployed environment. In the past week I moved everything to S3 as an experiment and so far it worked out great.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Sun Mar 11 11:34:43 2007<BR>
Subject: Re: [Seaside] Working with CSS designers<BR>
<BR>
What I do is take advantage of the fact that Comanche is a full web<BR>
server.&nbsp; I have a htdocs directory like one would have with apache with<BR>
an /images directory.&nbsp; I can verify the image can be served just by<BR>
surfing to it as I would with apache.&nbsp; Then my seaside app can simply<BR>
reference the resources where they are (e.g. /images/logo.png).<BR>
<BR>
If needed, I don't think it would be too hard to configure apache to<BR>
take over the static content later, but it is nice for speed to just use<BR>
Comanche while developing.<BR>
<BR>
Boris Popov wrote:<BR>
&gt;<BR>
&gt; In our experience #2 worked best. Our designer mocks up a page in<BR>
&gt; html, styles it, I reproduce the code in seaside and voila. All the<BR>
&gt; styles are linked externally (linktostyle: in updateroot:) although<BR>
&gt; image is able to serve the files as well to take advantage of source<BR>
&gt; control as well as simplify develoment setup. In deployment the<BR>
&gt; resource URL points to an outside server that has a copy of the files.<BR>
&gt; I'm planning on blogging a little more about the details in the weeks<BR>
&gt; leadind up to my report at smalltalk solutions too.<BR>
&gt;<BR>
&gt; Cheers!<BR>
&gt;<BR>
&gt; -Boris<BR>
&gt; (Sent from a BlackBerry)<BR>
&gt;<BR>
&gt; ----- Original Message -----<BR>
&gt; From: seaside-bounces@lists.squeakfoundation.org<BR>
&gt; &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
&gt; To: The Squeak Enterprise Aubergines Server - general discussion.<BR>
&gt; &lt;seaside@lists.squeakfoundation.org&gt;<BR>
&gt; Sent: Sat Mar 10 20:36:50 2007<BR>
&gt; Subject: [Seaside] Working with CSS designers<BR>
&gt;<BR>
&gt; I'd like to get some ideas on how to work with css editors. How do you<BR>
&gt; work with them? What is your workflow for receiving and installing<BR>
&gt; updated css stylesheets? I can think of a few ways, I'm sure there are<BR>
&gt; more:<BR>
&gt;<BR>
&gt; 1. Give them the image and let them run the image locally.<BR>
&gt; If you do this, what is their workflow updating css files and viewing<BR>
&gt; content? The only way I can get css to work when running a image locally<BR>
&gt; is to use FileLibrary and to change the FileLibrary methods themselves.<BR>
&gt; I haven't been successful finding a way to get seaside/pier to find css<BR>
&gt; files that are external. Oh.. I take that back. If I use David's<BR>
&gt; method[1], I can place the css files under FileRoot and the Kom server<BR>
&gt; finds them. But PNGs referenced in the css files aren't found. Don't<BR>
&gt; know why.<BR>
&gt; I guess the css designer would need to deliver the text of the css<BR>
&gt; methods and the webmaster can install however the web server is serving<BR>
&gt; the css files.<BR>
&gt;<BR>
&gt; 2. Fake it and don't give them anything. Let them create their own html<BR>
&gt; content for testing. I assume that this is the common practice.<BR>
&gt;<BR>
&gt; 3. Give them access to /seaside/&lt;application&gt; so they can toggle the<BR>
&gt; halos and place css stylesheets using the &quot;Style Editor&quot; halo. As with<BR>
&gt; #1, I don't know where to place PNG files so that css stylesheets can<BR>
&gt; actually find the PNGs. Is anybody using this method to change css?<BR>
&gt;<BR>
&gt; 4. others?<BR>
&gt;<BR>
&gt; I'd like to hear what you do, since you guys have been running seaside<BR>
&gt; sites much longer than me!<BR>
&gt;<BR>
&gt; thanks,<BR>
&gt; brad<BR>
&gt;<BR>
&gt;<BR>
&gt; ==<BR>
&gt; [1]<BR>
&gt; <A HREF="http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html">http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html</A>)<BR>
&gt;<BR>
&gt; --<BR>
&gt; brad fuller<BR>
&gt;&nbsp;&nbsp; <A HREF="http://www.Sonaural.com/">http://www.Sonaural.com/</A><BR>
&gt;&nbsp;&nbsp; +1 (408) 799-6124<BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Seaside mailing list<BR>
&gt; Seaside@lists.squeakfoundation.org<BR>
&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;<BR>
&gt; ------------------------------------------------------------------------<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Seaside mailing list<BR>
&gt; Seaside@lists.squeakfoundation.org<BR>
&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;&nbsp;&nbsp;<BR>
<BR>
_______________________________________________<BR>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>