• Re: Ada/GNAT/AWS-friendly web hosting

    From =?UTF-8?B?U3TDqXBoYW5lIFJpdmnDqHJl?=@stef@genesix.org to comp.lang.ada on Sat Sep 14 10:51:50 2024
    From Newsgroup: comp.lang.ada

    OK. Got it.

    Actually, it depends on the problem to be solved. In the case I
    mentioned (PHP websites), FastCGI is a must and the FastCGI cache a performance grall.

    FastCGI can be useful, even in Ada, if the site has to serve large
    quantities of static text and static images, that will make good use of
    a FastCGI cache.

    But for dynamic sites (without static datas) written without PHP, I
    agree that the WebSockets protocol is indeed ideal.

    WebSockets is a http1 only protocol. What doesn't matter. In most
    dynamic sites, such as business software, http2 or http3 are useless.
    --
    Stéphane Rivière
    Ile d'Oléron - France

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.lang.ada on Sat Sep 14 09:41:03 2024
    From Newsgroup: comp.lang.ada

    On Sat, 14 Sep 2024 10:51:50 +0200, Stéphane Rivière wrote:

    In the case I mentioned (PHP websites), FastCGI is a must and the
    FastCGI cache a performance grall.

    OK, PHP doesn’t do WebSockets anyway, so that’s probably OK.

    But for dynamic sites (without static datas) written without PHP, I
    agree that the WebSockets protocol is indeed ideal.

    WebSockets is essential for certain kinds of interactivity.

    WebSockets is a http1 only protocol.

    Apparently not <https://www.ietf.org/archive/id/draft-ietf-httpbis-h3-websockets-02.html>.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From =?UTF-8?B?U3TDqXBoYW5lIFJpdmnDqHJl?=@stef@genesix.org to comp.lang.ada on Sat Sep 14 12:29:07 2024
    From Newsgroup: comp.lang.ada


    OK, PHP doesn’t do WebSockets anyway, so that’s probably OK.

    It's just mandatory if you need maximum performance with PHP.

    I deeply dislike PHP but it's a huge part of our business. Yes, it's a
    bit schisophrenic.


    But for dynamic sites (without static datas) written without PHP, I
    agree that the WebSockets protocol is indeed ideal.

    WebSockets is essential for certain kinds of interactivity.

    for shure !



    Apparently not <https://www.ietf.org/archive/id/draft-ietf-httpbis-h3-websockets-02.html>.

    You're teaching me something ! Thank you. So WebSockets /was/, untill recently, a http1 only protocol. I'm probably influenced by our recent
    work with Gnoga (https://v22.soweb.io).
    --
    Stéphane Rivière
    Ile d'Oléron - France

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Kevin Chadwick@kc-usenet@chadwicks.me.uk to comp.lang.ada on Sat Sep 14 12:02:05 2024
    From Newsgroup: comp.lang.ada


    work with Gnoga (https://v22.soweb.io).

    Runs on Android/IOS. Does that require an internet web server?
    --
    Regards, Kc
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From =?UTF-8?B?U3TDqXBoYW5lIFJpdmnDqHJl?=@stef@genesix.org to comp.lang.ada on Sat Sep 14 15:00:00 2024
    From Newsgroup: comp.lang.ada


    Runs on Android/IOS.

    Yes v22.Gui/Gnoga is responsive. Tested with 5" smartphones as old as
    Nexus 5 (with a browser more recent than the stock one to handle
    websockets). Also tested on 43” 4K ;)

    On some iOS devices, the menu bar is slightly offset. I didn't look too
    hard. It's a Safari problem. It works fine with Firefox and Chrome.

    Does that require an internet web server?

    Not necessarily. v22.Gui/Gnoga supports itself X509 TLS https
    certificates (tested). However, for various reasons (such as the
    possibility of having several web applications on the same instance and
    on the same 80/443 input port), in production, I've always chosen to
    have a Nginx proxy on the front end, which is also more flexible and
    handle automatic switching from http/80 to https/443.
    --
    Stéphane Rivière
    Ile d'Oléron - France

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jeffrey R.Carter@spam.jrcarter.not@spam.acm.org.not to comp.lang.ada on Sat Sep 14 16:34:09 2024
    From Newsgroup: comp.lang.ada

    On 2024-09-14 15:00, Stéphane Rivière wrote:

    Runs on Android/IOS.

    Yes v22.Gui/Gnoga is responsive. Tested with 5" smartphones as old as Nexus 5
    (with a browser more recent than the stock one to handle websockets). Also tested on 43” 4K ;)

    Interesting. How do you compile for Android/IOS?

    Incidentally, the screenshot you have for the Tic-Tac-Toe demo seems to be Othello.
    --
    Jeff Carter
    "Damn it, Jim, I'm an actor, not a doctor."
    124
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From =?UTF-8?B?U3TDqXBoYW5lIFJpdmnDqHJl?=@stef@genesix.org to comp.lang.ada on Sat Sep 14 18:11:42 2024
    From Newsgroup: comp.lang.ada

    Hi Jeffrey,

    Interesting. How do you compile for Android/IOS?

    There's some confusion, I'm having trouble expressing myself. v22.Gui is
    a framework on top of Gnoga, with specific CSS, making it possible to
    obtain a responsive and therefore Android/IOS compatible application,
    through the smartphone's web browser.

    The Ada application with the v22 framework/library is of course
    installed on any server/pc.


    Incidentally, the screenshot you have for the Tic-Tac-Toe demo seems to
    be Othello.

    Thanks for reporting this error. I'll correct ASAP.
    --
    Stéphane Rivière
    Ile d'Oléron - France

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jeffrey R.Carter@spam.jrcarter.not@spam.acm.org.not to comp.lang.ada on Sat Sep 14 20:04:02 2024
    From Newsgroup: comp.lang.ada

    On 2024-09-14 18:11, Stéphane Rivière wrote:

    There's some confusion, I'm having trouble expressing myself. v22.Gui is a framework on top of Gnoga, with specific CSS, making it possible to obtain a responsive and therefore Android/IOS compatible application, through the smartphone's web browser.

    I misunderstood. Of course a Gnoga web application can be connected to from any
    platform with a browser.
    --
    Jeff Carter
    "Damn it, Jim, I'm an actor, not a doctor."
    124
    --- Synchronet 3.20a-Linux NewsLink 1.114