Greets,

Made a post to JIRA (https://issues.apache.org/jira/browse/CB-13723) but
was advised this would be a more appropriate venue. Also, sorry if this
is a dupe--wasn't subscribed to the list at time of original send, and
can't see it in the archive on markmail, so I'm trying again...


*** Cordova-Ubuntu is Dead ***

To recap, I create apps using cordova and ionic.  I had been using
cordova-ubuntu for Ubuntu releases of the apps, but that's been dead for
a while and there's nothing for us with Ubuntu 17.x.

To address this, and to address the fact that cordova apps were
restricted to *Ubuntu*, I've created Coraline:
https://coraline.psychogenic.com/

It's basically a webkit renderer plus a plugin system so we can use the
same codebase for iOS/Android/Win as for Linux.

*** Coraline: Cordova wrapper for Linux ***

Coraline is the same as cordova-ubuntu in that it renders the web-tech
apps and gives you access to the native system through plugins, using
the standard interfaces.

It's different from cordova-ubuntu in that:

  * it doesn't rely on the ubuntu-sdk, of course, or Qt--it's straight
up C++, though plugins _can_ use Qt;

  * in theory, it runs on any flavour of Linux;

  * plugins are dynamically loadable, and shared--no need to install the
same functionality with every app (though there are facilities for
app-specific plugins);

  * because of the above point, apps don't actually need to be compiled
–you just need a directory with all the html/js/resources, massaged
appropriately to get rid of the Node stuff.


You can get details, and see a walk-through video, on linux deployment
at: https://coraline.psychogenic.com/developers/deployment/

The short of it is that the ideal procedure is to create a bundle (.deb
or .rpm, say) that includes the transpiled JS/HTML and other resources,
along with desktop shortcuts and such.

*** Plugins ***

The plugins need only:
  * be dynamically loadable
  * implement the Coraline Plugin interface
  * have standard functions to actually get a handle on an instance

I've got a wrapper that maps the CPlugin/Qt stuff to integrate old
ubuntu plugins (though it requires some manual tweaking), and have
ported a few (Device and SQLite), so we can rescue the existing
cordova-ubuntu plugins.

*** Wish List ***

The reason I'm writing is that I'd like to know what it would take to
integrate coraline app "builds" with the cordova CLI.

In my ideal scenario, we'd have a new "linux" target that would allow
creation of coraline-compatible bundles.
        
It shouldn't take too much effort, but I'd like to both gauge interest
and get pointers on how integration with the cordova CLI build actually
happens.  In short, I want to know what it would take to get integration
going, and some ideas on how to do it.

Any input on this, feedback on Coraline, or questions are welcome.

Thanks!
Pat Deegan


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to