Re: Reusable components
Re: Reusable components
- Subject: Re: Reusable components
- From: Darich Runyan/OMNI INFOSEC LTD HQ <email@hidden>
- Date: Fri, 22 Oct 2004 16:40:03 -0400
Chuck,
I was able to get this working with some help from Jean-François but after
talking with the graphics guys I think that we are most likely going to
manage the graphics directly from the root/images folder. This, from what I
can tell, makes for a much more manageable solution from a collaborative
development standpoint.
Thanks again,
Darich
> From: Chuck Hill <email@hidden>
> Date: Fri, 22 Oct 2004 11:57:17 -0700
> To: Darich Runyan/OMNI INFOSEC LTD HQ <email@hidden>
> Cc: WebObjects Development <email@hidden>
> Subject: Re: Reusable components
>
> Many will argue with me. Let them rant, I say. :-P
>
> Do not include these shared resources in your project. Keep them in
> the web server's doc root where you, your app, and (here is the
> important part!) the graphics guys can all access them. When they
> update the images, there is no need for you to update your project.
> They can design new pages without getting the images from your project,
> nothing gets out of synch.
>
> Then in your image tags, use relative URLs that start with '/', e.g.
> <img src="/images/navigation/navbar.gif">
>
> To make this work you can't use DirectConnect (I think, maybe there is
> a way). This is also, IMHO, a good thing as you develop as you deploy.
>
>
> Anyway, that is my two cents on the subject.
>
> Chuck
>
>
> On Oct 21, 2004, at 6:41 PM, Darich Runyan/OMNI INFOSEC LTD HQ wrote:
>
>> All,
>>
>> Just recently finished up my first production WO web app. I took the
>> easy
>> route and focused only on the logic, didn't mess with any of that
>> stinking
>> graphics stuff. ;^) Now that the app has completed testing and is
>> deployed
>> the client wants me to work with the graphics design group to pretty
>> it up.
>> The layout that the graphics guys have come up with have a lot of
>> sections
>> that are juicy for reusable components so I started to look into how to
>> create one today. I created a new framework and build the reusable
>> component within the framework. I also included all of the images
>> that the
>> component needed within the framework. I then added this new
>> framework to
>> my test application and it worked fine except it did not show the
>> image that
>> I was looking for, it output the following error within the HTML
>> output:
>>
>> <img
>> src="/cgi-bin/WebObjects/Authors.woa/wr?
>> wodata=ERROR_NOT_FOUND_framework_*nu
>> ll*_filename_navbar.gif">
>>
>> Do I need to capture the resource somehow in order to display it?
>>
>> Thanks,
>> Darich
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> village.net
>>
>> This email sent to email@hidden
>>
> --
> Practical WebObjects - a book for intermediate WebObjects developers
> who want to increase their overall knowledge of WebObjects, or those
> who are trying to solve specific application development problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden