Electron + Angular2, passing SQL data via HTTP or IPC?


#1

Hi there,

currently starting my first electron + angular2 project and I was wondering what is the best way to pass SQL data from the main process (via node mssql module) to angular2 components in the renderer process. Should I do this via IPC messages or run a HTTP server on localhost and use angular2 XHTTP calls as they do it in the Tour of Heroes guide?