angularjs - Angular Project Arcitectural Design -
angularjs - Angular Project Arcitectural Design -
i'm new angular , mvc. "learn angular" project client home automation system. system's server supports plug-ins (written in python--something else larn :-))
i have built client responsive design (bootstrap) , can list of devices , values using restapi (i'm using $http), i'm reasonably comfortably angular basics now
now want add together functionality update clients on device statues change. (i don't want utilize polling) plug-in architecture lets me create plug-in registers changes in device states.
so here's scenario:
i have 5 touch screen (mix of android , ios) around house. running client let's assume have lighting page shown, has status of lights (on/off/dim level). someone changes living room lite 70% 30%. done 1 of clients, native app on server or lite switch itself. the device status on server alter , generate notification plug-in receive i need update state of living room lite on 5 clients show living room lite 30%not sure how i'd go this. i'd minimum possible in python , have no objections using node send notifications of helps.
so i'm looking suggestions on how send devices status alter 5 clients (without page refresh or polling). can help suggestions?
regards
mark
angularjs model-view-controller
Comments
Post a Comment