On Mon, Sep 14, 2009 at 3:29 PM, Marcus Gnaß <gona...@gmx.de> wrote:
> Tony Marston wrote:
>
>> You cannot do this in a separate class as it requires action in both the
>> presentation (UI) and data access layers, and a single class is not allowed
>> to operate in more than one layer.
>
> You can, but you shouldn't if you want to write your classes according
> to the MVC pattern.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Why not send the data as XML and let the client handle it? Sorting and
the filtering are relatively simple to implement in JS
-- 

Bastien

Cat, the other other white meat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to