Articles

Archive for the 'flash' Category

running tasks in order with a task based sequence manager

The job of running a certain sequence of logic where the next task is dependent on the completion of the previous one is a recurring thing in software development. An example of this is an asynchronous queue of which we wrote in an earlier post right here. Sequence management is something that is invented time and time again by lots of developers but there is hardly any good complete sequencing solution out there. We have fixed this by releasing our nl.dpdk.commands.tasks package which features an incredibly powerful solution for managing sequences of virtually anything in actionscript.
Do you want to make your life simpler? Then read on…
Continue reading ‘running tasks in order with a task based sequence manager’

The collections package

The collections package has some classes in it that provide a very powerful way of storing, retrieving, selecting, sorting and manipulating data. It features well known datastructures like lists (both the double linked list version and the array list version, very useful for storing lists of like object instances, which is useful in almost every application you encounter), queues (very useful for getting things done in a specified order, first in first out or FIFO), stacks , deques ( double ended queue, can function as a stack and a queue), heaps, priorityqueue, set, resultset (very useful when using flash remoting and a database) and trees (for menus, games, searching etc., both binary and n-ary trees). It is a very comprehensive library, influenced by the Java collections package, with a clear interface, easy to use and very consistent throughout the different classes. Know one of them, know ‘em all.
Continue reading ‘The collections package’

Open Source package released on dutch Adobe User Group

We have made a great step for Dutch interactive agencies by releasing some of the source code we work with (flash actionscript 3) to the general public.

The announcement was just made at the newly launched website of the dutch adobe user group and on our website (dutch).
Continue reading ‘Open Source package released on dutch Adobe User Group’

Flash Remoting and resultsets for ActionScript 3

One of the great features of our opensource as3 package is that it contains a flash remoting package (nl.dpdk.services.remoting), for sending data via the amf protocol, that is fully integrated with our collections package to also be able to use a ResultSet. It is robust, fully unittested, has the power of sorting and selecting via the underlying lists from our collections package and has some very very very convenient features that really make it shine when using remoting as a means of communicating with a remote service.

update 2008-10-21: we added a timeout detection mechanism.
Continue reading ‘Flash Remoting and resultsets for ActionScript 3′

AsUnit modification for asynchronous testing

In an earlier post I wrote something about unittesting with the asunit framework.

In this post I want to shed some light on asynchronous testing and a minor modification we made to the asunit package to be able to run asynchronous tests that can be used to do some flow testing, especially important when the order of the calls to a remote server is important.
Continue reading ‘AsUnit modification for asynchronous testing’

AsUnit unit testing on flash package

One of the main things that need to be done to create any serious kind of software package, is making sure that it is tested to make qualitative statements about the code itself, be able to use it with confidence and to make sure it will continue to work when changes to the code are made.

For our package, one of the goals was to create high quality code, with unittesting in place to make sure the code will behave as expected.
Continue reading ‘AsUnit unit testing on flash package’

Open source initiative by dutch media agency dpdk

The idea is born, so in this first post, the why, when, what and how goes here, well… actually it goes here :)