[Seaside] Working with CSS designers

Boris Popov boris at deepcovelabs.com
Sun Mar 11 18:39:22 UTC 2007


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.

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: Sun Mar 11 11:34:43 2007
Subject: Re: [Seaside] Working with CSS designers

What I do is take advantage of the fact that Comanche is a full web 
server.  I have a htdocs directory like one would have with apache with 
an /images directory.  I can verify the image can be served just by 
surfing to it as I would with apache.  Then my seaside app can simply 
reference the resources where they are (e.g. /images/logo.png).

If needed, I don't think it would be too hard to configure apache to 
take over the static content later, but it is nice for speed to just use 
Comanche while developing.

Boris Popov wrote:
>
> In our experience #2 worked best. Our designer mocks up a page in 
> html, styles it, I reproduce the code in seaside and voila. All the 
> styles are linked externally (linktostyle: in updateroot:) although 
> image is able to serve the files as well to take advantage of source 
> control as well as simplify develoment setup. In deployment the 
> resource URL points to an outside server that has a copy of the files. 
> I'm planning on blogging a little more about the details in the weeks 
> leadind up to my report at smalltalk solutions too.
>
> Cheers!
>
> -Boris
> (Sent from a BlackBerry)
>
> ----- Original Message -----
> From: seaside-bounces at lists.squeakfoundation.org 
> <seaside-bounces at lists.squeakfoundation.org>
> To: The Squeak Enterprise Aubergines Server - general discussion. 
> <seaside at lists.squeakfoundation.org>
> Sent: Sat Mar 10 20:36:50 2007
> Subject: [Seaside] Working with CSS designers
>
> I'd like to get some ideas on how to work with css editors. How do you
> work with them? What is your workflow for receiving and installing
> updated css stylesheets? I can think of a few ways, I'm sure there are 
> more:
>
> 1. Give them the image and let them run the image locally.
> If you do this, what is their workflow updating css files and viewing
> content? The only way I can get css to work when running a image locally
> is to use FileLibrary and to change the FileLibrary methods themselves.
> I haven't been successful finding a way to get seaside/pier to find css
> files that are external. Oh.. I take that back. If I use David's
> method[1], I can place the css files under FileRoot and the Kom server
> finds them. But PNGs referenced in the css files aren't found. Don't
> know why.
> I guess the css designer would need to deliver the text of the css
> methods and the webmaster can install however the web server is serving
> the css files.
>
> 2. Fake it and don't give them anything. Let them create their own html
> content for testing. I assume that this is the common practice.
>
> 3. Give them access to /seaside/<application> so they can toggle the
> halos and place css stylesheets using the "Style Editor" halo. As with
> #1, I don't know where to place PNG files so that css stylesheets can
> actually find the PNGs. Is anybody using this method to change css?
>
> 4. others?
>
> I'd like to hear what you do, since you guys have been running seaside
> sites much longer than me!
>
> thanks,
> brad
>
>
> ==
> [1]
> http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html)
>
> --
> brad fuller
>   http://www.Sonaural.com/
>   +1 (408) 799-6124
>
>
> _______________________________________________
> 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
>   

_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070311/893a5518/attachment.htm


More information about the Seaside mailing list