moiMusique/iAmOpen — Issue #11: Implement client-side functionality for querying institutions
Author: moiMusique
Created: 2011-11-08 11:33:37+00:00
State: open

While Lyubomyr is implementing server-side logic for querying institutions, you should make it easy to use it from the browser.
So your task is:
1. Write simple html markup with elements, that will be bound to javascript functionality(use css classes for that)
2. Write a new controler( in terms of jmvc framework), which will be repsonsible for business logic operations related to institution management and querying. Add a new action to it. This action should be triggered after click on some html element(doesn't really matter which one).
3. Implement action's logical parts properly :
- read parameters from corresponding html elements,
- wrap them to specific transport-level-object (here you should colaborate with Lyubomyr)
- transfer this object to server along with the request
- wait for callback(any error processing should be implemented in corresonding methods e.g onProcessFailed etc)
- show the results on page
(follow the existing example)