Comments (8)
We could fork the solution and try SignalR. The good thing about SSE is that it's done over HTTP (i.e. doesn't require another protocol) and is very lightweight.
from dashing.net.
+1 for this. IE support would be great.
from dashing.net.
I agree with @sbarski, SSE is a standard, it's only a shame that IE does not implement it.
Also, using Signalr would mean changing some of the front end (js communication), and the point here is that we can just reuse the original front end from shopify.
Just my 2 cents.
from dashing.net.
It would probably mean creating two server side broadcasting points but I wonder if it would be possible to implement an EventSource object that would provide polling/websockets if SSE were not available & allow reuse of existing shopify code.
from dashing.net.
I think we should maintain SSE as our standard. I think we should keep this (canonical) version of dashing.net compatible with the original dashing and with the other implementations (in python and perl) that are currently being written.
For IE support we have a couple of options:
- We can fork dashing.net and replace SSE with SignalR (sr-dashing.net?). If someone is very keen to do that and to maintain the fork please let me know. (Although I am still not sure it will be a completely worthwhile exercise.)
- Alternatively we can explore an IE polyfill to fake an EventSource object via JavaScript. The Yaffle polyfill might do the trick although it has a few limitations (I think it completely replaces the EventSource object even in non-IE browsers - but I need to have a look at it to be sure).
There might be other polyfills we could use or we could roll our own. This could be my weekend project but if anyone want to give it a shot - please feel free :)
from dashing.net.
I think the polyfill option is be the best one. It respects the open-close principle (sort of). We don't change anything, we just extend when needed.
It's even an interesting addition to the original dashing project, I'm sure they would be happy to merge a PR that make them support IE (hum hum).
from dashing.net.
Did this ever get any further? The demo doesnt currently seem to work in IE though.
from dashing.net.
How can we make it to support IE? Actually IE still has big share in browsers. We have to support it before we use this.
from dashing.net.
Related Issues (13)
- Consider plugin model so dont have to modify core framework - im thinking MEF? HOT 2
- Base paths for views are incorrect for virtual directory setup HOT 1
- Solarwinds Auto Authentication HOT 9
- Dashing.net weather app
- Problems adding new fields
- NuGet Support
- NuGet Support
- hosting on iis HOT 5
- Server-sent events aren't working anymore on Azure HOT 6
- Widget Request
- Populate widgets on start of dashboard
- Deploying to IIS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashing.net.