Friday May 23, 2008

NetBeans 6.1 and PHP

Yesterday, one professor asked me to do small pressentaion on his lecture about NetBeans usage for PHP programming. I didn't have much time  so everything I presented in real time. Happiness was fast internet and before pressentaion I had everything downloaded. I did promise to students to put some steps on my blog.

1. Download NetBeans IDE - Early Access for PHP

2. Prepare additional software ( Apache Server, MySQL ... ) for PHP development
note: for Windows user I offer use apache friends XAMPP

3. Start NetBeans IDE and create new project
File -> New Project -> PHP Application -> Click

Note: Project Sources should corespond to apache server web directory

5. Start your All-in-One Software or  apach server with installed PHP

6. In your IDE you have opened PHP application.

7. For developing you PHP applicaiton you have chance to use palette inside IDE ( Right panel ). It's easy to place piece of code to yours one. It's very hepful and you could develop yours application much faster.

8. Have a fun when you are developing PHP application :)

Thursday May 01, 2008

SunSPOT SDK purple and NetBeans 6.1 Beta

I want to mention little issue with creating SunSPOT application inside NetBeans 6.1_Beta. I suppose you have SunSPOT plugin installed. 

The issue could arise when you trying to deploy SunSpotApplication (New project -> SunSpot Applicaiton ) to your device. (Right mouse click -> Build Project and deploy to SunSpot). You may get error result with missing StartApplicaton.java. StartApplication is the default class.

To solve this issue you have to go to your project directory to dirctory resources/META-INF. Here is the file MANIFEST.MF. You have to little rewrite its source.

Problem is the line
MIDlet-1: src/org/sunspotworld/StartApplication, , org.sunspotworld.src/org/sunspotworld/StartApplication 

You should change it to
MIDlet-1: src/org/sunspotworld/StartApplication, , org.sunspotworld.StartApplication


Saturday Apr 19, 2008

Sun SPOT -> NetBeans 6.1 Beta plugin

When you are decided for developing SunSPOT applications its very useful to configure your IDE. I'm using NetBeans, of course :) And way to configure it is quite easy.
Follow these steps:

1. Download UpdateCenterPlugin and install it to NetBeans
Tools->Plugins->Downloaded->Add plugins...->choose the file

2. Install plugins:
SpotRenameRefactoring, SunspotApplicationTemplate, SunspotHostApplicationTemplate, SunSpotsInfo

3. Now you have everything for create your SunSPOT application
File->New Project->Java->SunSPOT ...


 

About

My experience as a software engineer, ambassador, coordinator and university relation

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today