I’m in sunny Brighton (honest) for Microsoft’s Remix conference, which is loosely intended as a local version of the Mix event held in Las Vegas earlier this year. A contrast after Google Developer Day earlier this week. Corporate VP Scott Guthrie, who is in charge of the .NET Developer Division, is giving the keynote along with Bill Buxton, Principal Researcher. More news as it happens. Got any questions for Scott Guthrie? If so, comment here or email and I’ll try to slip them in.
Monthly Archives: September 2008
Zend PHP Framework adds support for Adobe Flex, AMF
The PHP company Zend has announced a collaboration with Adobe to integrate AMF (Action Message Format) into the Zend Framework. AMF is an efficient binary format which is more efficient for transmitting data than text-based formats like XML or JSON. Zend and Adobe are also collaborating to improve their tools for work with applications that use PHP on the server and Flex or AIR on the client.
More info here.
Google’s plans for Gears
I attended Aaron Boodman’s session on Google Gears, here at Developer Day in London. Boodman is an engineer on the Gears team. He gave us a quick tour of the main features, most of which was already familiar to me, but I picked up a couple of interesting things. He told us that Google hopes Gears will eventually become a standard part of HTML, implemented by every browser. Some parts of Gears just implement things that browsers should do already, such as the ability to upload multiple files in one operation. Boodman would also like to see Gears enabled by default for all sites, rather than being enabled per-site as it is at the moment.
Or is it? What I had not realised is most of the Gears API is already accessible to any site, even if it is not in your “Gears enabled” list. It is only certain features, such as the ability to create a local database, which require specific consent.
That raises the question of security. I asked about risks like sites creating malicious desktop shortcuts disguised as good ones. Boodman says that creating a shortcut always raises a dialog so the user should spot this. What about reputable sites infected with malicious code? Boodman figures that if you are browsing such a site you are in trouble anyway.
Gears is built into Chrome and part of a consistent Google theme: upgrading the browser to make it a better platform for applications.
Why Google doesn’t use Flash (much)
Here at Developer Day, I couldn’t decide between the sessions on Android and App Engine, so ended up hearing Ajaxian Dion Almaer talking on the state of Ajax. Almaer also works for Google on its developer programs.
The talk was a bit fuzzy and high-level for my taste, though I enjoyed his tour of JavaScript libraries.
Following the talk I asked him why Google makes little use of Adobe Flash (which he hardly mentioned). He said it would like to, but did not regard it as an open platform. I asked him what Adobe would need to do to change that, and he said that the key things would be to open source the Flash player, and to give the community more influence over future Flash development.
Might this happen? Almaer said that it is a subject of ongoing discussion with Adobe. The implication is that if Adobe makes these changes Google will start supporting and using it more actively.
It will be an interesting subject to take up with Adobe when I next have that opportunity.
Actual Android device spotted at Google Developer Day London
During the keynote at Google Developer Day London, Android evangelist Mike Jennings gave us what he says is the first showing of an actual device – prototype, of course – in Europe. I took a few blurry pics.
Perhaps inevitably, it seems reminiscent of Apple’s iPhone. It even has an accelerometer so you can code it to respond to tilts and turns.
The web browser is based on WebKit, of course.
We were shown a spinning cube created in Java using an OpenGL library. The Android SDK is based on JDK 1.5.
Another thing that was mentions is Gears for Mobile. Now that Gears has a geolocation API it will be particularly useful in this context.
A smile at Google Developer Day London
I’m at Wembley Stadium for Google Developer Day. No, Google is not filling the entire stadium (yet); but it is a decent venue. On arrival we were given the usual USB stick though this one is distinctive:
Made me smile after reading nothing but gloomy economic news on the journey over.
I’m not expecting news announcements today; just a bit more detail on initiatives like App Engine and Gears. The agenda was put together before the Chrome announcement; but I’m hoping Google’s new browser will make an appearance as well.
If you are here and would like to chat please come and say hello – tell me what you think of Google’s developer activities.
Sophos video about hacked BusinessWeek site
Sophos has a short video showing evidence of a hacked page on the BusinessWeek web site. I was impressed by how Google Chrome handled this:
The interesting point is that we are finding malicious JavaScript on highly reputable sites. Sophos says this one was caused by SQL injection, and I noticed that the page uses Microsoft’s old .asp technology in which it was particularly easy to code insecurely.
What’s the solution? Beats me; there are just zillions of insecure web applications out there. However, it’s disappointing that BusinessWeek still has not cleaned up the pages, which were reported last week (but perhaps that means last thing Friday).
Google Chrome for Mac and Linux will be a long while coming
When I looked at the Chromium source code and did a build, I noticed how much of it was Windows-specific. Although the WebKit rendering component is already cross-platform, it seems that the Mac and Linux versions of Chromium and therefore Chrome are a long way from ready. This is from the build notes for Mac OS X:
Right now, the Mac build is a work in progress that is much closer to the start than the finish. No application that renders web pages is generated at the end of these instructions!
Cross-platform work usually involves compromises, and it looks like the Google team pointed the dial more towards optimising for Windows than towards ease of porting. That surprises me, since it likely means more work maintaining the application for several platforms as well as delays now.
Chrome’s ambitions as an application platform cannot be realised until it runs on the Mac. Further, a disproportionate number of web designers and developers use Apple.
How long is a long while? Good question. I’ll be seeing some Google folk tomorrow; I’ll let you know what they say.
Streaming media to a PSP
Here’s a Playstation Portable streaming music from FLAC files on a Linux server.
What’s going on here? Well, this is the PSP’s Remote Play feature, which lets you view and control a PS3 remotely. As I mentioned before, the FLAC files get transcoded to PCM on the fly by Mediatomb, a free and open source DLNA server for Linux. The clever bit is that this works across the Internet as well as on a local network, allowing you to play your FLAC library from anywhere with a wi-fi connection.
There are a couple of snags. Although the sound is decent, I get occasional stutters which spoil the effect. It also strikes me as inefficient (which means not green), running both a Linux server and a PS3 at home just to play music on the move. So this isn’t all that practical; but I found it an interesting experiment.
I’m not sure why Sony hasn’t joined all the dots with the PSP. It has a great screen, good sound, and would make a delightful streaming media client if the software were better. As it is, the only supported way (that I know of) to stream media is via the RSS client, which is far from ideal, or with the Remote Play feature as above.
Modelling: Can Microsoft succeed where others have failed?
More reflections on Oslo, over at the IT Job Blog.