assertTrue is the professional blog of Luke Bayes and Ali Mills

Speaking at Silicon Valley Flex User Group Tomorrow

Posted by: Ali Mills Wed, 10 Oct 2007 17:54:00 GMT

Update January 20, 2009: Many of the frameworks covered in this presentation have evolved considerably since it was given. At the time of this update, my opinions about Cairngorm remain unchanged, but other projects such as the Servebox Foundry warrant closer inspection.

Thanks go to the Servebox team for bringing this to my attention!


Luke bayes

Tomorrow, Thursday, October 11th, 2007 at 7:30pm Luke and I will present on Flex microarchitectures at the Silicon Valley Flex User Group (SilVaFUG) in Adobe’s San Francisco building. We’ll be comparing and contrasting the many frameworks/microarchitectures/seedworks known to us. We’ve been looking into Cairngorm, PureMVC, ARP, MVCS, Flest, Model-Glue: Flex, ServeBox Foundry, Guasax, and Slide to prepare.

If you’re in San Francisco near 601 Townsend at 7:30pm tomorrow, you might consider stopping by. If you’re an expert with any of these projects, it’d be great to see you and hear what you have to say. Neither Luke nor I are, so I’m sure you could teach us and the group something when we roll into the discussion.

And, if you’re aware of other projects, please leave a comment and tell us about them.

Tags  | no comments | no trackbacks

Workaround for Safari Blocking Flash Initiated Pop Ups

Posted by: Ali Mills Thu, 23 Aug 2007 04:59:00 GMT

Update: Please see my announcement of a project based on the ideas in the post here

Uncontrolled browser pop ups suck, and I’m very thankful for pop up blockers. There are times, however, when you want controlled pop ups. It’s these times – the times when a user initiates the call to action – when the browser’s pop up blocker should let them through. Browsers are pretty good at managing this when the user initiated action starts in HTML, and most also do a good job when the action starts in a SWF. There’s at least one big exception – Safari.

The standard path in Flash to open a browser pop up is to use ExternalInterface to call a JavaScript function in the wrapping HTML page that contains a window.open call. This path works in all the browsers I tested in except for Safari, which leads me to believe this a Safari bug.

Luckily, if you want to open browser windows from a SWF in Safari there’s a workaround other than disabling the “Block Pop-Up Windows”! Check it out:

The workaround works by:

Read more...

Tags ,  | no comments | no trackbacks

Microsoft uses Flash for Video?

Posted by: Luke Bayes Wed, 01 Aug 2007 17:22:00 GMT

It looks like the folks over at MSN agree that SWF really is the best way to get video content in front of the most users!

Maybe this is just a switch for those of us on Mac?



This is probably old news to you, but Ali and I were pretty surprised.

Tags ,  | 1 comment | no trackbacks

Open Source Flex (Camp)

Posted by: Ali Mills Sat, 28 Jul 2007 07:33:00 GMT

Besides the opportunity to hang with so many great Flex developers and Adobe engineers, the part of Flex Camp I enjoyed most tonight was clarifying the multiple levels of participation available to the community now that the Flex framework is open source. Basically, there are three levels of participation. They are researcher, adviser, and contributor. Details follow…

Read more...

Tags ,  | no comments | no trackbacks

Git Real

Posted by: Luke Bayes Sun, 15 Jul 2007 18:08:00 GMT

I recognize that I’m a couple of years late to the party, but I just caught this video of Linus Torvalds giving a demo of his new-ish Source Code Management (SCM) tool called git.

I’m a long time SVN user and probably won’t be switching whole hog right away, but so far the arguments seem compelling and my first walk-through was a real pleasure.

Some of the key features of git that sound attractive:

Read more...

Tags  | no comments | no trackbacks

Static Classes, Singletons and the Observer Pattern

Posted by: Luke Bayes Sun, 15 Jul 2007 02:04:00 GMT

Over the years, Ali and I have spent quite a lot of time trying to sort out when to use static classes, when to use the Singleton pattern and when to do the work required to avoid them.

There has been a long and ongoing discussion in the OOP and patterns community on this subject by people far more intelligent and experienced than I am. It is really their knowledge and experience that will be essentially repackaged for ActionScript development here.

Following are the primary arguments that compel me to look for a better way.

Read more...

Tags , , ,  | 3 comments | no trackbacks

Announcing Sprouts! (was AsProject)

Posted by: Luke Bayes Wed, 13 Jun 2007 17:17:00 GMT

I just wanted to get out a quick announcement before too much more time went by….

I introduced AsProject in April and have since been redesigning it under a new, much more manageable project called Sprouts. Just yesterday it reached a point where it’s at least testable on both OS X and Windows (with Cygwin).

I’m looking for some help getting it production ready (check out the issues list) and feature feedback from the community before I go much further.

Please check it out and let me know what you think, what it needs, and what doesn’t work the way you expect.

Read more...

Tags , , , ,  | no comments | no trackbacks

Issues with Embedded Fonts in Flex Modules

Posted by: Ali Mills Fri, 08 Jun 2007 18:18:00 GMT

We’re working on a modular application in Flex and until recently were having issues with embedded fonts in modules. The main issue was that we wanted fonts embedded in the main CSS to be available in the loaded modules, and we were having a heck of a time getting this to work.

Some research led me to Alex Harui’s post about how to use embedded fonts in modules and late-load the embedded font. Alex’s example demonstrates Flex 2.0.1’s new runtime CSS approach and uses the StyleManager class.

We’re not, however, interested in loading the CSS at runtime (although we reserve the right to change our mind, because it’s a really handy thing to be able to do), so I modified Alex’s example to more closely represent our application structure with hopes of finding my mistake. After the modification, it became clear that I wasn’t making a mistake, but that I had run into a bug. Can you spot it? Here’s the code…

Read more...

Tags , , ,  | no comments | no trackbacks

Flash/Flex at Google Developer Day

Posted by: Ali Mills Thu, 31 May 2007 23:12:00 GMT

Luke and I took the day off from our new job today to head down to Mountain View and attend Google’s Developer Day. Google’s big announcements today have to do with Mapplets, Geoweb searching and Gears.

Today, we learned that SWFs relate to these announcements in the following ways:

Read more...

Tags , , , , ,  | 2 comments

BDD: Behavio(u)r-Driven Development in AS2

Posted by: Ali Mills Thu, 03 May 2007 05:50:00 GMT

Eloy Duran posted an interesting idea on his blog today about behaviour-driven development in ActionScript 2. According to http://behaviour-driven.org/:

Behaviour-Driven Development (BDD) is an evolution in the thinking behind TestDrivenDevelopment and AcceptanceTestDrivenPlanning.

It pulls together strands from TestDrivenDevelopment and DomainDrivenDesign into an integrated whole, making the relationship between these two powerful approaches to software development more evident.

...

For people familiar with the concept of DomainDrivenDesign, you could consider BDD to be a UbiquitousLanguage for software development.

Interesting…

Eloy’s idea, ASpec, is based on Ruby’s BDD framework RSpec. If you’re a student of test-driven development (TDD) or an AsUnit user, you might want to check it out.

Tags  | no comments | no trackbacks

Older Posts

Older posts: 1 2 3 4 5 6 ... 9