Re: CSS Confusion
Re: CSS Confusion
- Subject: Re: CSS Confusion
- From: Chuck Hill <email@hidden>
- Date: Thu, 04 Mar 2004 20:46:24 -0800
I don't recall having to do anything other than turning Direct Connect off.
The Apache cgi adaptor is installed by default. Images etc go in
/Library/WebServer/Documents. I do this in a Ant script or you can use the
split install feature.
Build and launch as normal. There is almost nothing to it.
Chuck
At 10:44 PM 04/03/2004 -0500, Kieran Kelleher wrote:
>Chuck, I have noticed you mention times that you avoid direct connect
>during development.
>
>What configuration changes are needed to my OS X Panther setup so that
>when I click build and run (or maybe there is different compile/run
>steps?) I get my app launching as regular deployment with Apache?
>
>Regards, Kieran
>
>
>________________________________________________________________
>Config = OS X 10.3.2 / Java 1.4.1 / WO 5.2.2 / MySQL 4.0.18 /
>Connector-J 3.0.11
>Blog: http://webobjects.webhop.org/
>
>
>On Mar 4, 2004, at 3:12 PM, Chuck Hill wrote:
>
>> It does not make all that much difference until you need rewrite rules
>> or
>> https or headers only supplied by the web server adaptor etc. And I
>> almost
>> always need those. Plus it gives me a warm fuzzy knowing that I
>> develop as
>> I deploy. :-) I hate surprises late in a project.
>>
>>
>> Chuck
>>
>> At 02:07 PM 04/03/2004 -0600, Jonathan Rochkind wrote:
>>> Even when using a real actual web server while developing, you could
>>> still put the .css in Web Server Resources and access through
>>> WOResourceManager. And it will still wind up in the web server root
>>> on building the project, and the URL generated for it should be one
>>> directly to the .css through your web server only, not going through
>>> WO. If you are using a real, actual web server (whether developing or
>>> deploying).
>>>
>>> The effect on your app are pretty much the same. It's largely a
>>> matter of personal preference; do you want the .css to be a part of
>>> your WO project, or do you want it seperate from your WO project?
>>> This may be a question you care more about if you have a large team
>>> with multiple responsibilities and a complex source control
>>> methodology. Personally, I prefer that the .css and other resources
>>> be part of the WO project, in Web Server Resources. And if they are,
>>> it'll work fine whether or not you are using a real web server during
>>> development.
>>>
>>> But this is a long-standing (and almost entirley insignificant, it
>>> doesn't really matter one way or the other) feud between Chuck and
>>> me. :)
>>>
>>> --Jonathan
>>>
>>> At 11:44 AM -0800 3/4/04, Chuck Hill wrote:
>>>> What I advocate is using a real, actual web server while developing
>>>> and not
>>>> DirectConnect. Then you plunk the .css file in the doc root where it
>>>> belongs, and reference in the page as /styles/main.css
>>>>
>>>>> 1) Be able to easily call the stylesheet
>>>> Yes.
>>>>
>>>>
>>>>> 2) Be able to deploy without editing any source
>>>> Yes.
>>>>
>>>>
>>>>> 3) Be able to see it work during development
>>>> Yes.
>>>>
>>>>
>>>> Chuck
>>>>
>>>>
>>>> At 01:26 PM 04/03/2004 -0600, James Cicenia wrote:
>>>>> Greetings --
>>>>>
>>>>> On wocode there are three methods of adding a CSS StyleSheet
>>>>> to the application. What is the best method to:
>>>>>
>>>>> 1) Be able to easily call the stylesheet
>>>>> 2) Be able to deploy without editing any source
>>>>> 3) Be able to see it work during development
>>>>>
>>>>> Thanks,
>>>>> James Cicenia
>>>>>
>>>>> _______________________________________________
>>>>> WebObjects-dev mailing list
>>>>> email@hidden
>>>>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>>>>
>>>>
>>>> --
>>>>
>>>> Chuck Hill email@hidden
>>>> Global Village Consulting Inc.
>>>> http://www.global-village.net
>>>> _______________________________________________
>>>> WebObjects-dev mailing list
>>>> email@hidden
>>>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>>
>>>
>>
>> --
>>
>> Chuck Hill email@hidden
>> Global Village Consulting Inc.
>> http://www.global-village.net
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.