Re: Re: Question: Sorting through table headers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 14, 2009 at 3:29 PM, Marcus Gnaß <gonatan@xxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux