Development tools for Adobe Flex/AIR? - apache-flex

I'm starting a new development position with a company that implements many of its products in Adobe Flex. What tools should I look to install (Ubuntu Linux options prefered) for Flex development?

As dirkgently said, installing Flex Builder 3 in Linux is a great way to get going. It's quick and easy to get up and running, and since it's based on Eclipse, the overall environment is decent.
That said, I was able to put together a decent Flex-building environment using Emacs and some third-party packages to get everything running under Linux.
Here's a quick rundown of what I used (this isn't comprehensive--just what I can remember):
Flex 3 SDK for Linux
actionscript-mode.el for AS code
highlighting
nxml bundle for MXML code
highlighting
ani-fcsh.el for running fcsh
from Emacs
ECB for code browsing in Emacs
snippet.el for creating code
templates in Emacs
This link was also helpful for getting started. It links to this article which talks about putting together a Flex development environment in Linux. I was able to put together some shell scripts for compiling and running applications.
Note: I didn't do any debugging, though Adobe has some info about it.
Note #2: If you decide to use Flex Builder, it will install the Flash Player 9 debugger version in your browser (you can tell it not to). I would recommend installing version 10's debugger. The builder will output a warning about not supporting the version, but everything else appears to work.

If you can, try Flex Builder 3 alpha for Linux. That's the you can get (not without its set of pet peeves though!). It lacks the following however:
* Design view
* States view
* Refactoring
* Data Wizards
* Cold Fusion - Data Services Wizard
* Web Services introspection
* Profiler
Since AIR/Flex are cross-platform technologies, I don't see why you want to limit yourself to Linux. At least for the time being, I think you are better off with the proper Flex Builder 3 on Windows for development. You can then test your product(s) on Linux.

about debugging - there is an external AIR debugger called MonsterDebugger which is pretty good

Related

Google NaCl with Qt on Windows

