Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Moxie Zhang on May 14, 2008 10:47 AM
Last week Michael Ramirez released asDox 1.0 Alpha 2, an ActionScript 3 parser written in Python. It is based on qDox for Java. The parser skims the source files only looking for things of interest, such as class/interface definitions, import statements, JavaDoc tags and member declarations. InfoQ spoke with Ramirez to gain additional insight.
Ramirez explained the motivation for developing an ActionScript parser in Python, recalling:
I decided to develop asDox, because I felt ActionScript 3 needed a code generation tool similar to qDox. I choose Python, because of the PyParsing module. I found PyParsing very easy to use, and it made developing an ActionScript 3 parser fun.
An end product is the goal, but it will probably be a while before I can release one. The asDox is a tool to increase your productivity as a developer via code generation. For example, you might develop a collection of ActionScript 3 classes and use asDox to automatically generate the PHP back-end code.
On the relationship between asDox and Adobe’s ASDoc , which is now part of Flex Builder, Ramirez says:
AsDoc is a tool used to generate API documentation by parsing JavaDoc tags embedded in ActionScript 3 source files. asDox is a tool that parses not only JavaDoc tags, but also packages, classes, variables and methods. It provides the developer with more information about his or her ActionScript 3 source files. When combined with a template engine, it can be a very powerful tool in code generation.
Ramirez went on to explain how much he adapted from qDox and the improvement he made in asDox implementation, pointing out, “The Alpha 1 release of asDox had an API that very closely matched that of qDox. This made asDox harder to use for Python developers. After the publication of Python Is Not Java, the last release has been completely reworked to be more Python friendly.”
The development of asDox was not painless. As Ramirez notes, “The biggest challenge in developing asDox was writing the ActionScript 3 parser. ActionScript 3 is a very difficult language to parse, because it's not very forgiving in terms of syntax.
Nevertheless, Ramirez plans to forge ahead with his work. He says, “I plan to develop an Adobe Air desktop application for asDox. But, right now my primary focus is on getting asDox to a 1.0.0 release. I am really counting on feedback from the community to make this tool better.”
Download the Free Adobe® Flex® Builder 3 Trial
Adobe® Flash® Platform Overview PDF
Business Benefits of Open Source SOA
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
No comments
Watch Thread Reply