|
|
Home |
|
Flash PHP
Hypertext Preprocessor (PHP) is a
server-side, HTML embedded scripting language used to create dynamic Web pages.
In an HTML document, PHP script is enclosed within special PHP tags. Because PHP
is embedded within tags, the author can jump between HTML and PHP instead of
having to rely on heavy amounts of code to output HTML. PHP is executed on the
server.
PHP's strength lies in its compatibility with many types of databases. PHP can
talk across networks using IMAP, SNMP, NNTP, POP3, or HTTP.
What is Flash Remoting?
Flash Remoting is a Flash MX specific feature which allows you to execute Remote
Procedural Calls (RPCs) via Flash MX and transfer serialized, type-persistent
objects directly between the server and a Flash MX client.
In more simple terms, Flash Remoting allows your Flash MX movie to exchanged
typed data directly with a server-side language, allowing for increased and more
easy integration between the front-end and backend of your site. For example,
you can send an array from your server-side language into Flash as an array,
instead of as an XML object or a String representing an array (which you process
within Flash to turn back into an actual, Flash readable array).
The major use for Flash Remoting is in creating Rich Internet Applications (RIAs).
In other words, using Flash not just as an animation tool, or even a jazzy HTML
interface, but as the GUI and client for a full-scale, service providing,
Internet application.
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
What Flash MX Remoting isn't.
Flash MX Remoting is not the same as Flash Communication server, which is also
receiving a lot of attention now (March, 2003). Communication Server is the new
Flash technology which allows for video and audio streaming and recording,
Server Side ActionScript, Remote Shared Objects and "Data Push", among other
things. Both Flash MX Remoting and Flash Communication Server (IMHO) are going
to go a long way to making Flash an even more dominant player in the market than
it already is, but it's important not to get the two confused.
flash
PHP flash PHP flash
PHP flash PHP flash
PHP flash PHP
What is PHP Remoting?
Macromedia designed Flash MX Remoting mainly as a direct link between Flash MX
and Cold Fusion MX. The protocol used in Flash MX Remoting is called
ActionScript Message Format (AMF) and is (at the time of writing) a proprietary
format (non open-source). After the release of Flash MX Remoting (for Java, .Net
and Cold Fusion) certain open-source developers who favored PHP as their
server-side language of choice, decided to investigate the binary AMF format and
create their own Gateway (or 'translator') so that Flash MX Remoting could be
integrated with PHP. The result is the
AMFPHP project.
lash
PHP flash PHP flash
PHP flash PHP flash
PHP flash PHP
Why use Remoting?
Remoting will drastically reduce the amount of work you have to do when
exchanging large volumes of data between Flash and a server because it allows
for direct exchange of Objects; meaning you don't have to break down delimited
strings or pass lengthy XML.
Further, the AMF format used in Remoting is binary, so it is considerably less
verbose than XML and XML-based methods such as WDDX serialization, so it will
download faster. That is not to say that XML isn't great - keep in mind that a
binary AMF file, unlike an XML file, is not at all human-readable; one of the
key pros for using XML.
Because of its object oriented nature, Flash MX Remoting also allows you to
develop a single set of server side scripts which can serve both a Flash and a
non-Flash front end for your site. You can separate the presentation and
formatting of data from the application layer, creating application layer
scripts which just output objects and don't care what is done with them, whether
they are used by Flash or read in by another server side script and formatted
for an HTML page. If your customers want both a Flash and a non-Flash front-end
for their site, look no further than Remoting.
Finally, Remoting is just easier than doing it in any other way. Less coding is
involved, bug testing is made simpler and coupling is tight.
Contact us
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
Flash PHP
|
|