I have a project which is using Qt 4.7.4 version (also I can't rebuild it using qt4.8 or qt5 – there are a lot of errors appears, project is big and not mine so fixing issues would be even harder than erasing the whole code and write new code). So I need to make this project, well, working on NativeClient.
Is it even possible? I use Windows and Visual Studio, I was trying to google instructions about qt+nacl on Windows but just can’t find nothing.
Also which pepper version should I use if it depends on it?
Is your qt build supporting native client?
Please check out this
Windows
The Qt-Nacl is not support, for now, in Windows.
By the way, here is the github repository dedicated for it -> https://github.com/msorvig/qt5-qtbase-nacl
In the file nacl-readme it is written :
[...] Windows is not supported as a host platform.
Linux
If you want to compile in Linux, I have made a script that will compile Qt5.4 with NaCl with all the dependencies needed.
https://gist.github.com/theshadowx/438297ac465874a5e226
I also made a video that will show the different steps and a showCase at the end :
https://www.youtube.com/watch?v=q2pMv1Svtqw

Can I port a C++ project to QT and then use QTWebKit to create a HTML5 front end?

please bear in mind I am not a GUI programmer.
As the title says but to give a little more details:
I have a very large C++ application which I would like to upgrade the GUI for. There is an SDK that we can attach a new GUI onto and I would like to make it look as modern and fancy as possible, I have been advised to use HTML5 for this.
We build and link the project using in house bat files which I have hooked into MSDEV to save me going back to the console every time I want to build the project. I also use MSDEV to attach to the programs when they are running to debug.
Can I also do this in QT?
(I cannot download it and try as I need to have a business case for downloading new software and investigation is a hard one to get approved).
If I did this in QT, could I then use Webkit to create a HTML 5 front end or is there more work required?
What Does Qt Look Like
http://www.youtube.com/watch?v=bVQ0S-b5lDs
The demo program that comes with the Qt SDK shows off quite a bit of what you can do with the GUI programming. You can build almost anything you can imagine!
It looks native to the operating system it is running on, Windows 7, Mac OSX, Ubuntu, etc.
I believe most of the Linux KDE GUI is now done through Qt.
Running Console Applications
If you need to run things from the console, you can manage that in C++ pretty easily.
system("run_this.bat");
In Qt, if you don't need to see the console window, you can run most things as a QProcess.
There are ways to hook the stderr and see what is going on as well.
HTML 5
Something written in HTML 5 shows up in a browser, and there are a number of slick graphics and effects that can be used with it, but using the QtWebKit, will only ensure that the webpage you are rendering looks the same on every computer you run it on. Most modern browsers are becoming HTML 5 compliant, so relying on the HTML 5 out of Qt shouldn't be necessary.
W3Schools gives a pretty good introduction into what HTML 5 adds to websites:
http://www.w3schools.com/html/html5_intro.asp
Using HTML 5 or C++
Writing a web application that uses HTML 5 versus writing a Desktop application that uses a native GUI are two very different things.
Running files on a local machine is pretty sandboxed when going through a browser with HTML 5. If you are okay with running something remotely on your own server, then it shouldn't be too bad.

Installing Flex 4.6 in Eclipse on Windows Vista

I am using Windows Vista 32bit. I have installed Eclipse Helios Service Release 2.
I need to integrate flex in Eclipse. Can someone show give me steps to install or point me to a good tutorial that explains the process.
Note: I have downloaded flex_sdk_4.6
From your comments it seems FlashBuilder is your tool of choice.
Download it
Go to the FlashBuilder download page to get it. The automatic download will have you download an Akamai software, which is Adobe's download crapware. If you're behind a proxy, you're out of luck: your download won't work. You can get a direct link though: simply cancel the automatic download and on the download page select the "File 1 of 1" link.
Install it
You can find the installation instructions here for both a standalone installation or as an Eclipse plugin: http://helpx.adobe.com/flash-builder/release-note/flash-builder-4-6-release.html#main_Install_your_software
You can't really integrate Flex into eclipse without a plug-in - it would let you edit the text files as text, and run the compiler, but you'd have no actual IDE support.
As for plugins/eclipse-based IDEs: Right now, there's Adobe Flash Builder and FDT, which are both good products (they each have different advantages and shortcomings, though -you probably want to try them out and see which fits your needs best), but they are both neither free nor cheap.
Another very good commercial IDE is IntelliJ IDEA, but that's not eclipse-based.
If you need a free IDE for ActionScript on Windows, check out FlashDevelop - it is not quite as sophisticated as the eclipse-based commercial products, but a good start if you want to get into ActionScript, or try out IDE alternatives to Flash.

Cross Platform Auto Updater

I am using Qt in order to build a cross platform GUI app (Windows and Mac). I want to be able to update the app efficiently and automatically whenever there is a new patch available.
I saw this post which got me to take a look at WyBuild. It looks great and probably what I may end up using for the Windows version but what about Mac? What are some alternatives available to me?
I've just started developing a Qt-based autoupdater called Fervor for my own needs. You can try it out, contributions are more than welcome too.
For Mac the best choice is Sparkle used by WebKit, Adium, Cyberduck and more. Its only for Mac but I guess native look matters on Mac a lot.
Not familiar with WyBuild so cannot comment. Sparkle is a fine choice but the poster preferred a single app for both platforms. BitRock InstallBuilder contains an autoupdater written in Qt that can be used independently (disclaimer, I am the original BitRock developer). It is a commercial app, but we have free licenses for open source projects.
There is Updatenode which seems to provide a real Qt cross-platform solution.
It comes with a prebuilt client for Windows, Mac and Linux. The online service lets you manage updates very easy and are able to see good charts of your application usage.
And here another one of the possibilities:
Using the Qt Installer Framework: It provides installers for Windows/Linux/Mac with an build-in updater. If you need an example - The MaintenanceTool of your Qt-Installation uses the framework.
To get an auto-updater from it, all you need to do is:
Create an online installer (Just check the documentation, it's not that hard)
Use the maintenancetool in your application to check for updates.
This cane be done using my QtAutoUpdater. Go there for more information about the whole process
If new updates are available, the maintenancetool can be started in updater mode to install the update
Update the online repository - and your update is out.
Advantages:
Installer and updater in 1 tool - this means less work for you
Easy to use (with or without the QtAutoUpdater library)
Cross-Platform for all desktop platforms supported by Qt
The installer itself is a Qt original
Disadvantages:
No "native" installers (i.e. no .msi on windows or .deb on ubuntu)
Must be used together - if you want to use the update feature, you have to use the framework as installer
This may be obvious, but for Linux you can use the built in package manager. For example, apt-get, yum, pacman, or what have you.

flex plugin on eclipse

This is not a programming question but i wanted to know How to install flex plugin for eclipse on ubuntu.Point me to any links for this.Eclipse is already installed.Thanks...
Flash Builder is not supported on any form of Linux.
You might try FDT, which has support for Linux.
IntelliJ also supports Linux, however is not eclipse based.
You can make flash builder run in linux using wine. Intellij Is decent, but fall way short in flex development. ( except re factoring of course ;))
search google for "flexbuilder in linux" + wine. You will get multiple results including this one.
http://diariolinux.com/2009/06/22/how-to-install-flash-builder-on-linux/

Resources