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

2009-03-29 Thread Jürgen Hestermann
Most clients would never care whether you put the code in server or in browser, the just want to use your application with acceptable and reasonable performance. I do care because for security reasons I have switched off scripting at all (with FireFox NoScript plugin). I ignore all web page

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

2009-03-29 Thread Bee
> 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 algorithm on serve

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

2009-03-29 Thread Dariusz Mazur
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 writ

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

2009-03-29 Thread Michael Van Canneyt
On Sun, 29 Mar 2009, Bee wrote: > > (in fact, I don't think Java is fit to create any application, but > > that is another discussion, which is not on it's place here ;) ) > > Hahahaha... unfortunately, there are more Java frameworks out there > than Pascal which became very handy for anyone to

Re: [fpc-pascal] Disposing pointers and memory leaks

2009-03-29 Thread Joseph Montanez
Paul, No wonder i had memory that kept growning. Thank you soo much! On Sun, Mar 29, 2009 at 2:14 AM, Paul Ishenin wrote: > Joseph Montanez wrote: >> >>      New(Cursor); >> > > You allocated memory for Cursor >> >>      Cursor := DrawPixel(Screen, X, Y, 253, 253, 253); >> > > You assigned somet

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

2009-03-29 Thread Bee
> (in fact, I don't think Java is fit to create any application, but > that is another discussion, which is not on it's place here ;) ) Hahahaha... unfortunately, there are more Java frameworks out there than Pascal which became very handy for anyone to build complex applications. Performance and

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

2009-03-29 Thread Bee
> why is Java fit to create a web application and Pascal is not ? Who did say (in this thread) that Pascal doesn't fit to create web applications? I've been making tens of web application using Pascal. Since first time I made my own CGI wrapper unit, then migrated to Powtils because it has more us

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

2009-03-29 Thread Michael Van Canneyt
On Sun, 29 Mar 2009, duilio foschi wrote: > please excuse my ignorance, but I have a question I need to ask from long > time: > > why is Java fit to create a web application and Pascal is not ? There is no inherent reason why Java is fit to create a web-application and pascal is not :-) (i

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

2009-03-29 Thread duilio foschi
please excuse my ignorance, but I have a question I need to ask from long time: why is Java fit to create a web application and Pascal is not ? Why does one need to translate from Pascal to Java ? Thank you Duilio Foschi ___ fpc-pascal maillist -

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

2009-03-29 Thread Bee
> I have seen ExtPascal and looked at the ExtJS library which seemed > interesting, but if I am right the license is not LGPL or something > similar. If you understand the parser code which generate the wrapper units, you may able to enhance it to be able to parse other JS UI frameworks. Qooxdoo s

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

2009-03-29 Thread Bee
> And this is why I need the pascal-to-javascript converter... :-) Don't you have access to Morfik's JST technology? ;) Anyway, glad to hear you interested to PasJS, you may get the source code from Powtils' SVN (at googlecode). I hope you can continue the effort, or better, join also with ExtPasc

Re: [fpc-pascal] A bit off topic: iPhone developers

2009-03-29 Thread Jonas Maebe
On 29 Mar 2009, at 12:30, ik wrote: I have came accross the following blog: http://entitycrisis.blogspot.com/2009/03/something-rotten-at- apple.html If someome return your software, Apple return to the client it's money in full, but charge the developer to the same amount + commission. We

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

2009-03-29 Thread Adrian Veith
Bee schrieb: >> Using haxe for web applications is very effective, because you use the >> same language for back-end and front-end. With pascal4neko you can use >> your existing pascal code or use pascal for low level tasks. >> > > Have you heard about ExtPascal? It wraps ExtJS library into P

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

2009-03-29 Thread Michael Van Canneyt
On Sun, 29 Mar 2009, Bee wrote: > > Using haxe for web applications is very effective, because you use the > > same language for back-end and front-end. With pascal4neko you can use > > your existing pascal code or use pascal for low level tasks. > > Have you heard about ExtPascal? It wraps Ext

[fpc-pascal] A bit off topic: iPhone developers

2009-03-29 Thread ik
Hi, I have came accross the following blog: http://entitycrisis.blogspot.com/2009/03/something-rotten-at-apple.html If someome return your software, Apple return to the client it's money in full, but charge the developer to the same amount + commission. Ido ___

Re: [fpc-pascal] Disposing pointers and memory leaks

2009-03-29 Thread Paul Ishenin
Joseph Montanez wrote: New(Cursor); You allocated memory for Cursor Cursor := DrawPixel(Screen, X, Y, 253, 253, 253); You assigned something to Cursor. Thus it is not pointed anymore to your previously allocated memory. Dispose(Cursor); You are trying to deallocate

[fpc-pascal] Disposing pointers and memory leaks

2009-03-29 Thread Joseph Montanez
Im struggling to get into memory management and im having issues. New(Cursor); WriteLn('New Cursor'); Cursor := DrawPixel(Screen, X, Y, 253, 253, 253); WriteLn('Assign Cursor'); SDL_Flip(Screen); WriteLn('Render Cursor'); {It dies here were did cursor go?}