I would say that the Ajax request is exactly the same as non-Ajax: it works exactly the same, in fact, from the point of view of the HTTP protocol.
The only difference is that you are returning some unformatted data, such as JSON or XML (hey, this is the same as generating an ATOM ^^ feed) or just part of the HTML page.
So, I would consider them like any other βnormalβ HTTP request and place them the way I would like for requests without Ajax.
An alternative can be only one action in your controller: /browse/blogs- and always call it.
But he would detect if he would be through an Ajax request or not, and would be:
- returns a full page if called through a "normal" request
- ( ), Ajax
: "" ; , Zend Framework (. 12.8.4.3. ContextSwitch AjaxContext)