Comments (13)
So, using the grails-websocket would be by far the easiest as it wraps both Spring and Stomp and would result in most likely a lot less code:
https://github.com/zyro23/grails-spring-websocket
However, since everything is so dojo-fied . . it might be very problematic. If I re-enable the service via the service endpoint (AnnotationEditorEndpoint) it might work well enough.
from apollo.
The AMD is the bigger problem . . . even if I get the older code in there, adding the annotation to the controllers, means that I still need access to the grails service classes. I can do this via websockets . . . or somehow include HTML that will bridge the two implementations. Its unfortunate that dojo does not support stomp.
from apollo.
we use a couple non-AMD modules in webapollo. it's a little hacky but i have examples of this setup at the top of main.js to load some bbop modules.
from apollo.
Awesome. I see. That looks pretty straight-forward. Doing this with spring and stomp library support eliminates a lot of code.
I also wanted to note that websockets are very well supported on all major web browsers except IE 8 and 9.
Nathan
On Jan 2, 2015, at 1:19 PM, Colin Diesh [email protected] wrote:
we use a couple non-AMD modules in webapollo. it's a little hacky but i have examples of this setup at the top of main.js to load some bbop modules.
—
Reply to this email directly or view it on GitHub #44 (comment).
from apollo.
ie8 and 9 are not really supported by jbrowse either. from the homepage
Microsoft Internet Explorer (9 and later, 10 required for BAM, BigWig, VCF+Tabix)
from apollo.
That worked great . . . in here . . . now trying to put it all back together . . on this branch (grails1-realdata) until after the conference.
from apollo.
Note that I also added a "./copy_client.sh" method for the inteirm.
from apollo.
why is sockjs needed? it says it is websocket emulation
from apollo.
The most important reason to use it is because it integrates directly with Spring and thus Grails.
SockJS, from this description:
https://github.com/sockjs/sockjs-client https://github.com/sockjs/sockjs-client
tries to use native web sockets first and then uses the fallback. This is nice, but definitely not essential.
I think the other reason is that its a nice wrapper around web sockets, as well (on both ends) and requires a lot less (and more manageable code).
Nathan
On Jan 2, 2015, at 2:47 PM, Colin Diesh [email protected] wrote:
why is sockjs needed? it says it is websocket emulation
—
Reply to this email directly or view it on GitHub #44 (comment).
from apollo.
sockjs has an extra protocol layer built on top of websockets. i would personally vote against it since we already established we don't need the additional backwards compatibility.
from apollo.
i dunno. i guess things like socket.io also have an extra protocol. it just seems like it is kind of a silly thing to have but i won't protest
from apollo.
Convenience wrappers are good things. Especially if they implement a lot of sane defaults that provide stability, performance, and scalability.
Nathan
On Jan 2, 2015, at 3:26 PM, Colin Diesh [email protected] wrote:
i dunno. i guess things like socket.io also have an extra protocol. it just seems like it is kind of a silly thing to have but i won't protest
—
Reply to this email directly or view it on GitHub #44 (comment).
from apollo.
hell's yes!
from apollo.
Related Issues (20)
- GUI allows to modify tracks
- GUI allows to change tracks order
- Apollo Search tab to get a parameter box HOT 1
- Apollo Search tab shows alignment and picture
- Unable to create combination tracks HOT 2
- log4j vulnerability: afaict we're safe? HOT 6
- imported annotations not populating annotations tab HOT 12
- Get gene sequence HOT 2
- CDS features not appearing when written via annotations._check_write HOT 1
- Upgrade to more modern versions of dependencies? HOT 3
- Add pop up to Fmin and Fmax radial button area in annotator panel
- How to install Apollo in Windows?
- [Feature request] Update owner info from web services
- Download all the manual curation history from Apollo? HOT 1
- new install error? HOT 2
- High vulnerability caused by Apache Shiro HOT 7
- OpenID/Oath support HOT 1
- Web service calls for ShowStatus and Update status not working as expected HOT 1
- Request: Video Tutorial for configuring with H2 Apollo (and perhaps any of the other two too)
- Refactor to support Postgres greater than 11 HOT 3
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 apollo.