Extending the Search Application

Although res_search.pl serves to provide a Web-based interface into the contents of our residence table so that users can search it for themselves, we can make a number of modifications to produce a more capable application. Some of the possibilities (the ones we’ll actually implement) are as follows:

  • The price selection field needs some improvement. It allows you to specify the top end of the price range you’re looking for, but not the bottom. This means that the higher a price range you select, the more listings will be found as matches. That’s somewhat counterintuitive, because you’d expect that as you look for homes that are more and more expensive, you’d find fewer and fewer matches. We could interpret the ...

Get MySQL and Perl for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.