Re: Re: Question: Sorting through table headers?

From: Date: Mon, 14 Sep 2009 19:57:33 +0000
Subject: Re: Re: Question: Sorting through table headers?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-298034@lists.php.net to get a copy of this message
On Mon, Sep 14, 2009 at 3:29 PM, Marcus Gnaß <gonatan@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

« previous php.general (#298034) next »