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

Undo in TextFields

I presented on creating your own undo/redo at 360 MAX unconference and a uFlash meeting. People seemed interested in knowing how to do it, but were more interested in having the code. It really should be part of Flex TextAreas and TextInputs. So I was going to code up a couple custom components that extended TextArea and TextInput (e.g. UndoableTextArea) and release them for use. However, as Tyler reminded me, that wouldn’t work in Flash apps, only Flex. So I have a proposal and would like to get your feedback.

If I created a component that you put on the root of your application (or any MXML component) which added undo/redo to any/all INPUT TextFields with in Flash or Flex would that be better? If you’re not doing any custom INPUT TextFields I don’t see any issues. But it could cause problems if you’re doing your own text components. Also, I would do it by listening to Event.ADDED events and whenever a TextField is added to the display list it would initialize it and add some right-click menu items to it. And I can even make sure when I have script access through ExternalInterface to capture the Ctrl+Z key combo.

Comment and let me know if this would be better than the Flex components. It would work in Flash apps too is the nice part and also you could add it to existing applications without any find-replace. The downsides is it could interfere with text manipulation code you may have in place for custom text components. I’ll decide this week and get to work on it next!

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 [email protected]: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. :)

Inspiration in the night

Speaking of Layered Content, I woke up last night at 2 a.m. with some great ideas that I’ve been putting into action since then. Specifically, Layered Content will be framework independent, and it will be able to integrate with any of the web frameworks (Zend Framework, CakePHP, CodeIgniter, etc.) or be used stand-alone. What does that mean? It mean’s if you’ve got a site to put together for a client you can use your framework of choice and tack on Layered Content. You’ll be able to give them a way to manage their content on top of whatever magic you’ve coded up for them.

More to come, when there is more to tell.

Flight Framework coming soon?

I’ve been involved with the Flight framework since its inception at mediaRAIN. I’ve helped Tyler with it via brainstorming, feedback, etc. But he’s been the one mostly to code it up. It’s been great from the beginning for a lot of our projects because it has built-in undo/redo and allows for some quite custom things along those lines. Well, Tyler went in another direction with it for awhile, wanting to please everyone, taking out Singletons and such for example, and mediaRAIN forked it into a project called Nimbus. I will probably be helping out with both as I can. Flight is now coming in from the wings more with their changes and it looks like quite a solid and complete framework, even if I didn’t need undo/redo. I’ll have to try it out with Layered Content as I upgrade the admin.

« Previous Page — Next Page »