[fpc-pascal] Howto create a (simple) PDF?

2009-03-30 Thread Lukas Gradl
Hello, for an application I need a possibility to create a rather simple PDF (Just a few lines of text, if possible in 2 columns). To do this I don't want to call an external program like latex or convert... Does anybody know some library helping on that task? regards Lukas --

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Dariusz Mazur wrote: > > > What about issue tracker. Its rather simple application, very small database > and for me work slow. > > > > > > > And what about transfer tons on JS to browser? > > > > > > > Ah, morfik has a nice thing for this: you can preload forms

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Eduardo Morras
At 23:05 30/03/2009, you wrote: I'll chime in, I did a haxe servlet server called hxServlet, it's available on libs.haxe.org. I'm thinking of doing something similar for distinction with a VM in a scripting language, but for something I have to compile anyway i'm not convinced of the wi

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Michael Van Canneyt pisze: On Mon, 30 Mar 2009, Dariusz Mazur wrote: Michael Van Canneyt pisze: I just want to make them in pascal and keep the codebase and know-how I have in my team. As I. I want (i;ve done succesfully) reuse 90% of desktop code in webbased. But

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread ritchie turner
I'll chime in, I did a haxe servlet server called hxServlet, it's available on libs.haxe.org. I'm thinking of doing something similar for fpc. First, hxServlet is like ruby on rails mongrel, indeed it uses the http header parser from mongrel, however it uses haXe's neko vm as the server, and it's

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Andrew Brunner
I don't know if I want to let the "cat out of the bag" sort to speak. Once I release the server out in the open there's not going back. This is more of a "feeler" message to see if there are motivated (or wealthy/influential) people out here - that are wanting to help delivering an affordable open

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Andrew Brunner
On Mon, Mar 30, 2009 at 2:26 PM, Dariusz Mazur wrote: > Andrew Brunner pisze: >> >> I've been reading this thread for a while and wanted to ask something... >> >> What if someone had a cluster based cloud computing server written >> entirely from the ground up in Delphi?  Including hot-swappable c

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Leonardo M . Ramé
Andrew, do you have an example, or web page where we can read more about the project? Leonardo M. Ramé --- On Mon, 3/30/09, Andrew Brunner wrote: > From: Andrew Brunner > Subject: Re: [fpc-pascal] Re: Servlet server for Fpc apps > To: "FPC-Pascal users discussions" > Date: Monday, March 3

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Andrew Brunner pisze: I've been reading this thread for a while and wanted to ask something... What if someone had a cluster based cloud computing server written entirely from the ground up in Delphi? Including hot-swappable core object for backend AJAX calls and all the major Web2.0 protocol i

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Adrian Veith pisze: Dariusz Mazur schrieb: Marco van de Voort pisze: In our previous episode, Michael Van Canneyt said: 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

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Dariusz Mazur wrote: > Michael Van Canneyt pisze: > > > > > > I just want to make them in pascal and keep the codebase and know-how I > > > > have > > > > in my team. > > > > > > > > > > > As I. I want (i;ve done succesfully) reuse 90% of desktop code in > > > webb

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Michael Van Canneyt pisze: I just want to make them in pascal and keep the codebase and know-how I have in my team. As I. I want (i;ve done succesfully) reuse 90% of desktop code in webbased. But you want to rewrite quite huge part to JS. Why? What for. Because some of the (ra

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Andrew Brunner
I've been reading this thread for a while and wanted to ask something... What if someone had a cluster based cloud computing server written entirely from the ground up in Delphi? Including hot-swappable core object for backend AJAX calls and all the major Web2.0 protocol implements (XMPP/HTTP/SMT

Re: [fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Bee
Well, like other discussions, we could discuss all about this forever. We can't force our POV, no matter how good the arguments to support it, to other people. Every each of us has our own needs which can be fulfilled with any approaches we think best to us based on our condition and situation. Wha

[fpc-pascal] Re: Servlet server for Fpc apps

2009-03-30 Thread Richard Ward
Michael writes: This is where the ship already sinks. I'll give you the 2 most common reasons: - Many clients have PC-classrooms, where such things are simply forbidden. - Windows Vista and security issues make installation and automated updates a pain. Not everybody is allowed to do inst

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Dariusz Mazur wrote: > Michael Van Canneyt pisze: > > On Mon, 30 Mar 2009, Dariusz Mazur wrote: > > > > > > > Michael Van Canneyt pisze: > > > > > > > On Mon, 30 Mar 2009, Dariusz Mazur wrote: > > > > > > > > > > > > > > > > > > I want to write my client-si

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Doug Chamberlin wrote: > Michael Van Canneyt wrote: > > What I want doesn't matter. Our clients want rich web 2.0 webapps. > > I just want to make them in pascal and keep the codebase and know-how I have > > in my team. > > > > If it was up to me, client/server would do th

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Marco van de Voort pisze: In our previous episode, Michael Van Canneyt said: 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 sh

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Doug Chamberlin
Michael Van Canneyt wrote: What I want doesn't matter. Our clients want rich web 2.0 webapps. I just want to make them in pascal and keep the codebase and know-how I have in my team. If it was up to me, client/server would do the job just fine. But I cannot ask all parents of all pupils of al

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Michael Van Canneyt pisze: On Mon, 30 Mar 2009, Dariusz Mazur wrote: Michael Van Canneyt pisze: On Mon, 30 Mar 2009, Dariusz Mazur wrote: I want to write my client-side GUI code in pascal. I have no wish to learn Javascript. All extensive computation (mostly queries and dat

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Adrian Veith
Dariusz Mazur schrieb: > Marco van de Voort pisze: >> In our previous episode, Michael Van Canneyt said: >> 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 ? >

Re: [fpc-pascal] sending signal to child process

2009-03-30 Thread Henry Vermaak
2009/3/30 Tom Carly : > Hi, > > > > I have a process A that starts another process B (with TProcess.Create). > > I introduced signal handling for SIGHUP, SIGTERM and SIGINT in process A and > process B. > > The signal handling of process A triggers a call to > “fpkill(processA.processid, SIGTERM)”

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: > > > 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 ? > >

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Dariusz Mazur wrote: > Michael Van Canneyt pisze: > > On Mon, 30 Mar 2009, Dariusz Mazur wrote: > > > > > > > > > > > > I want to write my client-side GUI code in pascal. I have no wish to > > > > learn > > > > Javascript. All extensive computation (mostly queries and dat

[fpc-pascal] sending signal to child process

2009-03-30 Thread Tom Carly
Hi, I have a process A that starts another process B (with TProcess.Create). I introduced signal handling for SIGHUP, SIGTERM and SIGINT in process A and process B. The signal handling of process A triggers a call to "fpkill(processA.processid, SIGTERM)" (or "processA.Terminate(0)"). This code i

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > 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

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Bee pisze: 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. Fast is relative. You may have a very good and fast algor

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
Michael Van Canneyt pisze: On Mon, 30 Mar 2009, Dariusz Mazur wrote: 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 becau

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
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

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Dariusz Mazur
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 cod

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
On Mon, 30 Mar 2009, Bee wrote: > > I want to write my client-side GUI code in pascal. I have no wish to learn > > Javascript. > > But, writing a pascal-to-js compiler obligates you to master JS as > well. Otherwise, you won't be able to generate correct and optimized > JS codes. If you can't k

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Bee
> I want to write my client-side GUI code in pascal. I have no wish to learn > Javascript. But, writing a pascal-to-js compiler obligates you to master JS as well. Otherwise, you won't be able to generate correct and optimized JS codes. If you can't keep the motivation up, you'll end up writing JS

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-30 Thread Michael Van Canneyt
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 pasca