You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Tobias Bocanegra <tr...@apache.org> on 2015/08/14 19:55:34 UTC

Re: cordova-osx - mothball

Hi,

I think there might still be some value of having the cocoa + webview
approach. looking at the amount of forks of cordova-osx, I assume that
people wrote plugins that interact in one way or the other with the
existing code.

electron is IMO great to build desktop applications, but if you want
to create a mobile like app, I think it's too desktopy. our use case
is more towards the kiosk mode, where the app needs to run fullscreen
over several displays (which is not possible using the normal osx
fullscreen mode) and also has support for multi-touch input (which we
can nicely inject with a cdv plugin).
further, our tests have shown that CEF is not so performant as osx
webkit - at least at the time when we tried it a couple of months ago.

I will provide a PR that makes the current cordova-osx build again
with the instructions (CB-7143) and the new node.js based cli scripts.

WDYT?
regards, toby


On Fri, Jun 12, 2015 at 1:07 AM, Toplak Daniel <D....@cadenas.de> wrote:
> Yes I don't understand it wrong :-)
> And my effort into the project is very low at the moment.
> We will look forward into cordova-electron.
>
> Mit freundlichen Grüßen / Best regards
>
> CADENAS GmbH
> Head of Mobile Development
> Daniel Toplak
>
> -----Ursprüngliche Nachricht-----
> Von: Shazron [mailto:shazron@gmail.com]
> Gesendet: Freitag, 12. Juni 2015 09:55
> An: dev@cordova.apache.org
> Betreff: Re: cordova-osx - mothball
>
> Not to diminish your work, but Atom Electron [1] (also based on Chromium) is more aligned with Cordova as it includes node.js support built in (thus you can use node modules which is a big plus), and already runs on OS X, Windows and Linux. It has also in use by a lot of companies, thus there is a higher probability of ongoing maintenance:
> http://electron.atom.io/#built-on-electron
>
> In any case, whether through CEF or Atom Electron, to create native plugins you will still need to bridge the code using C/C++ (unavoidable), the difference would be for Atom Electron you would structure your code as a node native module, which gives the advantage that it can be used not just as a Cordova plugin, but as a regular node module outside of Cordova.
>
>
> [1] http://electron.atom.io
>
>
>
> On Fri, Jun 12, 2015 at 12:13 AM, Toplak Daniel <D....@cadenas.de> wrote:
>
>> As I wrote a few month bevor I am developing a cordova platform based
>> on the Chromium Embedded Framework (DEF) directly:
>> https://github.com/hsimpson/cordova-cef
>> We use this as a development and rapid prototyping platform on Windows.
>> Theoretically it could be easily extended to OSX and Linux.
>> It has the advantage to use native plugins to access operating system
>> functionality.
>>
>> The version of the cordova implementation was from iOS and Android
>> around the version 3.0 or 3.1.
>>
>> Mit freundlichen Grüßen / Best regards
>>
>> CADENAS GmbH
>> Head of Mobile Development
>> Daniel Toplak
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Kerri Shotts [mailto:kerrishotts@gmail.com]
>> Gesendet: Donnerstag, 11. Juni 2015 21:08
>> An: Shazron; dev@cordova.apache.org
>> Betreff: Re: cordova-osx - mothball
>>
>> I’ll throw in my +1. Electron is awesome, and I’ve used it to wrap a
>> PG project for a client where they are demoing the app to their
>> potential clients because they don’t have devices to share from, and
>> they don’t have the expertise for emulators (they are sales reps).
>> Because I can wrap everything in a simple .exe (plus a couple menu
>> items for switching app themes), it provides enough of a simulation
>> that anyone who can double-click a file can use. (It’s not a perfect
>> sim, of course, but good
>> enough.)
>>
>> I’d hope that plugins that target the browser would hop on the
>> electron platform as well, because there’s no reason why they
>> shouldn’t work in electron. But I would also imagine that there could
>> be electron-specific which would be very interesting to see. :-)
>>
>> So I’m going to be watching this with extreme interest. :-)
>>
>>
>>
>>
>> On June 11, 2015 at 1:53:24 PM, Shazron (shazron@gmail.com) wrote:
>>
>> The potential maintainer for cordova-osx in this thread has decided to
>> go in another direction -- the final nail in its coffin. Full speed
>> ahead cordova-electron! Godspeed
>>
>> On Thu, Jun 11, 2015 at 10:59 AM, Steven Gill <st...@gmail.com>
>> wrote:
>>
>> > Thanks Nikhil,
>> >
>> > I will take a look at that PR as I work on this and provide feedback.
>> >
>> >
>> >
>> > On Wed, Jun 10, 2015 at 5:34 PM, Nikhil Khandelwal
>> > <nikhilkh@microsoft.com
>> > >
>> > wrote:
>> >
>> > > There is a massive PR currently in the works that is looking to
>> > > change
>> > how
>> > > platforms should expose their functionality:
>> > > https://github.com/apache/cordova-android/pull/179
>> > >
>> > > It leans on using node modules and 'require' as opposed to
>> > > executing
>> > shell
>> > > scripts. Steve: As you try building these new platform which
>> > > sounds
>> > really
>> > > exciting, consider using this new approach of defining the
>> > > platform and provide feedback to that PR.
>> > >
>> > > Thanks,
>> > > Nikhil
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Carlos Santana [mailto:csantana23@gmail.com]
>> > > Sent: Wednesday, June 10, 2015 5:22 PM
>> > > To: dev@cordova.apache.org
>> > > Cc: Ondrej Florian
>> > > Subject: Re: cordova-osx - mothball
>> > >
>> > > Sweet Steve +1
>> > > On Wed, Jun 10, 2015 at 3:11 PM Steven Gill
>> > > <st...@gmail.com>
>> > > wrote:
>> > >
>> > > > I started some preliminary work on this a couple of weekends ago.
>> > > >
>> > > > Lots to do still. Will eventually move it over to Apache.
>> > > >
>> > > > https://github.com/stevengill/cordova-electron
>> > > > https://github.com/stevengill/cordova-js/tree/electron
>> > > >
>> > > > On Tue, May 26, 2015 at 7:53 PM, Carlos Santana
>> > > > <cs...@gmail.com>
>> > > > wrote:
>> > > >
>> > > > > I agree with Shaz Electron is a good platform and taking a lot
>> > > > > of track now.
>> > > > > Maybe another platform to cover that use case
>> > > > > cordova-electron, but that would be something that is lower
>> > > > > priority than the mobile platforms, but cool to see if someone
>> > > > > in the community wants to dedicate time to
>> > > > implement
>> > > > >
>> > > > >
>> > > > > On Tue, May 5, 2015 at 11:19 AM Shazron <sh...@gmail.com> wrote:
>> > > > >
>> > > > > > Great! This is encouraging. I'll help expedite this as much
>> > > > > > as I can
>> > > > for
>> > > > > it
>> > > > > > to catch up, I'll look at any PRs and review and merge.
>> > > > > >
>> > > > > > On Tuesday, May 5, 2015, Ondrej Florian <of...@adobe.com>
>> > wrote:
>> > > > > >
>> > > > > > > If there is any interest, I would volunteer to pick it up.
>> > > > > > >
>> > > > > > > The Cordova-osx has its uses (I use it myself).
>> > > > > > >
>> > > > > > > One advantage over the Atom Electron is the plugins.
>> > > > > > > Many non-UI iOS plugins will works with it out of the box.
>> > > > > > >
>> > > > > > > Another is that it's just another Cordova platform so you
>> > > > > > > don't have
>> > > > to
>> > > > > > > work with yet another API.
>> > > > > > >
>> > > > > > > However, I think you'll rarely be satisfied with 'pure'
>> > > > > > > cordova-osx (entire UI done in HTML5/js) - it's way too
>> limiting.
>> > > > > > > But for a hybrid app where you can mix in the native UI -
>> > > > > > > it works
>> > > > > well.
>> > > > > > >
>> > > > > > >
>> > > > > > > Ondrej
>> > > > > > >
>> > > > > > > On 05/05/2015 01:56, "Shazron" <shazron@gmail.com
>> > > > > > > <javascript:;>>
>> > > > > wrote:
>> > > > > > >
>> > > > > > > >There is non-trivial work to create a bridge for plugins
>> > > > > > > >to work
>> > > > with
>> > > > > > > >Electron, but it definitely has more of a future than
>> > cordova-osx.
>> > > > > > > >
>> > > > > > > >On Mon, May 4, 2015 at 4:48 PM, Shazron
>> > > > > > > ><shazron@gmail.com
>> > > > > > <javascript:;>>
>> > > > > > > wrote:
>> > > > > > > >> A platform based off Atom Electron is more viable than
>> > > > > > > >> cordova-osx
>> > > > > at
>> > > > > > > >> this point: http://electron.atom.io
>> > > > > > > >>
>> > > > > > > >> On Mon, May 4, 2015 at 4:47 PM, Shazron
>> > > > > > > >> <shazron@gmail.com
>> > > > > > > <javascript:;>> wrote:
>> > > > > > > >>> https://issues.apache.org/jira/browse/CB-7143
>> > > > > > > >>>
>> > > > > > > >>> Currently there are no resources to work on this,
>> > > > > > > >>> effectively it
>> > > > is
>> > > > > > > >>> abandoned. Not sure what we do with this platform to
>> > > > > > > >>> signal this abandonment except for docs.
>> > > > > > > >>>
>> > > > > > > >>> If anyone disagrees with mothballing this, chime in.
>> > > > > > > >
>> > > > > > >
>> > > > >---------------------------------------------------------------
>> > > > >--
>> > > > >----
>> > > > > > > >To unsubscribe, e-mail:
>> > > > > > > >dev-unsubscribe@cordova.apache.org
>> > > > > > <javascript:;>
>> > > > > > > >For additional commands, e-mail:
>> > > > > > > >dev-help@cordova.apache.org
>> > > > > > > <javascript:;>
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> > > ------------------------------------------------------------------
>> > > --
>> > > - To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>> > > For additional commands, e-mail: dev-help@cordova.apache.org
>> > >
>> >
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org

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


