My app manages many devices.
I would like to display a per-device window whenever the user opens an address such as /app/device/<deviceID>.
I am unkeen about pre-creating costly windows for all devices.
My initial attempt was to dynamically create a device window when the user clicked on a Link pointing to /app/device/<deviceID>.
However, that did not work well, because the browser often hit the URL before the server finished creating the new window.
Right now I am considering other alternatives:
1. Is it somehow possible to pre-register window names in order to create them only on demand?
2. Otherwise, I guess I could actually pre-create all those per-device windows with minimal dummy content and then dynamically load rich contents only on windows actually loaded be the user (within the window load event).
What is the most promising course of action?
One last question.
I noticed I could not create windows as "device/<deviceID>", so I am currently using "device-<deviceID>".
Is such a limitation actually intended?
Thanks a lot,
Everton