Minggu, 08 Maret 2015

CodeIgniter Autocomplete

Codeigniter is a great framework for php . It is simple and already helps lot of people to write faster code. The documentation is very good with examples for all the classes – functions.
But (there is always a but…!) in eclipse we used to have our own classes and when we write the “magic arrow” -> we are waiting to have a dropdown list with the functions/variables that the class have .
In Codeigniter till now we write for example $this->session-> … and then we go to the codeigiter website just to see what was the name of the function .
For that reason I created a fake Controller. This is only a fake Controller and it used ONLY for the autocomplete. You can copy paste it WHEREVER you like in the project (because is fake).

Ok lets see it how it works .
1st Step
Download the zip file :
or
or
Download the latest development edition from github repository:https://github.com/scoumbourdis/codeigniter-autocomplete
2nd Step
Copy it somewhere in your project (I’ve copy it into libraries in a folder named fake)
3rd Step
Start typing in your Controller :-). That’s it. Pretty easy right? Below there are some images to show what you are be able to do.
It works fine in eclipse,netbeans and Aptana.


Related Posts:

  • CodeIgniter Autocomplete Codeigniter is a great framework for php . It is simple and already helps lot of people to write faster code. The documentation is very good with examples for all the classes – functions. But (there is always a but…!) in ec… Read More
  • 4 Simple MD5 Login System (+Logout) with CodeIgniterCase Study : Create Simple MD5 Login System (+Logout) with CodeIgniter Requirements: Webserver Package, already installed. CodeIgniter bundle. Login (and Logout) is almost exist in any application that developed with cer… Read More
  • Minimize your URLs in Codeigniter Don’t wait until your customer or … your browser(!) start to mention that your URL is way to big from the usually title. Well the first thing that you realize when you install Codeigntier is that the URLs are really huge,… Read More
  • PHP Object Oriented Programming for Newbies This article analyzes the reasons of using Object Oriented Programming for PHP newcomers. In his opinion anyone can found thousands of tutorials for Object Oriented PHP and Object Oriented Programming. But what about a diffe… Read More
  • grocery CRUD for codeigniter This is a codeigniter CRUD. It is fully tested in codeigniter 2.0 and in 1.7.x. It is simple and has many features . The main feauture is that a customer can easily use this crud, not only a developer!! The installati… Read More

1 komentar: