Upload part of the page in AJAX

1

I'm making an application. The application has a top, a side menu and content according to the selected menu.

In the content the user can add, remove, change and my question is: for example, when adding a new record should I update the content via AJAX, since everything else will remain the same?

I think with AJAX the answer is a bit slower, am I right? Is it better to load normally?

    
asked by anonymous 25.03.2014 / 17:51

1 answer

0

Actually the answer via ajax is faster, as it will have less data flowing over the network / internet.

For example, when you delete something, you can do an AJAX for a specific URL, and then return a JSON that contains only a true or false value, indicating whether it has been deleted or not.

This is much better than reloading the entire page, and much faster ... the only problem is that you will have to do some manipulation via javascript.

    
25.03.2014 / 18:23