Can Angular.js auto-update a view if a persistent model (server database) is changed by an external app?

112 views
Skip to first unread message

ali normukhamedov

unread,
Mar 17, 2014, 8:11:43 PM3/17/14
to ang...@googlegroups.com

Luke Kende

unread,
Mar 18, 2014, 1:32:20 AM3/18/14
to ang...@googlegroups.com
I'm going to take a stab at this since not exactly sure what you are asking, and say yes: websockets.  If something changes on the server side you can push a socket message down to the client which can react and change the view.

On Monday, March 17, 2014 6:11:43 PM UTC-6, ali normukhamedov wrote:

ali normukhamedov

unread,
Mar 18, 2014, 4:19:07 PM3/18/14
to ang...@googlegroups.com
Hi Luke, Thanks for a reply. Do you have/know of any good sample of it with comments and explanation. I am new to this stuff and need some help.
Thanks
PS i found this one  but it does not have any comments. ...


On Mon, Mar 17, 2014 at 10:32 PM, Luke Kende <luke....@gmail.com> wrote:
I'm going to take a stab at this since not exactly sure what you are asking, and say yes: websockets.  If something changes on the server side you can push a socket message down to the client which can react and change the view.


On Monday, March 17, 2014 6:11:43 PM UTC-6, ali normukhamedov wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/j6KRiF1gWJI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Luke Kende

unread,
Mar 18, 2014, 4:54:20 PM3/18/14
to ang...@googlegroups.com
We use NodeJs which has an implementation os socket.io with angular.   You will need to research using websockets for apache, or IIS, or Java, or whatever your server-side ability is.  Once you determine that path, do some searches for websockets with Angular and you will find lots examples.

ali normukhamedov

unread,
Mar 18, 2014, 4:56:02 PM3/18/14
to ang...@googlegroups.com
Ok, thanks a bunch !
Reply all
Reply to author
Forward
0 new messages