Building AIR Applications with the NetBeans IDE

Building an AIR Application with the NetBeans IDE

If you’re looking for a way to build Rich AJAX/HTML Desktop Applications then you have come to the right place. Read on...

I’ve recently downloaded and installed NetBeans 6.5 Milestone 1 to check out some of its cool new features. One of the things that I’ve noticed is that the developers have added a new Run-Configuration option to the PHP project properties dialog. This new option will enable us to configure the interpreter to use when running or debugging PHP scripts. This is a welcomed featured that we can use to configure multiple runtime options for our PHP projects.

Using the new Run-Configuration option I’m going to demonstrate how you can go about converting a PHP project into a Rich Ajax/HTML Project using the Adobe AIR SDK.

How to setup an Adobe AIR Project with the NetBeans IDE
The first thing we need to do (assuming that you have already downloaded and install NetBeans 6.5 M1 or higher) is to download and install the Adobe AIR SDK (Software Development Kit) from the Adobe website.

To install the AIR SDK simply unzip the downloaded file to a folder on your hard drive (For example: c:\airsdk)

Once you have downloaded and have unzipped the AIR SDK files to a folder on your hard drive, we are now ready to create a new PHP project inside the NetBeans IDE.

To create a new PHP project from within NetBeans, select the File -> New Project menu option. A popup dialog will appear with two or more project types for you to choose from. Select the PHP application project type and click next. Watch the video clip below to view the remaining steps.

A step-by-step video guide showing how to create an AIR application with NetBeans 6.5

AIR Project Files
Click here to download the files used within this demonstration.

Get NetBeans PHP IDE
Download NetBeans!


Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code:
 
John
Posts: 7
Comment
Great Tut
Reply #7 on : Fri July 17, 2009, 17:10:18
Great tutorial, thanks for that
raymond
Posts: 7
Comment
RE: Can't run my sample app
Reply #6 on : Sat February 07, 2009, 21:54:56
Hi Justin,

What version of AIR are you running? Did you download the latest SDK for linux?
Justin
Posts: 7
Comment
Can't run my sample app
Reply #5 on : Wed February 04, 2009, 14:01:20
Hi,

I followed the vid tutorial. At the end, when I click run, it just hangs there. I tried running it from the console, and I got the same results. It's probably because I'm on Ubuntu, although most air apps like TweetDeck, and Krok work fine.

Thanks for any suggestions.
Buenos aires
Posts: 7
Comment
http://www.hotels-buenos-aires-argentina.com
Reply #4 on : Fri December 12, 2008, 06:23:15
Exclent Post, Only Netbeands is very low for computers, is good video tutorial!
xwisdom
Posts: 7
Comment
Re: Building AIR Applications with the NetBeans IDE
Reply #3 on : Mon August 11, 2008, 23:33:53
Hi Kiran & Peter,

Thanks for the comments. Glad you like it.

@Kiran,
I do plan on writing other tutorials using php and the netbeans IDE but as for using cakephp completion with NetBeans, I believe developers are looking into this issue.
kiran
Posts: 7
Comment
Re: Building AIR Applications with the NetBeans IDE
Reply #2 on : Fri August 08, 2008, 05:32:09
Hi great tutorial. Nice way to present it. Please write more such tutes that include using Netbeans with cakephp and zend framework. If NB is used for a cakephp project will it provide code completion for cake provided classes and functions?
Petr Pisl
Posts: 7
Comment
Nice
Reply #1 on : Wed August 06, 2008, 20:58:31
Cool, I'm looking for the next part.

Thanks,
Petr