I tried out the Zoom Search tool and use the CakePHP framework on a regular basis. After generating the PHP search files, it worked great standalone. While that was great, it did not allow me to output the content in modular pieces within the context of the framework, to work with my applications... for instance a modular implementation could look like:
This would allow for a much more flexible output and would be perfect in the context of MVC frameworks such as CakePHP. In Zoom Search's current implementation, I would have to bend the code heavily to get the output to fit within the context of the framework.
This change would mean a lot, considering it would allow me and others to leverage framework templating and view helpers, rather than being tied to Zoom Search's way of templating.
Thanks for your help!
Code:
// include and initialize the zoom search class include('zoomsearch.php'); $zoomsearch = new ZoomSearch(); // each piece of the zoom search results could be accessed like this echo $zoomsearch->title; echo $zoomsearch->description; echo $zoomsearch->results;
This change would mean a lot, considering it would allow me and others to leverage framework templating and view helpers, rather than being tied to Zoom Search's way of templating.
Thanks for your help!
Comment