360|Flex, here I come!

I have been invited to speak at 360|Flex this year and am very excited. I will be presenting a level 400 (100 is beginner, 400 advanced) topic entitled Advanced ActionScript APIs. I’ll be talking about how to make your own advanced APIs. We’ll go in-depth on using custom metadata and we’ll go over extending the proxy class to its fullest. My aim in this presentation is to bring about better APIs in the libraries people are putting out there. Of course, metadata and Proxy extension aren’t the answer and cure-all for this. But they are some of the cooler things you can do. And most people attending the preso will already know the other stuff you should do, such as planning out the API before you start coding, etc. If we have time I might go over a couple other advanced topics that relate. Such as the IExternalizable interface. But that’s not quite as useful since many of the remoting engines don’t support it. But I can provide a patch to allow AMFPHP to use it! :) Should be way fun. 360|Flex is going to be in San Jose this year in August. So make plans soon!

Taking the big leap

I’m taking the big leap. Again. I’m leaving employmentship and going out on my own. Today is my last day working for mediaRAIN. Suck. I’m planning on partnering with a friend, Jake Hilton, to provide heavy Flex development for local companies and media firms. We’re both top in the state in Flash, Flex, and Flash Media Server, so we should be able to provide a very nice offering. And we’ll be working on our own products as we find the time. Layered Content is my first priority along those lines and I hope to have a working version out in the next month. mediaRAIN has been one of the greatest companies I’ve been with. I’m totally going to miss the guys here. I know they’re going to do great things and have mixed feelings about leaving them. But I know what I need to do and will do it. So now I am free to do contract work. If Jake and I create a company we’ll have to name it something like Jake and Jac. It will probably be a source of confusion for people. :) If you’re looking for some Flex work go ahead and email me. I’ll see what we can do for you. I’m also thinking about moving to Portland. Wouldn’t be for a year if it happened, but I’d like to know your thoughts about Portland. Good place to work? Do they have a good user group? Cool people there?

AIRActiveRecord is cool

Do you ever go back and look at code you wrote and think, “man, that’s pretty cool. I can’t believe how nice that turned out.”

I went back and wrote up some very minimal documentation on using AIRActiveRecord on my post about it and remembered how cool it is. True, more documentation would sure be nice, and I’ll get to that, eventually.

Using in-memory databases in AIR

Adobe Integrated Runtime (AIR) has support for creating and using SQLite databases through the use of the SQLConnection class in the flash.data package. Using this package you can store a database on a user’s hard drive and even name it with any extension you’d like (registering your app with that extension will let you double click on your “database” file and open the app with that as a parameter, pretty slick). One feature with the database package often overlooked is its ability to create and use in-memory databases. Using in-memory databases allows for faster read and write to the database and is perfect for operations such as building a code-completion lookup (someone going to rewrite Flex Builder in AIR? :), establishing a temporary search database of all the words in a list of documents that could be used for an autocomplete field, and any other situation where a database would be great to use but doesn’t need to be kept around between application launches. To create an in-memory database simply leave out the file parameter of the database connection.

 var db:SQLConnection = new SQLConnection(); db.open(); // no file is passed in 

Then you run your database setup script to create your tables and your good to go.

Why Open Source

I have to admit, it took me awhile to understand why anyone would want to open source their software. I understood perfectly well why I would want to use it, but as a developer who makes money from writing software I assumed you don’t make money writing open source software, thus, you starve. I understand now how it works and will explain simply for both developers and business why open source software makes sense.

First I’ll start with business.

If you are a business owner think about this. Who has the most money to spend on the products you make? Well, medium to large businesses. They spend hundreds of thousands to millions every year. You’d like to write software to target these businesses. You will need to spend quite a bit in advertising and sales to hit that market. And of course, lots of money will need to go into the production of the software.

What if you make this product and all of the little guys test it for you? What if non-customers help you bug fix it? And after your initial release, what if they continue to add features, fixes, and value to your product for free? What if they market it for you and provide an initial level of support? Well, this is open source software. You share the product with the world, let them use it, contribute to it, make it their own, and then you still make money from your original target market through something they couldn’t go without, support. Those with the money are still paying for it, but those without get to benefit from it and will add to it.

Developers look at things differently.

As a developer why would you want to write open source software? Think of all the code you’ve written that you just know has been written before. Think of all the wheel-reinventing you’ve done throughout your career. As an industry we aren’t moving forward in technology if we spend all our time writing the same thing for our own company or clients that everyone else is writing for THEIR companies and clients. But, if we start sharing this are we going to run out of a job? No, we’ll spend our time writing new code and implementing new ideas. Our clients will always want something more than what’s available. We as an industry can push the technology forward as a whole and everyone benefits.

That’s how I see it. Open source is a win-win-win for those writing it, those who use it, and those who support it. Better software comes out of it. People still make money and feed their families. And you make the world a better place.

Why is WordPress so easy to install, so painful to update?

I don’t think there is a better open-source blog engine on the market than WordPress, but why is it so painful to update it? You have to back up the database, download the files, copy over the config file, themes, uploads, and any other stuff you need to the new installation, and then rename the folders quickly so the new one fills the space of the old one.

Why can’t we just get the files that have changed downloaded and the database updated by pressing a big blue “Update” button?

« Previous Page — Next Page »