Ajax and the MP
Posted: Wed 17 Jul 2013 11:09 am
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
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