[fpc-pascal] Servlet server for Fpc apps
Michael Van Canneyt
michael at freepascal.org
Mon Mar 30 13:44:29 CEST 2009
On Mon, 30 Mar 2009, Dariusz Mazur wrote:
> Michael Van Canneyt pisze:
> > On Sun, 29 Mar 2009, Dariusz Mazur wrote:
> >
> >
> > > > > Why does one need to translate from Pascal to Java ?
> > > > >
> > > > >
> > > > Not from pascal to Java, but to Javascript: The browsers only understand
> > > > javascript. Translating pascal to Javascript means you can write
> > > > browser-side code in pascal, and then send it to the browser.
> > > >
> > > >
> > > May I ask when do You need write ordinal code parallel on browser and
> > > server
> > > side? What kind of computation? For me 99% of code should be on server. As
> > > You
> > > write we have very fast (because compiled) application on server. Each
> > > user
> > > action can be transform to server, computed and results sand back to
> > > browser.
> > > Only for critical section we should write JS script. GUI is write once,
> > > independent (as ExtJS)
> > >
> >
> > I want to write my client-side GUI code in pascal. I have no wish to learn
> > Javascript. All extensive computation (mostly queries and database stuff)
> > happens on the server, but the GUI must be programmed in Javascript because
> > that is all the browser understands.
> >
> Yes, You have to had client-side write in JS. But its not so huge as You
> imagine.
> But maybe I dont understand your need.
> You think about counterpart of LCL level, or computation wide consist in event
> (form.onclick, form.onedit) function in Delphi ?
All events and almost any class I need should be available in the client...
Michael.
More information about the fpc-pascal
mailing list