JavaScript::Autocomplete::Backend 0.10
Sponsored Links
JavaScript::Autocomplete::Backend 0.10 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1096
Date added:
2006-11-24
Publisher:
Ivan Tubert-Brohman
JavaScript::Autocomplete::Backend 0.10 description
JavaScript::Autocomplete::Backend is a Google Suggest-compatible autocompletion backend.
SYNOPSYS
package MyAutocompleter;
use base qw(JavaScript::Autocomplete::Backend);
my @NAMES = qw(alice bob charlie);
sub expand {
my ($self, $query) = @_;
# do something to expand the query
my $re = qr/^Q$queryE/i;
my @names = grep /$re/, @NAMES;
(lc $query, @names, [], [""]);
}
MyAutocompleter->run;
This is a base class for implementing an autocompletion server with the same protocol used by Google Suggest ( http://www.google.com/webhp?complete=1&hl=en ). It is basically a CGI script that takes a word to be completed as the "qu" parameter and returns a specially concoted JavaScript statement. For more efficiency it should be possible to turn it into a mod_perl handler; that is left as an exercise for the reader.
The front-end JavaScript code is discussed in http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html .
This module is used by creating a subclass, which should override the expand method, which takes care of searching for the autocompletion results.
SYNOPSYS
package MyAutocompleter;
use base qw(JavaScript::Autocomplete::Backend);
my @NAMES = qw(alice bob charlie);
sub expand {
my ($self, $query) = @_;
# do something to expand the query
my $re = qr/^Q$queryE/i;
my @names = grep /$re/, @NAMES;
(lc $query, @names, [], [""]);
}
MyAutocompleter->run;
This is a base class for implementing an autocompletion server with the same protocol used by Google Suggest ( http://www.google.com/webhp?complete=1&hl=en ). It is basically a CGI script that takes a word to be completed as the "qu" parameter and returns a specially concoted JavaScript statement. For more efficiency it should be possible to turn it into a mod_perl handler; that is left as an exercise for the reader.
The front-end JavaScript code is discussed in http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html .
This module is used by creating a subclass, which should override the expand method, which takes care of searching for the autocompletion results.
JavaScript::Autocomplete::Backend 0.10 Screenshot
Advertisements
JavaScript::Autocomplete::Backend 0.10 Keywords
JavaScript
Google Suggest
Backend 0.10
Autocompletion
google
names
backend
0.10
JavaScript::Autocomplete::Backend
JavaScriptAutocompleteBackend
JavaScript::Autocomplete::Backend 0.10
Libraries
Programming
Bookmark JavaScript::Autocomplete::Backend 0.10
JavaScript::Autocomplete::Backend 0.10 Copyright
WareSeeker periodically updates pricing and software information of JavaScript::Autocomplete::Backend 0.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of JavaScript::Autocomplete::Backend 0.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
javascript runtime engine
google suggest labs
javascript code library
enable javascript
google suggest site
google suggestion
javascript code
what is javascript
either have javascript turned
javascript array
javascript codes
google suggest beta
javascript examples
javascript tutorial
javascript hack
how do i turn on javascript
javascript void 0
javascript substring
Related Software
PHP/JavaScript interpreter is a PHP JavaScript script interpreter for server-side use. Free Download
Apache2::Autocomplete is a Perl module to autocomplete service backend via mod_perl. Free Download
JavaScript::App is a Perl framework for building dynamic widgets or full applications in Javascript. Free Download
WMS Javascript Library is an object-oriented JavaScript library for creating dynamic Web-based maps. Free Download
Autocomplete Manager is an extension which provides advanced features for the address Autocomplete component in Firefox. Free Download
PHP JavaScript Tooltip Generator Class is a PHP class that can generate JavaScript tooltips. Free Download
Javascript::Menu is a NumberedTree that generates HTML and Javascript code for a menu. Free Download
PHP/Javascript Jigsaw puzzle automatically creates jigsaw puzzles from a folder of images. Free Download
Latest Software
Popular Software
Favourite Software