Re: AJAX and PHP

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

 



It depends how much stuff you have in the first div, it there are a lot of
images and the user will have to load them again (in case there is no cache)
and you care for the traffic those images cost - it would be better to use
AJAX.

But generally - they both okay, I personally would use reload of the whole
page just because of the time it would take me to develop it with ajax ;)

HTH,
Nitsan

On Sat, Oct 4, 2008 at 12:10 PM, Alain Roger <raf.news@xxxxxxxxx> wrote:

> HI,
>
> i'm currently working on some web application and i would like to know what
> is the best way to do what i want.
> basically like all application i have a menu and based on selected item
> menu
> i want to display a page (basically 50 % of this new page is DB
> result/grid.
>
> As usual i have 2 divs, one for the menu one for the content of DB to
> display.
> i would like to know if it's not better to use AJAX to load the content of
> the second div (DB result and other stuff) instead to every time load a new
> page which load menu and content of DB ?
>
> what are your experiences on such thing ?
> thx.
>
> --
> Alain
> ------------------------------------
> Windows XP SP3
> PostgreSQL 8.2.4 / MS SQL server 2005
> Apache 2.2.4
> PHP 5.2.4
> C# 2005-2008
>

[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