alchemyapi - Shows Progress Dialogbox when API request is being processed in CakePHP 2.x -
$this->alchemyapi = new alchemyapi(); $response = $this->alchemyapi->sentiment("text", "text anaylse", null);
i have above code made request alchemyapi , wait response ,in action of controller.my question should using create progress box showing spinning icon while request being processed.and dialogbox disappear when request finished?.i wondering if possible on server side(on controller/action) instead of using javascript/jquery on view.
since how design code passing $response variable view.
$this->set($response);
i new cakephp , have no idea start that.any appreciated.
Comments
Post a Comment