Helper app

  1. last week

    Pietro B

    Jan 11 Pre-Release Testers, Xojo Pro Europe (Swiss, Chiasso)

    I would like to understand what is an helper app and how to use it in Xojo. Could someone quickly explain it and/or suggest to me an example project?

    Thanks in advance
    Pietro

  2. Mathias M

    is not verified Jan 11 Pre-Release Testers Bruges, Belgium

    As simple as possible:

    Let's say you have a lot of work, and you get an extra big task from a client that is very urgent-> your 'normal' work will not progress as long as you're working on the big task.

    Solution: You hire an employee that only does those big tasks, so you can do your 'normal' work.
    If your employee is busy doing a big task and another big task comes in, you just hire another employee.

    You = your app
    Employee = a helper app

    A helper app is an application that does 1 job (e.g. Encrypt a large file, big math calculations) and returns a result.
    Your normal app can do it's job, and will show the result of the helper app to your user when it's finished.

  3. Pietro B

    Jan 11 Pre-Release Testers, Xojo Pro Europe (Swiss, Chiasso)

    Thank you Mathias, I had imagined it could be something like this.
    I actually use this approach using threads or external app launched through shell.

    Now, I need to understand how to do use an helper app with Xojo. Any example or documentation?

  4. Dirk C

    Jan 11 Pre-Release Testers, Xojo Pro Galactic Sector ZZ9 Plural Z A...
    Edited last week

    They have a video by @Paul L on the Xojo YouTube Channel
    https://www.youtube.com/watch?v=lJMsI6yXS_c

    Xojo
    Gepubliceerd op 14 dec. 2016
    Learn how to use Console apps to use with command prompts/Terminal, for background processes/services and as helper apps for multi-processing.
    Categorie
    Wetenschap en technologie
    Licentie
    Standaard YouTube-licentie

  5. The example project "IPCSocket" in the "Communication" folder is an easy to understand demo. There are a few posts on this forum about some finickiness regarding temporary IPC comm file paths, but it's all pretty straightforward.

  6. Pietro B

    Jan 11 Pre-Release Testers, Xojo Pro Europe (Swiss, Chiasso)

    Thanks to Dirk and Julia for your contributions.
    I'll take a look to the video and the "IPCSocket" example..

    Thanks again to everybody.

  7. luciano m

    Jan 11 Pre-Release Testers, Xojo Pro
    Edited last week

    Pietro, this is a helper for standalone web app ,
    so, in few words, the main app serve only row data and the helper app all media (i.e. images, javascript library etc.).
    From Matthew Combatti

  8. Pietro B

    Jan 11 Pre-Release Testers, Xojo Pro Europe (Swiss, Chiasso)

    @luciano m Pietro, this is a helper for standalone web app ,
    so, in few words, the main app serve only row data and the helper app all media (i.e. images, javascript library etc.).
    From Matthew Combatti

    Thank you also to Mr. Mountains for the link.

  9. Richard D

    Jan 12 Pre-Release Testers Europe (UK, London)

    @PietroBeccegato Thank you also to Mr. Mountains for the link.

    Mr Mountains???

  10. Pietro B

    Jan 12 Pre-Release Testers, Xojo Pro Europe (Swiss, Chiasso)

    @Richard D Mr Mountains???

    It's a funny joke, because my first language as the Luciano Monti's first language is the italian; me and Mr. Luciano Monti are friends.
    If you translate "Monti" from italian to english you get "Mountains".

or Sign Up to reply!