Code Igniter Support in Netbeans Using NBPHPCI

Hello guys ! it’s been a long time ago since i updated my blog. You know, i’m not quite a writer. Things like trigger , good mood, intention, idea and support are powerful plugins for my mind to write something. And LUCKY ME ! i got an idea. It’s all about Programming. yeah, add that to the tally !. As always, no chit chat. TO THE POINT … 😀 Here You GO !

Recently, i have a php project using Code Igniter Framework. As usual, i’m not quite a writer, so i’m not intending to remember such codes. So, i decided to search for something you may call “Auto Complete” feature on coding. I got one from here :

https://kenai.com/projects/nbphpci/pages/Home

Something they called as NBPHPCI (a.k.a Netbeans PHP CodeIgniter) :D. So, First of thing you have to do before set that thing are Downloading Netbeans , JDK and Xampp/Wampp. <In My Case, i use Xampp for windows and Lampp for linux>

Here’s The link to download Netbeans :

https://netbeans.org/downloads/

Here’s The link to download Xampp/Lampp:

http://www.apachefriends.org/en/xampp-windows.html

http://www.apachefriends.org/en/xampp-linux.html

Here’s The link to download JDK:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

From this line, i assume that all of ye already fulfilled previous requirements. Now, we go to the steps :

1. After installing every requirements, open netbeans and go to Tools > Plugins

Selection_004

2. Go to Settings Tab and then Add the following repository :

https://kenai.com/downloads/nbphpci/Latest_NetBeans720/updates.xml -> Netbeans 7.2

https://kenai.com/downloads/nbphpci/Latest_NetBeans721/updates.xml -> Netbeans 7.2.1

https://kenai.com/downloads/nbphpci/Latest_NetBeans730/updates.xml -> Netbeans 7.3

Selection_005

3. Go to Update tab, search for CI. Look for something like these “CI Framework” & “CI Framework Repository”. Check and Install those ! Done !

<Optional Step>

Actually, i just got some explanations about this step from here :

http://agasigp.wordpress.com/2013/05/08/integrasi-codeigniter-dan-netbeans-dengan-nbphpci/

it’s just a configuration to integrate CI with NBPHPCI in order to make your PHP project much more simpler to set. So, you don’t need to configure it manually. Here we GO !

1. Go to Tools > Option. Choose PHP and then CodeIgniter tab. Choose base file then add the Code Igniter File Zip.

Selection_006

           You can download the CI here :

http://ellislab.com/codeigniter/user-guide/installation/downloads.html

2. Now you may proceed to create your PHP project using Code Igniter framework with a “Auto Complete” feature within. Heaven YEAH !!!

Errors I found :

1. PHP Interpreter must be selected. Solving ways : Go To Tools > Options > PHP > General > Fill the PHP 5 Interpreter box with your php url.

   because i’m using Xampp

   Windows url -> <local disk>/xampp/php/php.exe

    Linux url (i save lampp folder on /opt/lampp) so it will be -> /opt/lampp/bin/php

2. Well, i forgot the rest. :P. Next time i remember the errors, i will soon publish to my blog.

Well, that’s all guys. Thank’s for your attention. See you on the next thing. 😀

Best Regard ,

blacklotus a.k.a the owner of this blog

tandatangan.jpeg

Advertisements