Page 1 of 1

Ajax and the MP

Posted: Wed 17 Jul 2013 11:09 am
by IV/JG7_4Shades
Some of you would know that the MP was constructed using a very old client-server model that meant that every database update (e.g. from committing new movement orders, changing unit orientations etc etc) was accompanied by a new page loading in the browser, and then the need to RELOAD THE MAP, which could be very slow.

A current solution to this problem is to use Ajax to perform database updates asynchronously whilst keeping the map view loaded. Many web sites do this, and the MP already does this in a limited sense (the radar tool is completely Ajax-driven).

Well, after many people have prompted for seamless Ajax-driven functions in the MP, I have just released the first minor implementation of Ajax in the MP proper, under v6.0.51.

In this update, the Logistics::Pilot Reports::Create New tool is fully Ajax-driven. No other features are Ajax-driven yet. Using this new code set you can create Pilot Reports without reloading the map page.

Other features will become Ajax-driven, as I get time to make the required changes.

Cheers,
4S

Posted: Wed 17 Jul 2013 5:34 pm
by PA-Dore
great feature, thanks ^^

Just one thing: In 2013 SEOW is 10 years old, isn't it? Happy birthday!

Posted: Wed 17 Jul 2013 6:02 pm
by Classic_EAF19
Thankyou for your continued support, development and creation of SEOW :)

Posted: Thu 18 Jul 2013 5:24 am
by 102nd-HR-cmirko
cheers mates!
thanks 4Shades!

Posted: Thu 18 Jul 2013 8:30 pm
by IV/JG7_4Shades
And, everybody, please ensure you have the following line in your MP-Configuration.php file:

Code: Select all

$USE_AJAX = true;			//Enable use of Ajax updates for PHP forms.
Cheers,
4S

Posted: Thu 01 Aug 2013 7:20 am
by =gRiJ=Petr
GREAT feature!