Cover photo
Wolfgang Klopf
Works at zooom productions
Lives in Vienna
119 followers|62,518 views


Wolfgang Klopf

Shared publicly  - 
#redtamarin proudly launches
the 1st web site ever entirely programmed in #AS3

here the basic software stack:
- Linux Ubuntu 64-bit for the operating system
- Apache for the HTTP server
- Redtamarin for the backend programming
- CouchDB for the database

and here some more details :)

- we use 5 CouchDB databases
1 for the Burrrn web site (global config and stats)
1 for the changelog
1 for the services data (color, icons, faviocn, etc.)
1 for the video in general (global stats, latest, popular, etc.)
1 per service: so for now youtube (again stats, latest, popular, etc.)

- the video data informations are directly fetched from a youtube HTML page, then parsed and stored in a json file for caching
(only the data from latest and popular are cached)

- it is all CGI but with a twist :)
there is a router to map URL to class/function
all that supports all the different HTTP verbs like GET/POST/PUT/DELETE/etc.
there are HTTP request/response parsers/generators
there are dynamic templates supporting keyword replacement, if/else/while/for/etc.

- rendering one page do a shit load of stuff but still the speed is not bad at all :)
look at the Home page source code for an example, well this is a simple page, look also at the template of the Home to get an idea, ok it is simple but within the code you can basically embed templates inside templates inside templates

- everything is rendered, except the Error 500 page
I did it by hand but next feature will be the option to generate a static HTML page from a dynamic page hehe, not only for the special case where a page HAVE TO be static but also for performance with caching or if you use a CDN, anyway see the screenshot

why the error 500 have to be static ?
it is because we use CGI, if something breaks Apache has a tendency to jump right away at the Internal Server Error page
a custom one is just nicer :p

- it deal with both dynamic virtual path and real path
  for ex:

  /about is a virtual path
  when the request hit the server the path is sent to the router
  which check in its mapping if a page match or not

 /youtube/MZoO8QVMxkk is a dynamic virtual path
 "MZoO8QVMxkk" is a variable "videoid"
  we declare it like that
  map( "/youtube/:videoid", SomeClassFunction )

 are all real path that can coexists with the virtual paths
 so you can have the best of both worlds

- here the htaccess file
ErrorDocument 500 /500.html

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ [QSA,L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]

dead straightforward and simple :p

everything is handled by one single ABC file
I did that at first to keep things simple but in fact
it is extremely convenient :D

the last rule about the "HTTP:Authorization" is for the login of the admin panel (CGI got a little bug in that it does not redirect this header so you have to force it)

All in all developing a full web site in AS3 has been a great experience, and that lead to this thinking:

It is much much much much better to be able to code in AS3 server side than to replace JS with AS3

I tested this site/app with JS disabled and it works because the JS used is just a bit of glue code this and there

once you don't focus your whole app structure with JS client side then JS is just a bonus thing to make things look nicer and not an essential part of your app

anyway, it is just the beginning but so far I love the experience :)
View original post
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Can anyone confirm? Adobe got rid of its #PhoneGap people + #HTML5 evangelism cut off + internal communication between Flash IDE team and marketing asking to stop bashing the #FlashPlayer = "Flash Pro allows you to create content that runs without Flash Player" is now forbidden. 
5 comments on original post
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Building Air applications (Last updated 1/13/2015)
bernd Gerdemann's profile photo
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Flash Player / AIR - current stats! 
3 comments on original post
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Adobe AIR Beta Channel Update This beta release provides access to the latest AIR SDK (with compiler) for Windows, Mac OS, iOS and Android.  You can
bernd Gerdemann's profile photo
Add a comment...
Have him in circles
119 people
Maylor Bax's profile photo
Benedikt Rausch's profile photo
Eric Hélier's profile photo
Florian Fleck's profile photo
Shivdas Shinde's profile photo
Jan Wähning's profile photo
Michael Trim's profile photo
Shawn Blais's profile photo
Rw Liebenberg's profile photo

Wolfgang Klopf

