Google released
version 1.0.2 of the Google App Engine SDK two days ago. If you're using
Google App Engine, you should definitely upgrade.
You can find a list of fixed issues in the release notes, including the template cache issue that I was running into.
Also, it's not in the release notes but I just confirmed that the app.yaml skip_files issue has also been fixed. So you don't need the patch any longer.
I also tested the latest version of The GAE SWF Project and it works out-of-the-box with version 1.0.2.
I've moved the common base classes for the framework to the
actionscript folder in the root of the project. Add this folder to your class path in both Flash and Flex projects.
Note that your document class in Flash projects should extend org.gaeswf.flash.BaseApplication and your Application MXML in Flex should be of type org.gaeswf.flex.BaseApplication (if none of this makes any sense to you, see my Flex 3 Code Behind Quick Start.)
Remember that I'm constantly updating the framework and will continue to do so as we build Singularity. Expect changes!
Update: Apparently, I blogged it but didn't push it up to appspot. Doh! So instead, you get an even more updated version 1.34 now.
The new additions are currently only to the Flex client and include a public state in addition to Home (which led me to revise and generalize how I was handling the deep links back from login and logout to support apps with a mix of authenticated and non-authenticated states).
The new public state is called "Mouse wheel" and demonstrates how to make the mouse wheel work in Flash on OS X (it doesn't by default) by using Ali Rantakari's excellent ExternalMouseWheelSupport package.
Update: I just saw that the site had validation errors which I've now fixed. It validates as HTML 4.01 Strict. This is not in the 1.34 source release but will be in the next one.
Update: They're on it!

In the meanwhile, the suggested workaround is to add debug=True to your template.render() methods (pass it as the third argument, i.e., after the context).
Update: As of 2.30pm (when I last checked), the app appears to be working again. I've made no changes whatsoever.
If you hit the Flash or Flex client on The GAE SWF Project right now, you will be greeted with a page long traceback.
I've just opened issue 273 on the Google App Engine Issue Tracker to track this and added this comment on the forums.
The problem is that the error never occurs locally when developing and testing with the Development Web Server and randomly starts happening on appspot (the app will work well for stretches of time and then start failing 100% of the time.)
The last time this happened, issuing an appcfg.py update . fixed the issue but I'm not going to do that now in hopes that seeing the error will make it easier for Google's engineers to fix it.
I just released version 1.33 of
The GAE SWF Project and, as tradition would have it, need to head to bed in the next few minutes lest I should expire.
The updates in a nutshell:
- The Yahoo! Astra TabBar component does not show the focusRect when navigating by keyboard. I fixed this for the example but I'm going to talk to my friends at Yahoo! so that this can be implemented in a reusable way in the component itself. See the latest Flash 9 client demo and navigate with the keyboard to see the focusRect in action.
- Added tab indexing to the Flash 9 client.
- Added an extra (optional) field to the profile page so you guys can express yourselves!
- Synced the Profile screens for the Flash and Flex clients.
- Lowered the keyboard delay on server-side validation to 500ms
- Server-side validation no longer locks the submit button on the Profile screen.
- Released version 1.33 of the source code.
Check it out here.
How cool, I just heard from Brajeshwar on Twitter that The GAE SWF Project is currently the featured application on the Google App Engine Application Gallery.
I released the proof of concept Flex 3 client late last night after the initial Flash 9 client release last week and I'm look forward to writing more about it in a future blog post.
And, far from being a theoretical exercise, the very pragmatic GAE SWF Framework is going evolve and get put through its paces as we use it to build the web application for the Singularity Web Conference. I can't wait!
Exciting times!
I just updated
The GAE SWF Project to version 1.20 on appspot.
A quick list of changes:
- Pulled out
BaseView and BaseApplication classes.
- Simplified service calls. You no longer have to use Service.call() and pass a reference to the view instance. Just use
execute("service.method", arg1, arg2, ...).
- Fixed a bug where the app was remembering the initial deep link on logout. Logouts now take you to the root of your Flash app.
The big change is that I've pulled out base application functionality so that your Application class now only contains logic specific to your particular application and not to GAE SWF applications in general.
Check out The GAE SWF Project on appspot.
Recent Comments