On Feb 1, 2007, at 6:12 PM, Tom Benson wrote:
Two different beasts
Flash is compiled - When you load a page based on flash you
have to
download the whole flash program and store it client side.
AJAX is Scripted - It is a combination of Javascript, XML and JSON
which allow you to affect the contents of a web site in real time
using XML injection techniques to update the HTML source of a page
on the fly.
I guess you could liken AJAX more to WebObjects. Both have server
side scripting agents, yet use standard HTML as their display
output.
Actually, I wouldn't say that's entirely right. AJAX stands for
Asynchronous Javascript and XML, but it's a bit nebulous in
application. The thing that all its applications have in common is
using a web server feature that lets a browser fetch data from the
server in the background without having to ditch the current
page and
reload. The AJAX you're thinking of, which uses traditional HTML
elements along with CSS and Javascript to dynamically change
them, is
one way to do that.
But OpenLaszlo, say, uses that same browser feature to fetch
data to
an application running within your flash plugin.
OpenLaszlo is also scripted in Javascript and does pretty much the
same thing; it just updates a different set of UI widgets,
displayed
in a different manner.
As I see it, REALbasic could be generating a version of your
REALbasic application that runs within that same flash plugin. I
would think that along with that, it would be good to develop some
extra RPC and threading and whatnot features that make it easier to
communicate between the server and the client. But I would
settle for
a major subset of the features we have now, running under flash
inside your web browser.
If anyone wants a good idea of why I'm pushing on this, why I think
most of most REALbasic applications can run inside a web browser
just
fine like this, go to:
http://www.openlaszlo.org/
and click on "Featured Demos" in the bottom left hand corner. Note
how fast these come up (if you're on broadband) and how much like a
desktop application they are.
On 02/02/2007, at 11:07 AM, Daniel Stenning wrote:
So are we saying it would be more desireable to produce AJAX code
( which in
part is based on JavaScript ) from a future RB, rather than just
javascript
alone ?
Sometimes it is hard to keep up with the fads. I would like to
know for
example how a FLASH app compares to an AJAX web app in terms of
bandwith
demands. Since the FLASH engine is very able and rich
graphically
I would
think Flash would need less code for many tasks.
Regards,
Guyren G Howe
Relevant Logic LLC
guyren-at-relevantlogic.com ~ http://relevantlogic.com
REALbasic, PHP, Ruby/Rails, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>