![]() Our software (a web-app) offers the possibility to execute payments over a POS terminal. This latter one is controllable through a dedicated DLL which exposes interfaces like ExecutePayment(operation, amount) and so on. As I mentioned, there is the Node.js server that somehow exposes the functionality of the POS (and some more) as a REST api. (The choice for using Node.js had specific reasons which I wouldn't want to outline right now). ![]() When you start with such an undertaking, then there are different possibilities. One is to use Edge.js which allows you to embed, reference and invoke. Net CLR objects from within your Node.js based applications. Something like this: var hello = require('edge').func() Įdge is a very interesting project and has a lot of potential. In fact, I just tried it quickly with a simple DLL and it worked right away. ![]() However, when using it from my Node app within node-webkit it didn't work. ![]() I'm not yet sure whether it was related to node-webkit or the POS DLL itself (because it might be COM exposed etc.). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |