From: Andrew T. <ajt...@hi...> - 2005-12-01 22:38:41
|
I'm definitely a fan of Ajax in general - I just wrote an article on it for MacTech magazine. My point was just that XML isn't required, esp. in this case - though not necessarily a bad idea. I guess we could return a list of the items that were successfully marked as read in the database. We also don't have to support a server response - remove it from the DOM/view and send the mark read but don't handle any response. On 12/1/05, Kevin <ke...@dr...> wrote: > > > Very good suggestions. I really like changing the link to "Today's > > Unread items". And the ajax stuff sounds intriguing, though I imagine > > you don't actually need Ajax. Or do you actually wait for a server > > response before removing the div from the DOM? (ba-dim-dim :) This > > would be very nice - as long as it degrades to non-js browsers. > > I'm playing with xajax on a side project at work. I'm impressed with how > easy it is to manipulate the DOM from the server side. So with very > little effort we could do exactly what you describe above. An event on > the client sends a request to the server marking an item as read, then th= e > server sends a response back to the client telling it to hide/remove the > item from the page. All without a refresh on view.php. Nice, huh? > > > > -- > Kevin > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&opclick > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA Photos - http://flickr.com/photos/ajturner Travel - http://highearthorbit.com/projects/location/ |