Archive for the 'Utilities' Category

IExpense Online (IEO)

Wednesday, April 16th, 2008

With Income Tax Returns approaching, now is as good a time as ever for me to blog about IExpense Online (IEO).

IExpense Online is the creation of my friend and co-worker Michal Glowacki. It is one of those Flex apps that really showcases what can be accomplished in Adobe Flex with a little creativity and dedication.

Built entirely in Flex, Cairngorm, PHP and MySQL, IExpense is a Free Tool which allows users to intuitively and intelligently manage their expenses and make sound budgeting decisions. You can try it out by logging in as a guest or creating a free account.

So make the most of your tax returns and check out IExpense Online (IEO).

IExpenseOnline

Web-Based UML Sequence Diagram Generator

Monday, April 14th, 2008

If you need to create sequence diagrams quickly and do not have the time to use the more traditional Software Modeling tools; Together, Enterprise Architect, Visio etc. you should take a look at www.websequencediagrams.com.

This handy little tool is pretty capable for a free web based utility and is very easy to use. It took me just seconds to create the simple sequence diagram below…

Web-Based UML Sequence Diagram Generator

So the next time you need to create UML sequence diagrams in a hurry make sure to check out this very useful tool.

Running ASDoc against AIR projects

Friday, December 28th, 2007

At first glance one might think the ability to run asdoc.exe against an AIR project would be pretty much the same as compiling ASDocs for a typical Flex project - but it’s not.

I recently completed updating my AIRCairngorm project and decided to compile the source code documentation as I always do, however when I attempted to do so my build failed. Based on the exceptions asdoc.exe was throwing it was pretty obvious the build was failing because none of the classes in the AIR API could be resolved.

I did a quick Google search and unfortunately there wasn’t much out there explaining how to resolve the errors. After a little more digging around and exploring of the sdk I was able to fix the build. Basically asdoc.exe needs to point to air-config.xml as well as the location of the air swc’s.

Below is the final build I am using which will allow you to compile ASDocs for your AIR projects:

<!– Adobe AIR ASDoc ANT Tasks –>
<project name="AIR ASDoc build" default="main" >
   
<!– defines all values for the ASDoc compiler –>
<property file="asdoc.properties" />
   
<!– main target: cleans and compiles ASDocs –>
<target name="main" depends="clean, create-docs" />
   
<!– deletes and recreates the asdoc directory –>
<target name="clean" >
  <delete dir="${output.dir}" />
  <mkdir  dir="${output.dir}" />
</target>
   
<!– runs the asdoc.exe compiler on the source –>
<target name="create-docs" >
 <exec executable="${asdoc.exe}" failonerror="true" >
  <arg line="-doc-sources ${src.dir}" />
  <arg line="-output ${output.dir}" />
  <arg line="-load-config ‘${frameworks}/air-config.xml’"></arg>
  <arg line="-library-path ‘${frameworks}/libs/’"></arg>
  <arg line="-library-path ‘${frameworks}/libs/air’"></arg>
 </exec>
</target>

</project>

You will also need the asdoc.properties file to go along with it:

# Modify the following properties to match your environment
# By default, the asdoc.exe property points to the location of
# asdoc.exe on Windows

sdk.dir=C:/Program Files/Adobe/Flex Builder 3 Plug-in/sdks/3.0.0
frameworks =${sdk.dir}/frameworks
src.dir =C:/workbench/clients/AIRCairngorm/
asdoc.exe =${sdk.dir}/bin/asdoc.exe
main.title =AIR Project title
window.title =Window title
output.dir =C:/workbench/asdoc

So if you happen to run into this problem in the future you can use the ASDocAntTask project to compile ASDocs for your AIR projects without the headaches.

Cairngen 2.1

Monday, November 19th, 2007

Last week Cairngen 2.0 was released, and judging by my Firestats totals there has been on average, roughly 250 downloads per day.

Based on the feedback I have received so far, the single most requested feature users are asking for is an additional target which will generate multiple Event, Command and Business Delegate classes (Sequences) simultaneously.

Ironically, prior to the Cairngen 2.0 release one of the contributors (I don’t remember who, so if you read this please leave a comment and take credit where it is due) added a few additional tasks which did just this.

So after a bit of fine tuning and testing I have added three new targets which are as follows:

  • create-multiple-sequences-include-delegates
    Generates multiple Event, Command and Business Delegate classes simultaneously. To do so simply assign a comma delimited list of Sequence names to the sequence.name property in project.properties.
    (e.g. sequence.name=Login, Logout, RegisterUser, UnregisterUser)
  • create-multiple-sequences-exclude-delegates
    Generates multiple Event and Command classes simultaneously. To do so simply assign a comma delimited list of Sequence names to the sequence.name property in project.properties.
    (e.g. sequence.name=Login, Logout, RegisterUser, UnregisterUser)
  • create-multiple-value-objects
    Generates multiple Value Object classes simultaneously. To do so simply assign a comma delimited list of VO names to the vo.name property in project.properties.
    (e.g. vo.name=Login, Logout, RegisterUser, UnregisterUser)
  • I have also updated the comments in both the project.properties file and the build.xml files, respectively.

    If you have any additional feature requests you would like to see added to Cairngen, or if you have already implemented these features. feel free to leave a comment or send me an email.

    Download Cairngen 2.1