A Visual Inspector for BulkLoader

Debugging BulkLoader usage just got easier.

A couple of weeks ago I exchanged a few emails with Chris O'Byrne. He was writing a loading lib for actionscritp and was taking some ideas and code from BulkLoader. The result is MultiLoader. I haven't look much into it, but one thing struck me. He created a visual inspector, a GUI that let's helps to understand what is being loaded. I thought this would be a nice addition to BulkLoader, mainly to help others debug and understand what BulkLoader is doing. As they say, good artists copy, great artists steal ;).

It ocurred to me that anything but the simplest interface would require a GUI toolkit. It made sense to do it in Flex.

It turns out that the inspector is very useful, and helped to visualize a few issues with BulkLoader my self. Here is what it looks like:

The inspector running

Since it uses Flex, you need to use it differently, depending on what your project is. If you are coding a Flex application, then just instanciate the BulkLoaderInspectorPanel, and you should be all set. If you are working on a regular (non-flex) project, you should load a compiled swf. But since flex apps have a very specific lifecycle, there are some steps you need to take. The easiest path is to just create a Bootstrapper (trunk/inspector/Bootstrapper.as). Just setup the path to the swf, and it should just work.

There a few visual adjustments to be made, but it's very useful as is. If you're into flex and would like to improve on it, patches are very welcome.

Note however, that since it compiles the entire flex framework, hence it has a big file size, it should only be used while debugging.

getting a third opinion

1.
Bear says at

This is cool! I'd wanna try this thx for work

2.
Chris O'Byrne says at

Nice work! It looks good, and I'm glad you found inspiration from mine!

3.
Danilo says at

Pretty nice extension dude, i'd like to suggest another extension, which shows the images, videos, swfs, audio or anything else that can be displayed (audio can be shown as an small player), so you can kinda preview the loaded content, as well as other info about it.

4.
Arthur Debert says at

@Danilo:

That's a good idea... I'll save it for a future realse, thanks!

posted by
Arthur Debert

on

Tagged with:

5 comments so far.
Say something

Other months availabe in 2009

The complete blog archive

The latest entries

Subscribe to comments on this entry: rss feed

Cloud me:
  • Dane in The Web does not need flash. on

    To me, the key point in Flash's favor is productivity in creating rich experiences. Yes, javascript CAN create equivalent experiences, but it's a comparatively much more difficult process that requires ...

  • leef in The Web does not need flash. on

    Flash as a tool to develop cross platform applications is what I think is its future. And if it can also serve as a functional medium for users to use ...

  • Jesse in The Web does not need flash. on

    Despite the advances in Javascript, in many ways it is only catching up with actionscript, and while it is leading in some areas, javascript still needs a client. Whatever technology ...

  • Steven Wei in The Web does not need flash. on

    Very nice post. Your analysis was very thorough and I basically agree with all of your points.

    I have spent a couple years programming in Flash and have since moved ...

  • Steven Wei in The Web does not need flash. on

    Very nice post. Your analysis was very thorough and I basically agree with all of your points.

    I have spent a couple years programming in Flash and have since moved ...

Feeds: Entries rss feed Linksrss feed Worksrss feed

A Django joint. hosted on Slicehost