• Help with Tcl/TK Web Application...

    From Sundar Kumarasamy@21:1/5 to All on Fri Sep 23 11:38:01 2022
    I am currently working on a GUI application written in Tcl/TK for Windows thin client. But this product is not developed for web browser yet. So, exploring the possibility of converting this product to web browser. Anybody has any suggestions?

    Thanks in advance.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dunkfan@21:1/5 to Sundar Kumarasamy on Sun Sep 25 14:14:26 2022
    You could use the tclhttpd package to embed web server fucctionality to
    your client. https://wiki.tcl-lang.org/page/TclHttpd

    Pretty old now but still does the trick
    Then you can add functionality such as calling Tcl
    prodedures directly from html pages which return the embedded html code
    in the webpage.

    You would need to create template HTML pages which take their contents
    from your application.
    There are other Tcl mini webserver solutions

    On 23 Sep 2022 11:38, Sundar Kumarasamy wrote:
    I am currently working on a GUI application written in Tcl/TK for Windows thin client. But this product is not developed for web browser yet. So, exploring the possibility of converting this product to web browser. Anybody has any suggestions?

    Thanks in advance.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sundar Kumarasamy@21:1/5 to Dunkfan on Sun Sep 25 08:58:45 2022
    On Sunday, September 25, 2022 at 5:14:30 AM UTC-7, Dunkfan wrote:
    You could use the tclhttpd package to embed web server fucctionality to
    your client. https://wiki.tcl-lang.org/page/TclHttpd

    Pretty old now but still does the trick
    Then you can add functionality such as calling Tcl
    prodedures directly from html pages which return the embedded html code
    in the webpage.

    You would need to create template HTML pages which take their contents
    from your application.
    There are other Tcl mini webserver solutions
    On 23 Sep 2022 11:38, Sundar Kumarasamy wrote:
    I am currently working on a GUI application written in Tcl/TK for Windows thin client. But this product is not developed for web browser yet. So, exploring the possibility of converting this product to web browser. Anybody has any suggestions?

    Thanks in advance.

    Hi Dunkfan,

    Thanks for your response. Actually the actual desktop application is written in 4J's Genero Language with Informix Database as the backend but the menus are written in Tcl/Tk. I came across OpenACS (Open Architecture Community System) which is an
    advanced toolkit for building scalable, community-oriented web applications. This project is actively supported by the community now. Is this an option to take the Desktop application to web?

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Sun Sep 25 20:27:30 2022
    Am 23.09.2022 um 20:38 schrieb Sundar Kumarasamy:
    I am currently working on a GUI application written in Tcl/TK for Windows thin client. But this product is not developed for web browser yet. So, exploring the possibility of converting this product to web browser. Anybody has any suggestions?

    Thanks in advance.

    You may check-out cloud-tk. I suppose, you application will run without changes.
    Apen-ACS is for sure impressive as a high-availability web server.
    Rivet is another one.
    Or you may use a lot of TCL-written Web-servers like Wibble or the small
    ones on the wiki. I personally use a small one from the wiki and it
    envolved over time.
    The Tk plugin is dead, no path here.

    I suppose, there will be a lot of propositions following in this thread.

    Take care,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dunkfan@21:1/5 to All on Tue Sep 27 10:11:24 2022
    I don't have any experience with OpenACS. It may be a good
    solution depending on the size and scope of what you are
    planning. On the other hand having the webserver embedded in
    the Menu application itself has certain advantages. If you
    aren't running something for thousands of users then that
    should suffice.

    If someone had pointers on how to start to go about this
    in OpenACS this would be a good time to post them!

    Hi Dunkfan,

    Thanks for your response. Actually the actual desktop application is written in 4J's Genero Language with Informix Database as the backend but the menus are written in Tcl/Tk. I came across OpenACS (Open Architecture Community System) which is an
    advanced toolkit for building scalable, community-oriented web applications. This project is actively supported by
    the community now. Is this an option to take the Desktop application to web?

    Thanks


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Garvey@21:1/5 to All on Tue Sep 27 10:00:51 2022
    I'm not familiar with OpenACS. Depends on your application
    and expected workload I suppose. If it's a small operation
    with Tcl expertise there are advantages to having the server
    running inside the menu part of the application. Still the
    templates for the web application need to come from somewhere.

    If anyone else has pointers on how to go about this in
    OpenACS then this would be a good places to post them!

    Hi Dunkfan,

    Thanks for your response. Actually the actual desktop application is written in 4J's Genero Language with Informix Database as the backend but the menus are written in Tcl/Tk. I came across OpenACS (Open Architecture Community System) which is an
    advanced toolkit for building scalable, community-oriented web applications. This project is actively supported by
    the community now. Is this an option to take the Desktop application to web?

    Thanks


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Macleod@21:1/5 to Sundar Kumarasamy on Wed Sep 28 08:29:03 2022
    Sundar Kumarasamy <[email protected]> wrote in news:[email protected]:

    Thanks for your response. Actually the actual desktop application is
    written in 4J's Genero Language with Informix Database as the backend
    but the menus are written in Tcl/Tk. I came across OpenACS (Open
    Architecture Community System) which is an advanced toolkit for
    building scalable, community-oriented web applications. This project
    is actively supported by the community now. Is this an option to take
    the Desktop application to web?

    OpenACS is a large and complex system. It can do a lot but is almost
    certainly overkill for your case.

    A lot depends on complicated the existing GUI code is. If it's just some simple menus you could probably convert that to generate html, perhaps by
    using Wapp - see https://wapp.tcl.tk/home/doc/trunk/README.md . If it's a
    more complex GUI, e.g. something using the text or canvas widgets, Harald's suggestion of CloudTk is probably the way to go.

    Colin.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)