FCG

Free Flex code generator for your Mac
Download

FCG Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • David Deraedt
  • Publisher web site:
  • http://www.dehats.com
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 811 KB

FCG Tags


FCG Description

Free Flex code generator for your Mac FCG is an AIR application which primary goal is to automatically provide the base code for your RemoteObject based Flex applications. Basically, it means that it reads some code from the server side, and creates a bunch of MXML and AS files to boost your productivity. Its goal is not to create a ready-to-use application, but to provide the tools you need to do so as quickly as possible.FCG generates code using either the Cairngorm framework or the PureMVC framework. So FCG is both a Cairngorm generator and a PureMVC generator. Please note that FCG can also generate Flex only code, but in this case the productivity value of FCG in less obvious.There are some differences between FCG and the other (mainly Cairngorm) generators:· It does not just create some packages and close-to-empty files : it can read your PHP, Java or C# code and then create the according AS and MXML files.· Contrary to some other generators, I chose not to add any personal class to the generated code. I think it should remain the developer's decision to use, say, a super class, for its Commands that could deal with some common issues. It should not be the generator's decision. Of course, one could argue that some of the code generated by FCG is too invasive, but I generally try to do things "by the book".· As an AIR application, it runs on your computer, so you don't need to publish anything on a server to make it work.· It is independent from any kind of server side technologies (though only PHP, Java and C# files are supported so far) and from any kind of remoting gateway. In fact, with FCG, you could use, say, an AMFPHP service, a WebORB for Java service, and a Fluorine service, in the same Flex project.· It allows you to keep control over the generated files. Many developers are a bit skeptical about code generators, and for a good reason : they're afraid to lose control over their code. Most of the time, they assume that the resulting code just "won't fit". Indeed, generators always have to take some decisions that will obviously not satisfy everyone.FCG allows you to keep control over the generated files in three ways:· Options, such as defining some ValueObject properties as getter setters, selecting which Service method you want to implement, strongly type their arguments even if it comes from a not strongly typed language such as PHP. Note that C# and Java data types are automatically "mapped" to a default corresponding AS3 type.· Templates : FCG is a Mixed Code Generator. It means that it uses templates you can modify to adapt it to your dirty habits.· You can generate what you want, when you want, and where you want. This means that you absolutely don't have to use all the files that FCG generates for a project. For instance, you can use it to simply create ModelLocators or business delegates for your existing apps, or even just custom event subclasses, and not use anything else.NOTE: FCG is licensed and distributed under the terms of the GNU GPL. Requirements: · Adobe AIR


FCG Related Software