How to build an interactive search engine web interface using python
Posted
by asmaier
on Stack Overflow
See other posts from Stack Overflow
or by asmaier
Published on 2010-04-10T12:12:43Z
Indexed on
2010/04/10
12:23 UTC
Read the original article
Hit count: 359
I have build a static web interface for searching data from some tables in my PostgreSQL database. The query website consists of a simple textfield for entering the search term, the result website presents the results as a simple html table. The server side code for searching the PostgreSQL database and returning the results is written in python using psycopg2.
Now I would like to add some interactive "Ajax features" to my search engine. When entering the search term I would like to be able to see a list of possible search terms like Google does it. On the results page, I would like to be able to sort the table showing the results.
What would be the easiest/recommended way to implement these features for my search engine web site? Do I need a full-fledged web framework like Django for that?
© Stack Overflow or respective owner