10 Jan 2013 11:03 PM #1
Unanswered: ExtJs and SingalR
Please let me know if anyone has used SignalR library with ExtJS? Since SignalR is dependent on JQuery, does it create any issues?
13 Jan 2013 9:04 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
There shouldn't be a technical reason why you should be able to use it. May require some extra work on your part to learn how to mix everything.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
13 Jan 2013 12:07 PM #3
I have Ext, jquery and signalR, all fine. Referencing jquery-1.6.4 that does the job.
17 Jan 2013 2:07 PM #4
17 Jan 2013 2:52 PM #5
What do you do with messages comming from signalR is down to your business logic. I send json strings, deserialize them using Ext.deconde(...) and work with the objects, using Ext.js...
Can you be more specific please
17 Jan 2013 11:52 PM #6
What I was trying to say is could You show us how to connect to hub, receive and send messages from Ext.
I know how to do that with jQuery, but for now I don't have idea how to do the same with Ext.
With jQuery simplest usage would be:
18 Jan 2013 1:52 AM #7
Oh well, you're looking for replacing all the signalR javasript written in jQuery for equivalent in Ext.js.
Just use the jquery one, I'm using it too, it works fine, just inflates your page load by loading jquery...
18 Jan 2013 4:48 AM #8
@Stevo I know that it would be extreme hard to replace signalr jQuery code with pure ExtJS.
What I wanted to ask for is a basic example how to setup communication between jQuery, signalr and Ext.
What I have in mind is just a simple Ext GUI and basic signalr code to communicate with that GUI.
18 Jan 2013 9:32 AM #9
The code that you posted looks fine, just use it inside an Ext.onReader(...) and then use the $.connection object to send messages in a button handler, should be easy to get working.
5 Mar 2013 7:29 AM #10
also pursuing a solution with ExtJS and SignalR
I've just begun a similar quest.. am interested in comparing notes if you have any to share.