You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be worth considering refactoring the way this is done with a view to removing duplication by centralising the read and writes in one place, maybe in a Service supported by some object oriented components. The latter would help reduce reliance on static method calls and magic hard-coded strings. The various file paths might be good as properties on a bean. The benefits of this would be easier to read, easier to maintain, easier to change, easier to extend. The features that would be impacted include uploading images, displaying images, deleting images, creating thumbnails, creating tiles and publishing (moving) images to the central repository - Biocache.
The text was updated successfully, but these errors were encountered:
It might be worth considering refactoring the way this is done with a view to removing duplication by centralising the read and writes in one place, maybe in a Service supported by some object oriented components. The latter would help reduce reliance on static method calls and magic hard-coded strings. The various file paths might be good as properties on a bean. The benefits of this would be easier to read, easier to maintain, easier to change, easier to extend. The features that would be impacted include uploading images, displaying images, deleting images, creating thumbnails, creating tiles and publishing (moving) images to the central repository - Biocache.
The text was updated successfully, but these errors were encountered: