CUBA Studio SE: a desktop application based on Electron

And this is something that we’ve been researching for a little while. We are planning to show the approach to building Desktop applications with the same UI as in Web in the future.

1 Like

We cannot use Electron on mobile platforms since it is a Desktop framework. Moreover, we cannot run Java backend for an application UI on mobile devices, thus there is no way to deliver this technology to mobile devices.

Now, you can use Cordova / Phone Gap to build applications based on Polymer Client of the platform to deliver mobile applications, we’ve successfully built mobile apps for a couple of bespoke projects on top of Apache Cordova.

We look forward for that! Thank you so much.

That’s another good news :slight_smile:
We understand you are going to share a better sample app soon on polymer as confirmed by Konstatin . Probably a demo on working with Cordova could follow.

Mortoza

Where do I use a proxy server, how can I configure the connection parameters to the server?

Please open a new topic for this question. The process is the same as for standard version: It is recommended to set these properties system-wide in the JAVA_OPTS environment variable. The Studio launch script passes JAVA_OPTS to the Java executable. CUBA Studio Installation - CUBA Platform. Developer’s Manual

See also Not able to connect to internet/repo through proxy - CUBA.Platform

Hi Yuriy
Do you have any plan to cover some guidelines in user manual or any other form on desktop packaging with Electron?

Not yet, it is our internal research project that we will not announce/document until we release something useful.

I see a lot, this will be useful initiative if you help the community as part of CUBA add-on or any other form of value added benefits.

As for mobile application development with CUBA you can participate in the upcoming webinar Creating hybrid mobile application based on Polymer Client with Cordova and PhoneGap

1 Like

Have a problem with db driver on Mac os SE version of studio. Where should i place a jar file with db driver?

At the same time web version working well.

1 Like

Hi.
For Cuba Studio SE version copy the jar file (db driver) and past into: Applications/Cuba Studio SE.app/Contents/Resources/app/studio/lib

1 Like

Got a working studio now, thx!

2 Likes

This is brilliant! Although still the same functionalities as the browser version, I like it’s packaged up as a stand-alone application – please continue down this path. One annoyance, which happens occasionally, is when double-clicking on a node in the project tree the tree will rapidly shift up and open the wrong entity or screen layout. Not sure if it’s related to the size of the project, or can happen with any sized project – big or small. I have around 300 entities in my current project.

Studio SE 6.8.0 has been released. Download links were published at the first topic.

2 Likes

Studio SE 6.8.1 is out! :tada:

Studio SE 6.8.2 is out! From now on the files will be placed on our website. Release information can be found there as well.

:fishing_pole_and_fish: Download link

2 Likes

Hi!

We’ve just published the blog post on CUBA Studio SE development and the future of Electron.js and Java integration: Leveraging the power of web UI for desktop front-ends – Jmix

2 Likes

Hi Yuriy
That’s a very good blog!! I was looking for this to try my own!

I am going to try this soon! A quick question, Should I copy and paste the Gradle scripts related to electron from the sample app and manually update it for my application or there is an easy way to achieve that?

For the future evolution, I would love to have the following two features sooner than later. When can we expect them available?

  1. packaging and updates - automatically
  2. caching and offline-mode support

Another option that you may consider is option to print directly from the application (client), instead of showing.

Thanks again for bringing this amazing option in CUBA!

Mortoza

Hi,

It is still research project and it is not an example of technology usage. It is just proof-of-concept, thus we are not planning to document this approach. If you are interested in this I’d recommend that you check Git history of the repository: Commits · cuba-labs/cuba-electron-demo · GitHub