Re: cordova-osx - mothball

Posted by Tobias Bocanegra <tr...@bocanegra.ch>.
On Fri, Aug 14, 2015 at 4:16 PM, Shazron <sh...@gmail.com> wrote:
> Thanks Toby,
> We'll take the PRs, thank you for doing that.
thanks.

>
> The resourcing problem still remains for maintenance of this however, not
> sure if we have an answer for it yet (which depends on popularity etc).
I understand that the use cases for the osx platform is limited. maybe
we can opensource our multi-touch support library - so it can really
be a valid kiosk-mode alternative to windows.
It also would be an easy distribution mechanism for cordova based apps
and games that have a value on the desktop. But clearly, for a real
desktop app, electron is much more powerful.

> Perhaps an answer is convergence with cordova-ios, platform differences
> wrapped with a bunch of pre-processor macros (kinda like WKWebView source).
We can certainly look into this. However, I like the clean separation
between platforms and I don't want to pollute the ios codebase with a
lot of #ifdefs. Or how big is the common core that is not ios
specific?

regards, toby

>
>
> On Sat, Aug 15, 2015 at 6:11 AM, Tobias Bocanegra <tr...@apache.org> wrote:
>
>> btw: I created a pull request that updates the readme and provides the
>> new node.js based scripts.
>> https://github.com/apache/cordova-osx/pull/13
>>
>> and a 2nd pull request to add the osx platform the cordova-lib:
>> https://github.com/apache/cordova-lib/pull/278
>>
>> thanks.
>> regards, toby
>>
>> On Fri, Aug 14, 2015 at 10:55 AM, Tobias Bocanegra <tr...@apache.org>
>> wrote:
>> > Hi,
>> >
>> > I think there might still be some value of having the cocoa + webview
>> > approach. looking at the amount of forks of cordova-osx, I assume that
>> > people wrote plugins that interact in one way or the other with the
>> > existing code.
>> >
>> > electron is IMO great to build desktop applications, but if you want
>> > to create a mobile like app, I think it's too desktopy. our use case
>> > is more towards the kiosk mode, where the app needs to run fullscreen
>> > over several displays (which is not possible using the normal osx
>> > fullscreen mode) and also has support for multi-touch input (which we
>> > can nicely inject with a cdv plugin).
>> > further, our tests have shown that CEF is not so performant as osx
>> > webkit - at least at the time when we tried it a couple of months ago.
>> >
>> > I will provide a PR that makes the current cordova-osx build again
>> > with the instructions (CB-7143) and the new node.js based cli scripts.
>> >
>> > WDYT?
>> > regards, toby
>> >
>> >
>> > On Fri, Jun 12, 2015 at 1:07 AM, Toplak Daniel <D....@cadenas.de>
>> wrote:
>> >> Yes I don't understand it wrong :-)
>> >> And my effort into the project is very low at the moment.
>> >> We will look forward into cordova-electron.
>> >>
>> >> Mit freundlichen Grüßen / Best regards
>> >>
>> >> CADENAS GmbH
>> >> Head of Mobile Development
>> >> Daniel Toplak
>> >>
>> >> -----Ursprüngliche Nachricht-----
>> >> Von: Shazron [mailto:shazron@gmail.com]
>> >> Gesendet: Freitag, 12. Juni 2015 09:55
>> >> An: dev@cordova.apache.org
>> >> Betreff: Re: cordova-osx - mothball
>> >>
>> >> Not to diminish your work, but Atom Electron [1] (also based on
>> Chromium) is more aligned with Cordova as it includes node.js support built
>> in (thus you can use node modules which is a big plus), and already runs on
>> OS X, Windows and Linux. It has also in use by a lot of companies, thus
>> there is a higher probability of ongoing maintenance:
>> >> http://electron.atom.io/#built-on-electron
>> >>
>> >> In any case, whether through CEF or Atom Electron, to create native
>> plugins you will still need to bridge the code using C/C++ (unavoidable),
>> the difference would be for Atom Electron you would structure your code as
>> a node native module, which gives the advantage that it can be used not
>> just as a Cordova plugin, but as a regular node module outside of Cordova.
>> >>
>> >>
>> >> [1] http://electron.atom.io
>> >>
>> >>
>> >>
>> >> On Fri, Jun 12, 2015 at 12:13 AM, Toplak Daniel <D....@cadenas.de>
>> wrote:
>> >>
>> >>> As I wrote a few month bevor I am developing a cordova platform based
>> >>> on the Chromium Embedded Framework (DEF) directly:
>> >>> https://github.com/hsimpson/cordova-cef
>> >>> We use this as a development and rapid prototyping platform on Windows.
>> >>> Theoretically it could be easily extended to OSX and Linux.
>> >>> It has the advantage to use native plugins to access operating system
>> >>> functionality.
>> >>>
>> >>> The version of the cordova implementation was from iOS and Android
>> >>> around the version 3.0 or 3.1.
>> >>>
>> >>> Mit freundlichen Grüßen / Best regards
>> >>>
>> >>> CADENAS GmbH
>> >>> Head of Mobile Development
>> >>> Daniel Toplak
>> >>>
>> >>> -----Ursprüngliche Nachricht-----
>> >>> Von: Kerri Shotts [mailto:kerrishotts@gmail.com]
>> >>> Gesendet: Donnerstag, 11. Juni 2015 21:08
>> >>> An: Shazron; dev@cordova.apache.org
>> >>> Betreff: Re: cordova-osx - mothball
>> >>>
>> >>> I’ll throw in my +1. Electron is awesome, and I’ve used it to wrap a
>> >>> PG project for a client where they are demoing the app to their
>> >>> potential clients because they don’t have devices to share from, and
>> >>> they don’t have the expertise for emulators (they are sales reps).
>> >>> Because I can wrap everything in a simple .exe (plus a couple menu
>> >>> items for switching app themes), it provides enough of a simulation
>> >>> that anyone who can double-click a file can use. (It’s not a perfect
>> >>> sim, of course, but good
>> >>> enough.)
>> >>>
>> >>> I’d hope that plugins that target the browser would hop on the
>> >>> electron platform as well, because there’s no reason why they
>> >>> shouldn’t work in electron. But I would also imagine that there could
>> >>> be electron-specific which would be very interesting to see. :-)
>> >>>
>> >>> So I’m going to be watching this with extreme interest. :-)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On June 11, 2015 at 1:53:24 PM, Shazron (shazron@gmail.com) wrote:
>> >>>
>> >>> The potential maintainer for cordova-osx in this thread has decided to
>> >>> go in another direction -- the final nail in its coffin. Full speed
>> >>> ahead cordova-electron! Godspeed
>> >>>
>> >>> On Thu, Jun 11, 2015 at 10:59 AM, Steven Gill <st...@gmail.com>
>> >>> wrote:
>> >>>
>> >>> > Thanks Nikhil,
>> >>> >
>> >>> > I will take a look at that PR as I work on this and provide feedback.
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Wed, Jun 10, 2015 at 5:34 PM, Nikhil Khandelwal
>> >>> > <nikhilkh@microsoft.com
>> >>> > >
>> >>> > wrote:
>> >>> >
>> >>> > > There is a massive PR currently in the works that is looking to
>> >>> > > change
>> >>> > how
>> >>> > > platforms should expose their functionality:
>> >>> > > https://github.com/apache/cordova-android/pull/179
>> >>> > >
>> >>> > > It leans on using node modules and 'require' as opposed to
>> >>> > > executing
>> >>> > shell
>> >>> > > scripts. Steve: As you try building these new platform which
>> >>> > > sounds
>> >>> > really
>> >>> > > exciting, consider using this new approach of defining the
>> >>> > > platform and provide feedback to that PR.
>> >>> > >
>> >>> > > Thanks,
>> >>> > > Nikhil
>> >>> > >
>> >>> > >
>> >>> > > -----Original Message-----
>> >>> > > From: Carlos Santana [mailto:csantana23@gmail.com]
>> >>> > > Sent: Wednesday, June 10, 2015 5:22 PM
>> >>> > > To: dev@cordova.apache.org
>> >>> > > Cc: Ondrej Florian
>> >>> > > Subject: Re: cordova-osx - mothball
>> >>> > >
>> >>> > > Sweet Steve +1
>> >>> > > On Wed, Jun 10, 2015 at 3:11 PM Steven Gill
>> >>> > > <st...@gmail.com>
>> >>> > > wrote:
>> >>> > >
>> >>> > > > I started some preliminary work on this a couple of weekends ago.
>> >>> > > >
>> >>> > > > Lots to do still. Will eventually move it over to Apache.
>> >>> > > >
>> >>> > > > https://github.com/stevengill/cordova-electron
>> >>> > > > https://github.com/stevengill/cordova-js/tree/electron
>> >>> > > >
>> >>> > > > On Tue, May 26, 2015 at 7:53 PM, Carlos Santana
>> >>> > > > <cs...@gmail.com>
>> >>> > > > wrote:
>> >>> > > >
>> >>> > > > > I agree with Shaz Electron is a good platform and taking a lot
>> >>> > > > > of track now.
>> >>> > > > > Maybe another platform to cover that use case
>> >>> > > > > cordova-electron, but that would be something that is lower
>> >>> > > > > priority than the mobile platforms, but cool to see if someone
>> >>> > > > > in the community wants to dedicate time to
>> >>> > > > implement
>> >>> > > > >
>> >>> > > > >
>> >>> > > > > On Tue, May 5, 2015 at 11:19 AM Shazron <sh...@gmail.com>
>> wrote:
>> >>> > > > >
>> >>> > > > > > Great! This is encouraging. I'll help expedite this as much
>> >>> > > > > > as I can
>> >>> > > > for
>> >>> > > > > it
>> >>> > > > > > to catch up, I'll look at any PRs and review and merge.
>> >>> > > > > >
>> >>> > > > > > On Tuesday, May 5, 2015, Ondrej Florian <of...@adobe.com>
>> >>> > wrote:
>> >>> > > > > >
>> >>> > > > > > > If there is any interest, I would volunteer to pick it up.
>> >>> > > > > > >
>> >>> > > > > > > The Cordova-osx has its uses (I use it myself).
>> >>> > > > > > >
>> >>> > > > > > > One advantage over the Atom Electron is the plugins.
>> >>> > > > > > > Many non-UI iOS plugins will works with it out of the box.
>> >>> > > > > > >
>> >>> > > > > > > Another is that it's just another Cordova platform so you
>> >>> > > > > > > don't have
>> >>> > > > to
>> >>> > > > > > > work with yet another API.
>> >>> > > > > > >
>> >>> > > > > > > However, I think you'll rarely be satisfied with 'pure'
>> >>> > > > > > > cordova-osx (entire UI done in HTML5/js) - it's way too
>> >>> limiting.
>> >>> > > > > > > But for a hybrid app where you can mix in the native UI -
>> >>> > > > > > > it works
>> >>> > > > > well.
>> >>> > > > > > >
>> >>> > > > > > >
>> >>> > > > > > > Ondrej
>> >>> > > > > > >
>> >>> > > > > > > On 05/05/2015 01:56, "Shazron" <shazron@gmail.com
>> >>> > > > > > > <javascript:;>>
>> >>> > > > > wrote:
>> >>> > > > > > >
>> >>> > > > > > > >There is non-trivial work to create a bridge for plugins
>> >>> > > > > > > >to work
>> >>> > > > with
>> >>> > > > > > > >Electron, but it definitely has more of a future than
>> >>> > cordova-osx.
>> >>> > > > > > > >
>> >>> > > > > > > >On Mon, May 4, 2015 at 4:48 PM, Shazron
>> >>> > > > > > > ><shazron@gmail.com
>> >>> > > > > > <javascript:;>>
>> >>> > > > > > > wrote:
>> >>> > > > > > > >> A platform based off Atom Electron is more viable than
>> >>> > > > > > > >> cordova-osx
>> >>> > > > > at
>> >>> > > > > > > >> this point: http://electron.atom.io
>> >>> > > > > > > >>
>> >>> > > > > > > >> On Mon, May 4, 2015 at 4:47 PM, Shazron
>> >>> > > > > > > >> <shazron@gmail.com
>> >>> > > > > > > <javascript:;>> wrote:
>> >>> > > > > > > >>> https://issues.apache.org/jira/browse/CB-7143
>> >>> > > > > > > >>>
>> >>> > > > > > > >>> Currently there are no resources to work on this,
>> >>> > > > > > > >>> effectively it
>> >>> > > > is
>> >>> > > > > > > >>> abandoned. Not sure what we do with this platform to
>> >>> > > > > > > >>> signal this abandonment except for docs.
>> >>> > > > > > > >>>
>> >>> > > > > > > >>> If anyone disagrees with mothballing this, chime in.
>> >>> > > > > > > >
>> >>> > > > > > >
>> >>> > > > >---------------------------------------------------------------
>> >>> > > > >--
>> >>> > > > >----
>> >>> > > > > > > >To unsubscribe, e-mail:
>> >>> > > > > > > >dev-unsubscribe@cordova.apache.org
>> >>> > > > > > <javascript:;>
>> >>> > > > > > > >For additional commands, e-mail:
>> >>> > > > > > > >dev-help@cordova.apache.org
>> >>> > > > > > > <javascript:;>
>> >>> > > > > > > >
>> >>> > > > > > >
>> >>> > > > > > >
>> >>> > > > > >
>> >>> > > > >
>> >>> > > >
>> >>> > >
>> >>> > > ------------------------------------------------------------------
>> >>> > > --
>> >>> > > - To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>> >>> > > For additional commands, e-mail: dev-help@cordova.apache.org
>> >>> > >
>> >>> >
>> >>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>> >> For additional commands, e-mail: dev-help@cordova.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>> For additional commands, e-mail: dev-help@cordova.apache.org
>>
>>

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


