Blog

  • Screenweaver Goes Open Source

    To quote my manager, “HOLY [edit] FISH!!! Edwin van Rijkom LIVES!”.

    Before there was mProjector, before Zinc (formerely Flash Studio Pro) was yum, there was Screenweaver, and man was it cool. It had callbacks to ActionScript functions so if you wanted to read the local file system, you got a callback when it was done with an array full of folder and filenames. Cool stuff like that in a nice and comprehensive API. The best part was that Screenweaver was used to create Screenweaver. Good stuff! Then it “fell asleep“.

    To quote the post:

    “…After I had a little chat with Darron a few days back, I’ve
    been working on bringing the Screenweaver 3 code base up to date: I’ve
    decided to release it open source.

    Under the same licence (GNU GPL) I will also release a new development
    effort called Screenweaver Core. This might be of specific interest to
    this list due to the open architecture. Read more about it here.

    I’ll need about one or two weeks to get everything organized properly,
    after which both projects will be available through OSFlash.

    Cheers,

    Edwin van Rijkom
    http://www.vanrijkom.org…”

  • Coding Challenge vs. Reasonable Gain

    I had an epiphany this morning in regards to a piece of functionality I’m developing at work. I like to challenge myself, and I find tackling really complicated forms satisfies that need. I have to not only meet the business requirements of saving the data to the pre-determined data model, presenting the forms in a useable fashion so the user feels like they are real forms, but also integrate some of the features Flex/Flash have into that old format.

    Forms are typically presented in a linear format, and each filled out form is submitted, with either a success or error, very wizard-like. With Flex/Flash, you have a bunch of added benefits. Flex automatically handles the tabbing (where it’s a pain in the neck in Flash), but both allow ALL data to be saved and created into the data-model in real-time with the added ability to hand that data model off to the server-side in something it can easily understand without the page refresh, something AJAX currently cannot do without a lot of overhead parsing. You can cache the data locally in case occasional/disparate connectivity is an issue, and post later if needed, just like cookies are used in HTML forms, but with the added feature of treating it as a native object; something more easily understood with no parsing required.

    Where things really shine, however, is the ability to more easily and quickly create a GUI that matches the designer and architect’s idea of how the interface should be and work. And there-in lies the problem. We developed a really powerful way to obtain some very complex data from the user, which thankfully, they will know ahead of time what type the data is, how it will be viewed, and will have preconceived notions about the verbage of how that data is displayed. This is great because it makes meeting those expectations in the GUI easy, and the client can more easily enter in data the way they want it to… which is why the whole CMS business pays my salary, regardless of employer.

    …however, that’s also the problem. Because things are so easy to match, visual designers are given more leeway in their UI, and do not have to worry about technical restraints as much. “Will this design be able to render friendly and degrade in a variety of browsers? Will my vision of how this is supposed to work really be achievable by the front end and back-end developers?”

    Naturally, being who I am, my resounding answer is, “BRING IT ON!!!”. And that was my downfall. Give me enough time, and I’ll code anything. Granted, I can see pointless endeavors such as trying to get Flash 7 to render 10,000 records in a DataGrid, even if that means re-writing your own DataGrid. What’s the point? There are more powerful ways to display data than just dumped in a DataGrid, and technical ways to cache and page the data. But as you just read, I still attempted to solve it in a more pragmatic way. Can Flash Player 7 display 10,000 records at a reasonable speed on a reasonable target platform? Yes. Is it worth doing? No.

    I have a form at work that is a base class for a bunch of other forms. In 90% of the use cases, it works great. Dynamically allowing the user to create as much data as they want, to be able to scroll through and edit that data quickly is really powerful and makes me proud to create such things with my fellow developers.

    However, there is one niche case where it is being pushed beyond a simple form. The data is so complex, that you start to get into a forest for the trees complex. Making a simple, multi-form base to work with extremely complicated forms, each having extremely deep and nested data is a challenge upon itself. And herein lies the divergence: You can either succeed on the fringe use case, and have an extremely powerful way to enter and display complex data for creation & editing in the CMS, or break it down in smaller, more manageable chunks, which will take less time to do, but have less emotional impact. Both satisfy the same overall goal of CRUD operations (Create/Read/Update/Delete), but the former is extremely impressive, showcasing the best of what Flex/Flash have to offer where the later barely beats HTML.

    However, there are 2 key factors here which are now abundantly clear; if you satisfy the goal in less time, does it really matter? Yes, we have the potential to really knock this specific piece of functionality out of the park, scoring a homerun impression. However, at what cost? Could we get a lesser effect within an extremely more reasonable timeframe? Yes.

    Bottom line, a “well done” for 1 weeks’ worth of work is better than a “NICE JOB!!!” for 4 weeks worth. We as Flex/Flash developers are already showcasing the cream of the crop in form based applications. The temptation for those who are ambitious as well as perfectionists to not only impress the client, but blow them out of the water has a cost. Hopefully I’m getting more pragmatic, or maybe it’s just cynical, but from now on, I’m shooting for what is awesome, but immediately body checking those expectations with the time cost. Does that extra week gain the client anything? Yes, I’m extremely proud of myself after 2 weeks instead of 1, knowing that that extra week paid off in the architecture, but did it pay off for the client, and ultimately the end user?

    Translating my time’s development cost, the time estimations for each projected functionality goal, and providing optional solutions is tough, even more so when trying to suppress my natural developer’s urge to “make it cooler”. I guess this is why they call it “learning”.

  • You see an armored Microsoft, what do you do?

    That’ll be a close one. Apparently, Microsoft is weilding a battle axe, war style, with 2 hands. This doubles its damage, and probably adds an additional attack per round.

    Additionally, Microsoft appears to be of size huge, thus occupying 2 squares. This’ll make him hard to flank.

    However, it appears Macromedia has the initiative for the round given the stance; in fact, Macromedia is already attacking. Apparently, that small sword will only add to the initiative, and maybe even act as a stiletto, allowing a precise strike through Microsoft’s hard armor. Plate Armor usually gives a 10 to armor, rendering them immune to low level characters. However, if Macromedia can take the initiative so quickly in such heavy armor, they are obviously not low level.

    Even more astounding is Adobe’s stance; either he’s casting Smite Evil, which is a pretty cool and high level Paladin spell, OR he’s putting some sort of bless on the party, thus allowing Macromedia and he further potential to own in this ecounter.

    It’ll be quite interesting to see if Macromedia’s small, but precise damage, with Adobe’s guiding strategic commands from above, can hope to match this armored, axe weilding, armored behemoth.

    Stick and move… stick and move!

    Via JD.

  • Guy’s Expressive Flash 8 Examples

    My man Guy has posted some cool Flash 8 examples he’s done.

    http://www.flashguru.co.uk/maelstrom/