Ask Your Question

adding Application to DLUX

asked 2015-06-08 10:07:21 -0700

chravi gravatar image

updated 2015-06-08 11:35:39 -0700

I'm planning to add Application to DLUX UI for my newly developed (in progress) SB plugin. Is there way to simulate data to my DLUX UI, so that I can start implementing UI without SB plugin?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-09 07:34:54 -0700

mmcoulome gravatar image

I suggest you implementing a stub. Create a factory who return you a javascript object who represent what your SB JSON response will look like. When your plugin will be done, replace your stub with your Restangular service.

edit flag offensive delete publish link more


thanks, any pointers greatly helps. Ideally, I should be able to develop DLUX UI hard coding 'baseURL' in 'dlux-web/config/env.module.js' to my device IP Address (which supports REST). and integrate with controller after completing my plugin. is my understanding correct?

chravi ( 2015-06-10 02:53:58 -0700 )edit
Login/Signup to Answer


Asked: 2015-06-08 10:07:21 -0700

Seen: 139 times

Last updated: Jun 09 '15