In this blog section we like to inform you about topics and technologies that we are evaluating and working on to possibly integrate into Wisej in the future. While this is not intended to be a roadmap, it should still give you some insights behind the scenes and a feeling of what could be included in future Wisej releases.
This time we want to present you 2 new extensions that we added in order to prvide extra benefit to your Wisej applications. We are also constantly improving our core framework and recently we added a new transparent caching layer plus a real time polling alternative when not running on WebSocket and increased security.
Finally we also expanded our repository on GitHub.
New extensions available
We recently added 2 new free extensions to our download directory:
As with all our other extensions they are shipping with full source code so you can explore and extend them. They actually show quite well how to turn widgets into server wired controls that fit very well into your server side code environment.
The first extension we want to show here is a Panorama Viewer. We wrapped up the Pannellum library (https://pannellum.org/ ) . It is a lightweight, free and open source panorama viewer for the web. For a full list of features, supported browsers and documentation, please refer to their website.
Our Pannellum extension now wraps this powerful Panorama Viewer and allows integration and interaction with it from server side code. This could include providing data and images from databases and/or handling events like clicking on hotspots etc.
Sample setup using dynamic Options object:
Handling hotspot click event:
You can find a Wisej sample demonstrating some of the Pannellum features here:
The second extension helps you to create screenshots and can also be used from server side code. Here we wrapped the Html2Canvas library (https://html2canvas.hertzen.com/) and using our Wisej extensions you can create screenshots from the complete browser or selected controls and windows through a simple function call without requiring any installation of browser plugins or similar.
As mentioned before both extensions are free and downloadable with full source code at http://wisej.com/extensions/ Please give it a try and send us your feedback !
You can try it out with our demo server that already uses the next build: http://demo.wisej.com/CodeProject
See the difference if you open it again or inspect it with Chrome Console (Hit F12).
Make sure to uncheck “Disable cache” and see which resources are loaded from cache on subsequent calls (with Http status 304).
Real Time Polling
Wisej fully supports real time updates between Client and Server through Websockets. However there might be scenarios where you cannot use Websockets (depending on infrastructure).
For these scenarios we added an easy to use polling mechanism that you can set up through your default.json with the pollingInterval parameter.
It defaults to 0 and is also not active when WebSockets are available. When you setup an interval (in milliseconds) your server will be polled for changes automatically.
From a user perspective this feels like push updates and no changes to your code are required.
Users whose sessions expire will be shown a blank screen clearing all sensitive data by the server (websockets only).
Session keys are changed from GUIDs to numbers generated by a cryptographically secure Random Number Generator (RNG).
We greatly expanded our repository on GitHub. It now includes all samples, themes, extensions, selenium driver and more. Find out at: https://github.com/iceteagroup.