Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Gino Pacitti via Webobjects-dev
I wish we could as a group finance an update to WO and make it viable. So many people now writing with Node, park and Python for asynchronous services... > On 2 Jan 2020, at 18:31, Jérémy DE ROYER via Webobjects-dev > wrote: > >  Hi all… and Happy New Year ! > > For this new year, I’de lik

Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Aaron Rosenzweig via Webobjects-dev
Sounds like you have your feet straddling two different worlds. You could consider building parts of your app in pure JS while other parts in WO. You could do persistence with REST for your pure JS apps that are served by WORest. You could use JSON web tokens to have authentication that is shar

Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jérémy DE ROYER via Webobjects-dev
We only need it for our web commerce app were the front-end part of changes is really important. The advantage of this, compare to use jQuery inside the client browser, is the possiblities to : - avoid the one-javascript-with-bug-blocks the entire page - call other apis without showing it to the

Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jesse Tayler via Webobjects-dev
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 o

Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jérémy DE ROYER via Webobjects-dev
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 hav

Re: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jesse Tayler via Webobjects-dev
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 > 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

WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jérémy DE ROYER via Webobjects-dev
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