You are here: Re: How about Ajax? « PHP Programming Language « IT news, forums, messages
Re: How about Ajax?

Posted by Tim Van Wassenhove on 09/19/05 03:05

On 2005-09-18, Yarco <yarco.w@gmail.com> wrote:
> Well. For example:
> I create several views: view1, view2, view3.
> Using php with smarty, i select view1. Smarty will compile it into php,
> and then into html. HTML will be send to the client.
> But in Ajax:
> I create several views: view1, view2, view3.
> When i select view1. The view and the data will be download into client
> end. And then compile them into html.(I don't know how to do it, but i
> think it can be realized.)

If i understand it well, the only advantage you mention is that with
ajax you don't need to "load" the page again to change the presentation.

I can imagine uses for ajax, for example a chatbox, where you want to
update the messages.. without completely reloading the page..

> The data and the view are distinguished. It is very clairly what the
> client want to get.

For this functionality, you could generate x(ht)ml.. With a bit of XSL
the user can get the data in the representation *he* wants.

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация