Michael Van Canneyt wrote:
Please explain why that isn't possible to do a conversion of such an app using
Javascript ?

Are you going to compile the pascal to javascript ?
I think that is one possible way forward.
What I am saying is that the solution always involves recoding the app.
(due to the asynchronous nature of things).
Some degree of recoding might be acceptable in certain situations.
Partially, the problems can be solved.
Yes there are issues where I can't see a clear way forward either.

But web apps are big and getting bigger.

You can read files from the server with Javascript.

Yes, but suppose I NEED the file on the browser side. Then what ?
Ok. You know this is actually a very serious and good question.

Now, there are actually many javascript libraries that will edit a wordprocessing file in the browser and let you save it on the local disk. You can upload it and store it on the server also.

and I MUST start Word, have it fill in some document and send it to
the printer. Then what ?
There are browser based Word compatable editors that are now available. Click send and they will send the document to the printer.

It shapes my actual IE or Firefox Webbrowser window ? Can you prove this ? Screenshots ?

I'm NOT talking about the content inside the browser window, that's easy,
or even a window floating inside the browser window. I mean the actual browser window.
No, not at this stage (and maybe never)
Only my idea of 'recompile and run in browser' is:
an absolute no-effort, load-existing-desktop-app and recompile kind of thing: no compromise on previous functionality. (such as moving files from the desktop to web server).

And _that_ is definitely out.
So we are throwing "write-once-compile-everywhere" out ? :-)

whether or not we make it no effort is something that is up to us.

This was even not possible with the win32->.net change in Delphi.
There was always reworking involved :/ (vanilla apps not considered)

If we're talking 'coding an app in Lazarus as if one was coding a desktop
app' then my answer is: yes, this is possible. See e.g. Delphi's Intraweb.
(but then much more advanced). What is more, we're working on it. Slowly
but surely...
So the answer is yes... possibly sometime in the future...

That's nice to hear....

:-)


David

Reply via email to