Flash/AS3 Prototype showing access to the picture DB

[ November 4th, 2008 | Technology ]
protoype of vogue database image viewer

protoype of vogue database image viewer

…is available since last week. It’s an Flash/AS3 viewer simply simulating the principle of filtering categories by combo boxes like at the existing Vogue website. I’ll introduce it to you on thursday.

The technique behind is a PHP script on the “mmvr” server working as an “intermediator” (or proxy). It can simply be accessed by AS3 by disposing variables representing a database query. The script further translates the query into a JSON (JavaScript Object Notation; spoken like the name “Jason”) string and sends it to the database. The returning string is in JSON, too. The script now delivers it directly to the enquiring Flash/AS3 application, which decodes it itself (so the necessary PHP->Flash transfer is obsolete) and visualizes the gathered data as desired.

The Flash/AS3 source is available as a prototype for own student’s applications within the semester project. Furthermore the description of the database fields (for query and result) is available. Both will be presented soon in the blog.

Please consider by doing own experiments that there is a restriction of 10 accesses per minute to the database! Otherwise the stability of the server is at risk and the access to the database may be denied by Datenwerk.

MS

Comments | Trackback Jump to the top of this page

Leave a Reply

You must be logged in to post a comment.