Ticket #73 (closed defect: fixed)
Check in ImageManager
|Reported by:||yermol||Owned by:||yermol|
The current ImageManager code I have uses a number of different PHP scripts on the backend. The urls to these scripts are all hard coded in the client side.
Modify ImageManager so all requests go to a single backend script that then routes the command to the right function.
It is probably a good idea to standardize on some communication method between client and server to make the lives of server-side integrators easier. If the URL's are not hard coded it's much easier to replace the backend code.
I'm imaginging something like
where func is whatever the function request is (view thumbnails, raise the editor, etc.)
We could even go so far as to create a single backend entry point for all plugins
The actual URL would get passed in as a config parameter with some reasonable default.
This would make doing global things like server side permissions much easier.
What do you think?