In this project you will extend your work on Project #6 by implementing a search mechanism for photos. Here is a rough description of the new feature:
pics/users
)
should contain an entry where users can type a search string.
pics/user
). If the
user has a large photo collection, make sure that the selected
photo is visible.
To get started, copy the directory tree project6/p2
to a new
directory named project7
. Do all of your work for this
project in the new directory.
The remaining details of the design and implementation are up to you, except for the following requirements:
README
in the top-level
directory of your solution that describes which part(s) of your solution
are reusable and give examples of other situations in which the
component(s) might be used.
The most important criterion for these points is whether your Ajax support is reusable. In addition, your Javascript must be clean (appropriate use of classes, no global variables). We will also consider the usual issues of MVC decomposition, Rails conventions, validation, overall cleanliness of your code and templates, and the appearance and convenience of your Web pages.
encodeURIComponent
useful: this method will perform URL encoding on the name or value for
a query value.
Use the standard class submission mechanism
to submit the entire project7
directory. Don't forget to
include the README
file describing your approach to
reusability. As always, your HTML files should pass XHTML validation.