Shared publicly  - 
National Geographic, eBay, Disney, and Rovio are some of the many companies that are taking their services to desktops and mobiles, with the help of apps powered by AIR. You have probably played a favorite game without knowing that it runs on AIR. The Adobe Integrated Runtime is quickly becoming ...
bernd Gerdemann's profile photo
Add a comment...

Wolfgang Klopf

Shared publicly  - 
Developing Native Extensions
for ADOBE® AIR® (Last updated 1/13/2015)
Add a comment...

Wolfgang Klopf

Shared publicly  - 
January 13, 2015 @ 8:00 AM PST 

Please join us for a tour of the latest features in Flash Professional CC, such as native support for HTML5 Canvas & WebGL, Custom Platform Support (Cocos2D, Starling, AwayJS, OpenFL etc.) and much more.

Joining us will be some of the most established members in the digital animation industry:
Joining us will be some of the most established members in the digital animation industry:
•  +Grant Skinner  CEO & Creator CreateJS
•   +Joshua Granick  CEO, OpenFL Technologies
•  +Rob Bateman  Founder & Managing Director, Away Studios
+Denis Balon  , COO GAF Media

Join here a few moments before the start time. Select the guest option and sign in with your full name. 

[ via Ajay Shukla, Sr. Product Manager, Flash Professional from ]
Flash Professional CC: The Future of Animation
Tue, January 13, 11:00 AM 

7 comments on original post
Add a comment...
Cross Platform Mobile Application & ANE Developer
ActionScript, Brightcove JS & AS plugin dev., Java, Objective-C
  • zooom productions
    application developer, 2009 - present
Basic Information
Wolfgang Klopf's +1's are the things they like, agree with, or want to recommend.
Adobe AIR and Android 5.0

Google has recently started rolling out an update to Android (OS 5.0 – Lollipop) on select devices. Unfortunately, this operating system upg

Versioning of multiple APKs for Android

Recently, with AIR 14, we announced x86 support for AIR applications. In this article, we explain how should developers manage the binary up

Shape Slash

Try this new exciting puzzle game from independent developer Lemon Frog. Connect at least two matching nodes to draw a line or a closed shap

Safari on iOS 7 and HTML5: problems, changes and new APIs | Breaking the...

Today Apple has started to roll out iOS 7 for most users; and in a couple of days the new devices iPhone 5S and iPhone 5C will be on sale. A

Adobe® Photoshop® Touch

Transform your images with core Adobe Photoshop features in an app designed for tablets.Combine images, apply professional effects, share re


Coton is a beautiful cloud identification app for your Android Phone.Identify clouds by browsing stunning pictures and detailed descriptions

Use Cross-Domain Tracking in an Experiment - Analytics Help

If your visitors cross from one domain to another during the conversion process (eg: from your shopping-cart domain to a payment-gateway dom

Race with Red Bull in aid of Wings for Life

Join Sebastian Vettel and Mark Webber at the British Grand Prix - both Red Bull Racing’s F1 cars will be covered in a collage of fans’ pictu

Cootie Crush

Crush swarms of cooties beneath your fingertips. Clear them all before time runs out and advance to the next challenge. Cootie crushing fun

“Introducing Starling” book update – O’Reilly -

Hi everyone! I just updated the Starling ebook. If you already downloaded it in the past, just download it again from your ebooks downloads

Stage3D compressed textures – Introducing the ATF SDK -

We introduced Stage3D last year and the momentum behind has never stopped growing but there is one area we did not give all the details. The

Drawing API with Starling -

This week a very cool contribution was added to Starling by Robert Silverton, the Graphics API Extension! So what is it? From github: This e

Introducing ASC 2.0 -

A few minutes ago we just posted a preview on Adobe Labs of the new ActionScript Compiler (ASC 2.0) as part of the AIR 3.4 SDK. You can find

Focusing -

I just posted my thoughts on the Flash Player team blog, about the recent announcements we have made regarding Flash Player support on mobil | Wolfgang Klopf

Wolfgang Klopf is actionscript developer focusing on cross platform mobile applications and dynamic websites build with Adobe Air and Adobe