PHP Frameworks – Intellisense for Aptana
This will be something that will knock your socks off!
Aptana has what is called Intellisense, this is nothing new. Many modern IDE’s have Intellisense for standard HTML, XML, CSS, JavaScript, and other languages like PHP, and Ruby.
Setting up a Library Location
This will be a place where you can store your various frameworks. I store the frameworks in there own folders separate from the production scripts for Three reasons. One, I can keep versions of my library’s. And Two so they are independent of the production application. And Three I can update all the Frameworks with SVN.
PHP Librarys
- Cake PHP
- CodeIgniter
- ZendFramework
- Symfony
- Flourish
Configuring Aptana
I am using Aptana Studio, build: 1.5.0.025215 at the time of writing this tutorial but from the previous versions I have used the steps remain the same.
Open Aptana Studio (or Eclipse with your Aptana plug-in)
Open Aptana/Eclipse Preferences

Select PHP Libraries
Press New User Library button

Name your library, IE: Flourish
Press the Add Folder button
Select the folder where the framework libraries are located
Hit Choose, Then OK, and Ok once more.
Now under PHP Elements View you can see all the Classes, Constants, Functions, and Variables with that Library.

Start typing names of Flourish classes, or even ZendFrame Work and they will begin to show up. You can even view the PHPDoc info when you click on a class or function.
I hope this is something you find useful because I sure do!
Enjoy!
Tags:
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'vision_comment' not found or invalid function name in /home/adamdev/adampatterson.ca/wp-includes/comment-template.php on line 1334
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'vision_comment' not found or invalid function name in /home/adamdev/adampatterson.ca/wp-includes/comment-template.php on line 1334
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'vision_comment' not found or invalid function name in /home/adamdev/adampatterson.ca/wp-includes/comment-template.php on line 1334