Better-than-Flex Binding

Tyler has ‘officially’ released his weak-reference databinding. It is smaller and faster than Flex’s but can be used in Flex and even has an MXML tag to create a bind. Check it out: http://www.xtyler.com/code/177.

Update: I’ve refactored it and unit-tested it, fixing several bugs. The new version can be found on github.

360 Flex, best developer conference

I just got word I will be speaking at 360 Flex. I’m really excited. I’ve had a lot of fun there in the past and the crowd is much more developer centric than other conferences, which makes for more interesting conversations and presentations. I recommend 360 to anyone, but especially to developers. Go register now.

I’ll be presenting “Cloud computing with Flex”. I’ll talk about the services available to scale your application, but I want to focus on how you can build an app with zero server-side code. It’ll be an AIR app that stores its data on the cloud.

Here is my badge of honor

360flex2

Ready to play

I’ve been so busy with client work I haven’t written for a long time. I was even invited to speak at MAX through a referral from Tom and John with 360|Flex and wasn’t able to write about it. I was so busy with client work when I wasn’t doing that I was preparing my presentations.

After this week I will be mostly done with a large project deadline and have time to get back to writing. There’s much I want to talk about. Including a RESTful website system I’ve helped build on PHP’s Zend Framework, cool stuff with cloud computing, and maybe even some Python. I’ll be happy to get back to doing Flex and ActionScript again.

Tyler has been working hard on a design editor that will be able to create drawing API skins visually. I’m excited for that! He’s even considering cleaning up the transform library as a package and selling it similar to GreenSock’s. Tyler is such a smart developer, I wish I had money to keep him busy making me code libraries all day.

I just submitted my 360|Flex session proposal for this year’s Indianapolis conference. I’m way excited. I want to talk about cloud computing and how you can use it with your Flex projects. I want to build an app for it that runs 100% off of services and uses no server-side code. It will be a contacts manager if I don’t have time. If I do have time it will be a web CMS in AIR that publishes to Amazon S3. That would be cool huh? :)

Ubuntu on Mac for Web Development

Geek alert: this post gets into Linux and other such topics. More geeky than I usually get.

I have finally got my setup complete. I got tired of trying to find Mac binaries of all the libraries I wanted installed for web development, and I’ve been doing much more PHP this month than Flex. So I reworked things. Here’s my setup:

  • Ubuntu Server 8.0.4 running on VMWare Fusion
  • lighttpd web server, learned it in a few hours and loved it (thanks Jake)
  • sshfs to mount my ~/Sites folder to the /var/www/ folder on the Ubuntu VM

Installing Ubuntu Server on VMWare wasn’t a problem. I tried it on Parallels and it wouldn’t boot after the install, so thought I’d try the other. Now I may have to buy it unless they want to give me a copy for blogging about them (hint, hint). :)

After installing Ubuntu, I gave root a password I could connect with: sudo passwd root

Then I ssh’ed in from my terminal. Mostly because I can make the screen bigger and scroll it etc. I set the networking to bridged so my ubuntu install could be accessed from my Mac and also access the internet. Got the IP for it with: ifconfig

Installed lighttpd, php-cgi, mysql, etc. with apt-get.

Then I installed sshfs, again with apt-get. This allows me to mount a drive to a folder that uses SFTP under the hood. I went into my Mac settings and under “Sharing” clicked the checkbox next to “Remote Login” and then specified that only my user could be logged into remotely (keep it as secure as possible shall we?)

Then I mounted my Sites folder: sshfs myusername@192.168.1.6:Sites /var/www/ -o follow_symlinks,allow_other. The two options there at the end were to enable symlinks which I use in my sites folder to link to various folders on my Mac. And the allow_other ensures that other users on the ubuntu system (including my lighty user) can see the mount. Otherwise I get a Fobidden error in my browser.

I set up simple-vhosts with lighty and changed all my /etc/hosts entries to point to the ubuntu IP since I won’t be using apache anymore.

I think I covered it all. It’s not in great step-by-step detail, but hopefully there’s enough info that you might get something similar up and running if needed. :)

Stealth Component Framework Demo

Back in February I posted some ideas Tyler and I worked on for a component framework we’re calling Stealth. We were inspired after Ely Greenfield’s Flex Roadmap presentation at MAX last year. It struck a chord with may of our talks together about how the components ought to be architected, so we set out to make an AS3 component set.

We made a proof-of-concept and shared with a few friends. Because it’s so basic and raw we didn’t want to post any of the code, but after talking with Ben Stucki (Open Flux) at 360 Flex this year and some of the Gumbo team I thought some of the ideas we had might be of use.

We put core code into the components package, I created a CSS parser so we’re not using Flex’s stylesheets. This allows us to have full selector support, but also disallows classes to be compiled in. So we reference a few needed classes in the base file to make sure they’re compiled in. We’re using an AS3 project, but also using MXML. Pretty cool stuff. Also have undoable text in the text field.

You can check out the architecture on my previous post. And again, this is proof-of-concept code, and hasn’t been touched since February.

http://jacwright.com/stealth_concept/

Right-click to view the source code.

Here at 360 Flex

Here I am! I’m presenting today at 360 Flex in San Jose. I’m only slightly nervous as this will be my first time presenting at a conference, but I’ve presented at user group meetings plenty and even practiced today’s preso with Rob Taylor, Tyler Wright, and Joe Snow over at their company offices.

I’ve had a very enjoyable time already at the speaker dinner last night and afterward at the mix-n-mingle. Met some great people such as Ben Stucki and Ryan Campbell, Paul Robertson, JOSH BUHLER! (wanted to make sure you were mentioned Josh ;), and Tony and Doug from Effective UI. Doug wanted to get married (he’s from Canada, should explain everything), but I’ve already get a wife and three kids and don’t need anything more for the moment.

Today my presentation will be on some more advanced stuff you can take advantage of when creating code libraries and making good APIs. I’ll cover the Proxy class in-depth, including many features most people don’t even know about. I’ll talk about IExternalizable, what it is and why/how you’d use it. I’ll cover metadata and how it can be used in your APIs. And if we have time, I’ll talk about code namespaces (not XML namespaces, it’s different) and why and when you would use them in your libraries. Should be fun, but I will be dumping a lot of info on people. But hey, it IS an advanced level class.

I’ll be attending a few framework sessions such as Swiz and Mate. I’m interested to see what others are doing and get better ideas on what I want to use. Swiz uses metadata to hook components together (dependency injection pattern) so I think that will be quite interesting. I’ll keep you up on what I learn. Maybe. :)

Oh, and it looks like WordPress needs an update… again. Man, this gets so annoying. Later I’ll look for a plugin that auto-updates wordpress or something.

« Previous Page — Next Page »