The AJAX Solr architecture
AJAX Solr follows the Model-View-Controller (MVC) pattern. The components of AJAX Solr are:
ParameterStore: This is the model of an MVC framework. This class stores the Solr parameters and hence the state of the application.
Manager: This acts as the controller in the MVC framework. It talks to the
ParameterStore
class and sends requests to the Solr server and delegates the response received to the widgets for rendering.Widgets: Widgets act as views rendering the interface.
Note
AJAX Solr library can be downloaded from https://github.com using the Git client and the following command:
git clone https://github.com/evolvingweb/ajax-solr.git
You will need to install the Git client on your machine to execute this command. For Linux users, Git can be installed using the following command:
sudo apt-get install git
Windows users can download Git from the following URL and install it on their machines: http://git-scm.com/downloads.
This will create a folder called ajax-solr...