Results 1 to 2 of 2

Thread: [Answers] Electron

  1. #1
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135

    [Answers] Electron

    If you want to build apps as executables for Windows, macOS and Linux x86 and x64 in Lianja, on any OS, electron is for you.
    http://jlord.us/essential-electron/

    Lianja 3.1 incorporates TypeScript and Electron simplifying enterprise RAD.



    In Lianja 3.1 we have integrated support for building desktop executables for Windows, Mac and Linux. These can all be done on windows and distributed on Windows x86 and x64, MacOS x64 and Linux x86 and x64.

    The Lianja integration with Electron is similar to the way you build PhoneGap mobile Apps using Lianja.

    You develop your App visually using drag'n drop in the Lianja App Builder (APaaS Developer Edition) then configure, build(for any OS) and package(create an installer) the executable in the "Electron" workspace.

    There is an introductory video on youtube about electron so you can get an idea of what you can achieve.
    Electron: the hard parts made easy - https://youtu.be/8YP_nOCO-4Q



    building desktop Electron apps (and PhoneGap mobile apps for iOS and Android) in Lianja visually is much easier than hand coding and can be accomplished quite easily by NoCode developers.

    Electron embeds node.js also in such a way that packages installed with npm can be used in the app.

    There is a lot more to this electron integration than meets the eye at first glance. For example, in my testing I have one app that I run as a desktop electron app, a web app and a PhoneGap mobile app -- with no code changes needed.
    Oh, and I should add that the
    apps are hitting on the same data in the cloud concurrently.



    Everything that works in a Web/Mobile App works in an Electron built App.



    Electron: takes your browser app and makes it into an EXE with no dependencies.
    Download and play, no install.
    With Electron, you can
    orient your app to be entirely mobile, and still get a desktop app. Which, of course, could be running on AWS.

    some people can't get passed not having a generated exe file, so Electron integration is really compelling.



    All topics in [Answers] alphabetically: http://www.lianja.com/community/show...p?2717-Answers


  2. #2
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    any JS app can be made into an Electron app. In fact, I think I counted a total of one field and 3 buttons that have to be clicked.
    As for getting the data, anything is possible, and the standard way is the easiest. <s>
    The new "local" stored procedures make that even easier, as a VT can actually run a stored procedure or make a web service call or odata etc., and the return the resultset.
    So what I would do if I were you is create a VT (against a local Lianja Table) and get that app working. Then modify the VT using the local stored procedure to get the data from wherever.
    Then, when that's working, publish as an electron app.



    Pinegrow
    is an electron app.



    build your app as a web app, fill in a couple of fields, push 3 buttons, and bingo, you've got your Electron app.
    the Electron app makes the same web calls as a web app running in a browser. Those calls go to the Lianja Cloud Server. Where you had a choice of a browser app (not acceptable for professional business applications) or remote desktop/Citrix, now your costs for remote access desktop apps are decimated (without OS and Virtualization and Remote Access licensing, and the servers underlying those technologies, you can end up spending 10th what you are spending now on remoting, based on our estimates).



    We will always have users that work at desktops. For them, Electron is our future
    (not just technologically: our business model drives this as much as technology). Code-signing is a requirement,



    Electron app can be packaged into a Universal Windows App
    (i.e., can be in the Windows Store, uses no registry settings, can run on WinRT and Win 10 S in addition to regular Windows versions, etc.).
    https://slack.engineering/introducin...e-4fa789b93d90



    disconnected desktop executable (electron) that uses getURL() to get data from a remote web service.



    app has to be an executable, so electron looks perfect.



    Q:
    Here are the requirements from a new client.
    1. Create a self contained election executable that runs on a desktop from a custom JS section.
    2. Connect to data that is stored on a server. Odata or rsp page - it doesn't matter.
    3. Retrieve the data and populate controls.
    I am using a custom javascript section to build the application.

    A:
    I'd recommend using TypeScript as it provides data typing and... any javascript is typescript.




    All topics in [Answers] alphabetically: http://www.lianja.com/community/show...p?2717-Answers

    These answers are also systematized on the site "Lianja developer": https://lianjadeveloper.wordpress.co...ry/deployment/


Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us