Re: cordova-osx - mothball

Posted by Shazron <sh...@gmail.com>.
Thanks Toby,
We'll take the PRs, thank you for doing that.

The resourcing problem still remains for maintenance of this however, not
sure if we have an answer for it yet (which depends on popularity etc).
Perhaps an answer is convergence with cordova-ios, platform differences
wrapped with a bunch of pre-processor macros (kinda like WKWebView source).


On Sat, Aug 15, 2015 at 6:11 AM, Tobias Bocanegra <tr...@apache.org> wrote:

> btw: I created a pull request that updates the readme and provides the
> new node.js based scripts.
> https://github.com/apache/cordova-osx/pull/13
>
> and a 2nd pull request to add the osx platform the cordova-lib:
> https://github.com/apache/cordova-lib/pull/278
>
> thanks.
> regards, toby
>
> On Fri, Aug 14, 2015 at 10:55 AM, Tobias Bocanegra <tr...@apache.org>
> wrote:
> > Hi,
> >
> > I think there might still be some value of having the cocoa + webview
> > approach. looking at the amount of forks of cordova-osx, I assume that
> > people wrote plugins that interact in one way or the other with the
> > existing code.
> >
> > electron is IMO great to build desktop applications, but if you want
> > to create a mobile like app, I think it's too desktopy. our use case
> > is more towards the kiosk mode, where the app needs to run fullscreen
> > over several displays (which is not possible using the normal osx
> > fullscreen mode) and also has support for multi-touch input (which we
> > can nicely inject with a cdv plugin).
> > further, our tests have shown that CEF is not so performant as osx
> > webkit - at least at the time when we tried it a couple of months ago.
> >
> > I will provide a PR that makes the current cordova-osx build again
> > with the instructions (CB-7143) and the new node.js based cli scripts.
> >
> > WDYT?
> > regards, toby
> >
> >
> > On Fri, Jun 12, 2015 at 1:07 AM, Toplak Daniel <D....@cadenas.de>
> wrote:
> >> Yes I don't understand it wrong :-)
> >> And my effort into the project is very low at the moment.
> >> We will look forward into cordova-electron.
> >>
> >> Mit freundlichen Grüßen / Best regards
> >>
> >> CADENAS GmbH
> >> Head of Mobile Development
> >> Daniel Toplak
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Shazron [mailto:shazron@gmail.com]
> >> Gesendet: Freitag, 12. Juni 2015 09:55
> >> An: dev@cordova.apache.org
> >> Betreff: Re: cordova-osx - mothball
> >>
> >> Not to diminish your work, but Atom Electron [1] (also based on
> Chromium) is more aligned with Cordova as it includes node.js support built
> in (thus you can use node modules which is a big plus), and already runs on
> OS X, Windows and Linux. It has also in use by a lot of companies, thus
> there is a higher probability of ongoing maintenance:
> >> http://electron.atom.io/#built-on-electron
> >>
> >> In any case, whether through CEF or Atom Electron, to create native
> plugins you will still need to bridge the code using C/C++ (unavoidable),
> the difference would be for Atom Electron you would structure your code as
> a node native module, which gives the advantage that it can be used not
> just as a Cordova plugin, but as a regular node module outside of Cordova.
> >>
> >>
> >> [1] http://electron.atom.io
> >>
> >>
> >>
> >> On Fri, Jun 12, 2015 at 12:13 AM, Toplak Daniel <D....@cadenas.de>
> wrote:
> >>
> >>> As I wrote a few month bevor I am developing a cordova platform based
> >>> on the Chromium Embedded Framework (DEF) directly:
> >>> https://github.com/hsimpson/cordova-cef
> >>> We use this as a development and rapid prototyping platform on Windows.
> >>> Theoretically it could be easily extended to OSX and Linux.
> >>> It has the advantage to use native plugins to access operating system
> >>> functionality.
> >>>
> >>> The version of the cordova implementation was from iOS and Android
> >>> around the version 3.0 or 3.1.
> >>>
> >>> Mit freundlichen Grüßen / Best regards
> >>>
> >>> CADENAS GmbH
> >>> Head of Mobile Development
> >>> Daniel Toplak
> >>>
> >>> -----Ursprüngliche Nachricht-----
> >>> Von: Kerri Shotts [mailto:kerrishotts@gmail.com]
> >>> Gesendet: Donnerstag, 11. Juni 2015 21:08
> >>> An: Shazron; dev@cordova.apache.org
> >>> Betreff: Re: cordova-osx - mothball
> >>>
> >>> I’ll throw in my +1. Electron is awesome, and I’ve used it to wrap a
> >>> PG project for a client where they are demoing the app to their
> >>> potential clients because they don’t have devices to share from, and
> >>> they don’t have the expertise for emulators (they are sales reps).
> >>> Because I can wrap everything in a simple .exe (plus a couple menu
> >>> items for switching app themes), it provides enough of a simulation
> >>> that anyone who can double-click a file can use. (It’s not a perfect
> >>> sim, of course, but good
> >>> enough.)
> >>>
> >>> I’d hope that plugins that target the browser would hop on the
> >>> electron platform as well, because there’s no reason why they
> >>> shouldn’t work in electron. But I would also imagine that there could
> >>> be electron-specific which would be very interesting to see. :-)
> >>>
> >>> So I’m going to be watching this with extreme interest. :-)
> >>>
> >>>
> >>>
> >>>
> >>> On June 11, 2015 at 1:53:24 PM, Shazron (shazron@gmail.com) wrote:
> >>>
> >>> The potential maintainer for cordova-osx in this thread has decided to
> >>> go in another direction -- the final nail in its coffin. Full speed
> >>> ahead cordova-electron! Godspeed
> >>>
> >>> On Thu, Jun 11, 2015 at 10:59 AM, Steven Gill <st...@gmail.com>
> >>> wrote:
> >>>
> >>> > Thanks Nikhil,
> >>> >
> >>> > I will take a look at that PR as I work on this and provide feedback.
> >>> >
> >>> >
> >>> >
> >>> > On Wed, Jun 10, 2015 at 5:34 PM, Nikhil Khandelwal
> >>> > <nikhilkh@microsoft.com
> >>> > >
> >>> > wrote:
> >>> >
> >>> > > There is a massive PR currently in the works that is looking to
> >>> > > change
> >>> > how
> >>> > > platforms should expose their functionality:
> >>> > > https://github.com/apache/cordova-android/pull/179
> >>> > >
> >>> > > It leans on using node modules and 'require' as opposed to
> >>> > > executing
> >>> > shell
> >>> > > scripts. Steve: As you try building these new platform which
> >>> > > sounds
> >>> > really
> >>> > > exciting, consider using this new approach of defining the
> >>> > > platform and provide feedback to that PR.
> >>> > >
> >>> > > Thanks,
> >>> > > Nikhil
> >>> > >
> >>> > >
> >>> > > -----Original Message-----
> >>> > > From: Carlos Santana [mailto:csantana23@gmail.com]
> >>> > > Sent: Wednesday, June 10, 2015 5:22 PM
> >>> > > To: dev@cordova.apache.org
> >>> > > Cc: Ondrej Florian
> >>> > > Subject: Re: cordova-osx - mothball
> >>> > >
> >>> > > Sweet Steve +1
> >>> > > On Wed, Jun 10, 2015 at 3:11 PM Steven Gill
> >>> > > <st...@gmail.com>
> >>> > > wrote:
> >>> > >
> >>> > > > I started some preliminary work on this a couple of weekends ago.
> >>> > > >
> >>> > > > Lots to do still. Will eventually move it over to Apache.
> >>> > > >
> >>> > > > https://github.com/stevengill/cordova-electron
> >>> > > > https://github.com/stevengill/cordova-js/tree/electron
> >>> > > >
> >>> > > > On Tue, May 26, 2015 at 7:53 PM, Carlos Santana
> >>> > > > <cs...@gmail.com>
> >>> > > > wrote:
> >>> > > >
> >>> > > > > I agree with Shaz Electron is a good platform and taking a lot
> >>> > > > > of track now.
> >>> > > > > Maybe another platform to cover that use case
> >>> > > > > cordova-electron, but that would be something that is lower
> >>> > > > > priority than the mobile platforms, but cool to see if someone
> >>> > > > > in the community wants to dedicate time to
> >>> > > > implement
> >>> > > > >
> >>> > > > >
> >>> > > > > On Tue, May 5, 2015 at 11:19 AM Shazron <sh...@gmail.com>
> wrote:
> >>> > > > >
> >>> > > > > > Great! This is encouraging. I'll help expedite this as much
> >>> > > > > > as I can
> >>> > > > for
> >>> > > > > it
> >>> > > > > > to catch up, I'll look at any PRs and review and merge.
> >>> > > > > >
> >>> > > > > > On Tuesday, May 5, 2015, Ondrej Florian <of...@adobe.com>
> >>> > wrote:
> >>> > > > > >
> >>> > > > > > > If there is any interest, I would volunteer to pick it up.
> >>> > > > > > >
> >>> > > > > > > The Cordova-osx has its uses (I use it myself).
> >>> > > > > > >
> >>> > > > > > > One advantage over the Atom Electron is the plugins.
> >>> > > > > > > Many non-UI iOS plugins will works with it out of the box.
> >>> > > > > > >
> >>> > > > > > > Another is that it's just another Cordova platform so you
> >>> > > > > > > don't have
> >>> > > > to
> >>> > > > > > > work with yet another API.
> >>> > > > > > >
> >>> > > > > > > However, I think you'll rarely be satisfied with 'pure'
> >>> > > > > > > cordova-osx (entire UI done in HTML5/js) - it's way too
> >>> limiting.
> >>> > > > > > > But for a hybrid app where you can mix in the native UI -
> >>> > > > > > > it works
> >>> > > > > well.
> >>> > > > > > >
> >>> > > > > > >
> >>> > > > > > > Ondrej
> >>> > > > > > >
> >>> > > > > > > On 05/05/2015 01:56, "Shazron" <shazron@gmail.com
> >>> > > > > > > <javascript:;>>
> >>> > > > > wrote:
> >>> > > > > > >
> >>> > > > > > > >There is non-trivial work to create a bridge for plugins
> >>> > > > > > > >to work
> >>> > > > with
> >>> > > > > > > >Electron, but it definitely has more of a future than
> >>> > cordova-osx.
> >>> > > > > > > >
> >>> > > > > > > >On Mon, May 4, 2015 at 4:48 PM, Shazron
> >>> > > > > > > ><shazron@gmail.com
> >>> > > > > > <javascript:;>>
> >>> > > > > > > wrote:
> >>> > > > > > > >> A platform based off Atom Electron is more viable than
> >>> > > > > > > >> cordova-osx
> >>> > > > > at
> >>> > > > > > > >> this point: http://electron.atom.io
> >>> > > > > > > >>
> >>> > > > > > > >> On Mon, May 4, 2015 at 4:47 PM, Shazron
> >>> > > > > > > >> <shazron@gmail.com
> >>> > > > > > > <javascript:;>> wrote:
> >>> > > > > > > >>> https://issues.apache.org/jira/browse/CB-7143
> >>> > > > > > > >>>
> >>> > > > > > > >>> Currently there are no resources to work on this,
> >>> > > > > > > >>> effectively it
> >>> > > > is
> >>> > > > > > > >>> abandoned. Not sure what we do with this platform to
> >>> > > > > > > >>> signal this abandonment except for docs.
> >>> > > > > > > >>>
> >>> > > > > > > >>> If anyone disagrees with mothballing this, chime in.
> >>> > > > > > > >
> >>> > > > > > >
> >>> > > > >---------------------------------------------------------------
> >>> > > > >--
> >>> > > > >----
> >>> > > > > > > >To unsubscribe, e-mail:
> >>> > > > > > > >dev-unsubscribe@cordova.apache.org
> >>> > > > > > <javascript:;>
> >>> > > > > > > >For additional commands, e-mail:
> >>> > > > > > > >dev-help@cordova.apache.org
> >>> > > > > > > <javascript:;>
> >>> > > > > > > >
> >>> > > > > > >
> >>> > > > > > >
> >>> > > > > >
> >>> > > > >
> >>> > > >
> >>> > >
> >>> > > ------------------------------------------------------------------
> >>> > > --
> >>> > > - To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>> > > For additional commands, e-mail: dev-help@cordova.apache.org
> >>> > >
> >>> >
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >> For additional commands, e-mail: dev-help@cordova.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Re: cordova-osx - mothball

