After a little research I found the Chromium Embedded Framework sounds pretty good, there are some good points:
- Ubiqutous frontend technologies You can just use what you’ve probably been using the most for frontend: CSS, JS and HTML
- Supports some neat things Like WebRTC!
Tha bad side:
I’m complecting things together, but that’s OK. I really want to do this.
But behold! There’s more complecting waiting for us.
For this app I have a strange use case, I need to be able to call some custom Java classes to sign and encrypt, yeah I could use openssl, but eventually someone is going to ask me to add those JAR files.
So, I embedded a JVM!
Ok so let’s take a step back, and check where we are:
- We have JS for the frontend
- We have Java for the backend (Not really, I don’t mean to use Java for anything else than SSL, well.. maybe the scripting API would be a nice fit for something)
- We have C++ as duct tape
I know what you are thinking… everyone’s favorite platform runs on top of the first two… Yes, I’m talking about clojure!
At least it sounds interesting, I’m half way through it but it seems that it’s going to work.
Let me show you:
It does nothing, but I think it is a good starting point for every desktop app that I write from now on.
BTW you can check the code here
comments powered by