CakePHP 2.0 Plugin that aims to make easily the autocomplete fuctionality, (*1)
Requirements
PHP 5.3
CakePHP 2.0 or >
Installation
Clone from github: in your app directory type git clone git@github.com:krolow/Komplete.git Plugin/Komplete
Download an archive from github and extract it in app/Plugin/Komplete
When use it?
Autocomplete functionality
Several times you want to make one input autcomplete, for the front-end side we have serveral solutions that works pretty well, but in the back-end side we have always to code that feature., (*2)
Komplete aims to make plug and play the autocomplete featurein the back-end side., (*3)
How?
It provides to you one controller action that answer as json the autocomplete functionality, and one behavior to save the data tha comes from the input field., (*4)
It look for existent data
Performs update/insert
Performs the relationship between data
Works with multiple data
Works with single data
Import data
Import data is always another boring task, we have always to check if the data already exists in the database case it does not exists we should insert and create the relations., (*5)
Using Komplete you don't need more to care about this, you just enable Komplete and let the behavior handle that task to you, you pass one field as string, define what will be the property of database that you want to use as the search, and it will look for in database to you, case it exists in database will create the relations need, case not it will insert and also create the relations., (*6)