Posted by Tobias Bocanegra <tr...@apache.org>.
btw: I created a pull request that updates the readme and provides the
new node.js based scripts.
https://github.com/apache/cordova-osx/pull/13

and a 2nd pull request to add the osx platform the cordova-lib:
https://github.com/apache/cordova-lib/pull/278

thanks.
regards, toby

On Fri, Aug 14, 2015 at 10:55 AM, Tobias Bocanegra <tr...@apache.org> wrote:
> Hi,
>
> I think there might still be some value of having the cocoa + webview
> approach. looking at the amount of forks of cordova-osx, I assume that
> people wrote plugins that interact in one way or the other with the
> existing code.
>
> electron is IMO great to build desktop applications, but if you want
> to create a mobile like app, I think it's too desktopy. our use case
> is more towards the kiosk mode, where the app needs to run fullscreen
> over several displays (which is not possible using the normal osx
> fullscreen mode) and also has support for multi-touch input (which we
> can nicely inject with a cdv plugin).
> further, our tests have shown that CEF is not so performant as osx
> webkit - at least at the time when we tried it a couple of months ago.
>
> I will provide a PR that makes the current cordova-osx build again
> with the instructions (CB-7143) and the new node.js based cli scripts.
>
> WDYT?
> regards, toby
>
>
> On Fri, Jun 12, 2015 at 1:07 AM, Toplak Daniel <D....@cadenas.de> wrote:
>> Yes I don't understand it wrong :-)
>> And my effort into the project is very low at the moment.
>> We will look forward into cordova-electron.
>>
>> Mit freundlichen Grüßen / Best regards
>>
>> CADENAS GmbH
>> Head of Mobile Development
>> Daniel Toplak
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Shazron [mailto:shazron@gmail.com]
>> Gesendet: Freitag, 12. Juni 2015 09:55
>> An: dev@cordova.apache.org
>> Betreff: Re: cordova-osx - mothball
>>
>> Not to diminish your work, but Atom Electron [1] (also based on Chromium) is more aligned with Cordova as it includes node.js support built in (thus you can use node modules which is a big plus), and already runs on OS X, Windows and Linux. It has also in use by a lot of companies, thus there is a higher probability of ongoing maintenance:
>> http://electron.atom.io/#built-on-electron
>>
>> In any case, whether through CEF or Atom Electron, to create native plugins you will still need to bridge the code using C/C++ (unavoidable), the difference would be for Atom Electron you would structure your code as a node native module, which gives the advantage that it can be used not just as a Cordova plugin, but as a regular node module outside of Cordova.
>>
>>
>> [1] http://electron.atom.io
>>
>>
>>
>> On Fri, Jun 12, 2015 at 12:13 AM, Toplak Daniel <D....@cadenas.de> wrote:
>>
>>> As I wrote a few month bevor I am developing a cordova platform based
>>> on the Chromium Embedded Framework (DEF) directly:
>>> https://github.com/hsimpson/cordova-cef
>>> We use this as a development and rapid prototyping platform on Windows.
>>> Theoretically it could be easily extended to OSX and Linux.
>>> It has the advantage to use native plugins to access operating system
>>> functionality.
>>>
>>> The version of the cordova implementation was from iOS and Android
>>> around the version 3.0 or 3.1.
>>>
>>> Mit freundlichen Grüßen / Best regards
>>>
>>> CADENAS GmbH
>>> Head of Mobile Development
>>> Daniel Toplak
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Kerri Shotts [mailto:kerrishotts@gmail.com]
>>> Gesendet: Donnerstag, 11. Juni 2015 21:08
>>> An: Shazron; dev@cordova.apache.org
>>> Betreff: Re: cordova-osx - mothball
>>>
>>> I’ll throw in my +1. Electron is awesome, and I’ve used it to wrap a
>>> PG project for a client where they are demoing the app to their
>>> potential clients because they don’t have devices to share from, and
>>> they don’t have the expertise for emulators (they are sales reps).
>>> Because I can wrap everything in a simple .exe (plus a couple menu
>>> items for switching app themes), it provides enough of a simulation
>>> that anyone who can double-click a file can use. (It’s not a perfect
>>> sim, of course, but good
>>> enough.)
>>>
>>> I’d hope that plugins that target the browser would hop on the
>>> electron platform as well, because there’s no reason why they
>>> shouldn’t work in electron. But I would also imagine that there could
>>> be electron-specific which would be very interesting to see. :-)
>>>
>>> So I’m going to be watching this with extreme interest. :-)
>>>
>>>
>>>
>>>
>>> On June 11, 2015 at 1:53:24 PM, Shazron (shazron@gmail.com) wrote:
>>>
>>> The potential maintainer for cordova-osx in this thread has decided to
>>> go in another direction -- the final nail in its coffin. Full speed
>>> ahead cordova-electron! Godspeed
>>>
>>> On Thu, Jun 11, 2015 at 10:59 AM, Steven Gill <st...@gmail.com>
>>> wrote:
>>>
>>> > Thanks Nikhil,
>>> >
>>> > I will take a look at that PR as I work on this and provide feedback.
>>> >
>>> >
>>> >
>>> > On Wed, Jun 10, 2015 at 5:34 PM, Nikhil Khandelwal
>>> > <nikhilkh@microsoft.com
>>> > >
>>> > wrote:
>>> >
>>> > > There is a massive PR currently in the works that is looking to
>>> > > change
>>> > how
>>> > > platforms should expose their functionality:
>>> > > https://github.com/apache/cordova-android/pull/179
>>> > >
>>> > > It leans on using node modules and 'require' as opposed to
>>> > > executing
>>> > shell
>>> > > scripts. Steve: As you try building these new platform which
>>> > > sounds
>>> > really
>>> > > exciting, consider using this new approach of defining the
>>> > > platform and provide feedback to that PR.
>>> > >
>>> > > Thanks,
>>> > > Nikhil
>>> > >
>>> > >
>>> > > -----Original Message-----
>>> > > From: Carlos Santana [mailto:csantana23@gmail.com]
>>> > > Sent: Wednesday, June 10, 2015 5:22 PM
>>> > > To: dev@cordova.apache.org
>>> > > Cc: Ondrej Florian
>>> > > Subject: Re: cordova-osx - mothball
>>> > >
>>> > > Sweet Steve +1
>>> > > On Wed, Jun 10, 2015 at 3:11 PM Steven Gill
>>> > > <st...@gmail.com>
>>> > > wrote:
>>> > >
>>> > > > I started some preliminary work on this a couple of weekends ago.
>>> > > >
>>> > > > Lots to do still. Will eventually move it over to Apache.
>>> > > >
>>> > > > https://github.com/stevengill/cordova-electron
>>> > > > https://github.com/stevengill/cordova-js/tree/electron
>>> > > >
>>> > > > On Tue, May 26, 2015 at 7:53 PM, Carlos Santana
>>> > > > <cs...@gmail.com>
>>> > > > wrote:
>>> > > >
>>> > > > > I agree with Shaz Electron is a good platform and taking a lot
>>> > > > > of track now.
>>> > > > > Maybe another platform to cover that use case
>>> > > > > cordova-electron, but that would be something that is lower
>>> > > > > priority than the mobile platforms, but cool to see if someone
>>> > > > > in the community wants to dedicate time to
>>> > > > implement
>>> > > > >
>>> > > > >
>>> > > > > On Tue, May 5, 2015 at 11:19 AM Shazron <sh...@gmail.com> wrote:
>>> > > > >
>>> > > > > > Great! This is encouraging. I'll help expedite this as much
>>> > > > > > as I can
>>> > > > for
>>> > > > > it
>>> > > > > > to catch up, I'll look at any PRs and review and merge.
>>> > > > > >
>>> > > > > > On Tuesday, May 5, 2015, Ondrej Florian <of...@adobe.com>
>>> > wrote:
>>> > > > > >
>>> > > > > > > If there is any interest, I would volunteer to pick it up.
>>> > > > > > >
>>> > > > > > > The Cordova-osx has its uses (I use it myself).
>>> > > > > > >
>>> > > > > > > One advantage over the Atom Electron is the plugins.
>>> > > > > > > Many non-UI iOS plugins will works with it out of the box.
>>> > > > > > >
>>> > > > > > > Another is that it's just another Cordova platform so you
>>> > > > > > > don't have
>>> > > > to
>>> > > > > > > work with yet another API.
>>> > > > > > >
>>> > > > > > > However, I think you'll rarely be satisfied with 'pure'
>>> > > > > > > cordova-osx (entire UI done in HTML5/js) - it's way too
>>> limiting.
>>> > > > > > > But for a hybrid app where you can mix in the native UI -
>>> > > > > > > it works
>>> > > > > well.
>>> > > > > > >
>>> > > > > > >
>>> > > > > > > Ondrej
>>> > > > > > >
>>> > > > > > > On 05/05/2015 01:56, "Shazron" <shazron@gmail.com
>>> > > > > > > <javascript:;>>
>>> > > > > wrote:
>>> > > > > > >
>>> > > > > > > >There is non-trivial work to create a bridge for plugins
>>> > > > > > > >to work
>>> > > > with
>>> > > > > > > >Electron, but it definitely has more of a future than
>>> > cordova-osx.
>>> > > > > > > >
>>> > > > > > > >On Mon, May 4, 2015 at 4:48 PM, Shazron
>>> > > > > > > ><shazron@gmail.com
>>> > > > > > <javascript:;>>
>>> > > > > > > wrote:
>>> > > > > > > >> A platform based off Atom Electron is more viable than
>>> > > > > > > >> cordova-osx
>>> > > > > at
>>> > > > > > > >> this point: http://electron.atom.io
>>> > > > > > > >>
>>> > > > > > > >> On Mon, May 4, 2015 at 4:47 PM, Shazron
>>> > > > > > > >> <shazron@gmail.com
>>> > > > > > > <javascript:;>> wrote:
>>> > > > > > > >>> https://issues.apache.org/jira/browse/CB-7143
>>> > > > > > > >>>
>>> > > > > > > >>> Currently there are no resources to work on this,
>>> > > > > > > >>> effectively it
>>> > > > is
>>> > > > > > > >>> abandoned. Not sure what we do with this platform to
>>> > > > > > > >>> signal this abandonment except for docs.
>>> > > > > > > >>>
>>> > > > > > > >>> If anyone disagrees with mothballing this, chime in.
>>> > > > > > > >
>>> > > > > > >
>>> > > > >---------------------------------------------------------------
>>> > > > >--
>>> > > > >----
>>> > > > > > > >To unsubscribe, e-mail:
>>> > > > > > > >dev-unsubscribe@cordova.apache.org
>>> > > > > > <javascript:;>
>>> > > > > > > >For additional commands, e-mail:
>>> > > > > > > >dev-help@cordova.apache.org
>>> > > > > > > <javascript:;>
>>> > > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > >
>>> > > > >
>>> > > >
>>> > >
>>> > > ------------------------------------------------------------------
>>> > > --
>>> > > - To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>>> > > For additional commands, e-mail: dev-help@cordova.apache.org
>>> > >
>>> >
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>> For additional commands, e-mail: dev-help@cordova.apache.org

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