The cross-platform property allows us to build on Mac OSX and release it for a Windows machine, it will make the development process very easy.
Golang is a compile language, all things will compile to the executable binary file, it will keep your source code safe.We chose Golang, because Golang is a cross-compile language and it has some advantages that we want: We decided we could still use JavaScript, but use another language to replace C++/C#. We considered using some Node.js native modules, but we faced the same situation again Node.js native module is written by C++ and this would require our team to spend excess time fine tuning C++ skills.It will keep the state after you use it next time, sometimes this is a good thing, but you don’t want keep the state forever, it will make things go crazy. Snapshot does have some limitations - you will get in to trouble when you snapshot a large piece of code, the snapshot file will increase when you use it over time, and it’s not good to use for data storage within the code.I found v8 snapshot later on, it provides some great benefits - it’s good way to protect the source code, it will compile your source code to v8 engine snapshot file, then you can use it directly in your code.Use JavaScript minify tools to compress and minify your code, it is a way to protect your source code but this method didn’t provide the highest security possible.The following are some ways I found to protect JavaScript code: Once we confirmed the decision to use JavaScript, I began researching methods to make JavaScript more secure.
You can read more about how we built a high performance PDF generator in Electron.js for the Myanmar election and here on GitHub Snapshot vs Golang Learning C++ is more difficult than some other languages (everyone knows that.) We may face lots of issues and it may not be easy to solve.Įlectron.js and NW.js both are good open source projects, they make it easy to build a cross-platform application, but electron provides more features like multi-context, which allows us to do more in the generation of the PDF process.
We built the entire voter registration system for IFES (International Foundation for Electoral Systems and the Myanmar UEC (Union Election Commission) one of the most important parts of the project was the Windows Application, called the Township Voter Registration (TVR), that allowed UEC members on the ground to help collect voter registrant information and make corrections. What you might not know is that there was a lot of work that went in to making these elections possible, including the work Wiredcraft just completed on the Myanmar Election Project. Myanmar voted in monumental elections last month.