Re: WebObjects and Javascript Response Rewriter
Re: WebObjects and Javascript Response Rewriter
- Subject: Re: WebObjects and Javascript Response Rewriter
- From: Jesse Tayler via Webobjects-dev <email@hidden>
- Date: Thu, 2 Jan 2020 13:47:01 -0500
I see.
Well, that’s a bit of a trick but of course, you can decide what you’d like to
do.
I once realized that my UI elements often needed settings, defaults and
configurations to exist in javascript — it seemed a waste and trouble to create
new components of course, in my case, I use a lot of D2W and did not need
programming outside the regular dev tools — but I did move the css and
javascript additions into D2W rules, which made the component reliable and the
programming of details often a matter of copying configurations you know work
and writing the rule to determine when that script should be placed into the
component.
In your case, it sounds like you might want a way they can write HTML /
javascript components that are pulled from your app and then vended from the
server.
Or better yet, a stub of your page with only the HTML required to jump off a
few queries to render the rest of the page using largely website type tools
with html segments deployed somewhere.
My sense is this would not be clean and likely won’t work out the way you’d
really like it to, but who knows! Your situation might lend itself to some
design choice like these and maybe that works for you.
> On Jan 2, 2020, at 1:40 PM, Jérémy DE ROYER <email@hidden>
> wrote:
>
> Hi Jesse,
>
> for the moment we are using jquery to modify the html code, but after
> rendering in the client browser and our front end designers don’t feel like «
> real » developpers.
>
> I would like to give the possibility to our front-end (javascript) designers
> to add their custom js code without having to change the back end that is all
> written in java with webobjects
>
> is this better explained ?
>
> Jérémy
>
>> Le 2 janv. 2020 à 19:33, Jesse Tayler <email@hidden
>> <mailto:email@hidden>> a écrit :
>>
>> I might be confused —
>>
>> Don’t you already have control at both ends?
>>
>>
>>> On Jan 2, 2020, at 1:31 PM, Jérémy DE ROYER via Webobjects-dev
>>> <email@hidden <mailto:email@hidden>>
>>> wrote:
>>>
>>> Hi all… and Happy New Year !
>>>
>>> For this new year, I’de like to add a javascript postprocessor to the
>>> webobjects response.
>>>
>>> I mean I would like to give our front-end developpers the possiblity to
>>> rewrite the reponse… before sending it to the customer.
>>>
>>> Have any of you already done such a mechanism ?
>>>
>>> Jérémy
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
_______________________________________________
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