[fpc-pascal] Servlet server for Fpc apps
Michael Van Canneyt
michael at freepascal.org
Mon Mar 30 09:23:41 CEST 2009
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.
Michael.
More information about the fpc-pascal
mailing list