Closed jansmolders86 closed 8 years ago
When you're ready for this let me know. I've used node-webkit to create desktop apps before and could shed some light on what's needed.
Hej Matthew!
How have you been? I must admit I was way to busy to delve into this one. I did mess around with it a bit based on your previous feedback, but I still had a hard time getting it to run due to the routing and the keep alive system (server.js). So if you are up for it I could definitely use some of your insights :)
Thanks! Jan
Sure, let me know your questions and I'll try to help. :)
Maybe have a look at https://github.com/atom/atom-shell It basically does the same as node-webkit but with a different approach which could make it more suitable for mcjs.
From their docs: Normal web pages are designed to not touch outside world, which makes them unsuitable for interacting with native systems. Atom-shell provides Node.js APIs in web pages so you could access native resources in web pages, just like Node-Webkit.
But unlike Node-Webkit, you could not do native GUI related operations in web pages, instead you need to do them on the browser side by sending messages or use the easy remote module.
I never really used any of them, so it's really just about what I read there
Basically what I figured from reading documentation, the entire application should be ported to angular for this to work.
I can't really see any connection to angular? Also at his point I think it's just the weather app and the main screen that needs to move to angular?
Very true, but what I meant was use angular routing and mvc structure rather than the current express custom Mvc solution we have. With angular routing a node webkit port is a breeze
This means a rewrite with webpack/react/react-router/
It would be ideal if MediacenterJS could also run in/with Node-webkit. Although MCJS is setup with ExpressJS and JADE, it should be doable without too much effort to get things going in Node-Webkit https://github.com/rogerwang/node-webkit/