JQuery UI Widgetset lazarus / 31-LCL ---------------------------------------------------------------------- Pluto · 2019-01-17 15:54 It occurs to me that we could create some sort of browser stub in Javascript/CSS/HTML that communicates with a back end via AJAX... In this way we could create another target widgetset for the LCL that goes to the browser using one of the common UI frameworks, such as JQuery UI... ---------------------------------------------------------------------- Handoko · 2019-01-17 16:04 As far as I know ... no, there is no such thing for Lazarus/FPC. I know a bit about CSS and was looking for it, it will be great for me if I can use it in Lazarus. ---------------------------------------------------------------------- valdir.marcos · 2019-01-17 16:11 Quote from: Pluto on January 17, 2019, 04:54:55 pmIt occurs to me that we could create some sort of browser stub in Javascript/CSS/HTML that communicates with a back end via AJAX... In this way we could create another target widgetset for the LCL that goes to the browser using one of the common UI frameworks, such as JQuery UI...Do you know Pas2JS? http://wiki.freepascal.org/pas2js ---------------------------------------------------------------------- Pluto · 2019-01-17 18:10 Quote from: valdir.marcos on January 17, 2019, 05:11:29 pmDo you know Pas2JS? http://wiki.freepascal.org/pas2js No, but it looks very cool! ---------------------------------------------------------------------- sash · 2019-01-17 18:30 Quote from: Pluto on January 17, 2019, 04:54:55 pm ... we could ... In this way we could ... What about you? Have something done? Code, research, elaborated proposals? ---------------------------------------------------------------------- Pluto · 2019-01-17 19:36 Quote from: sash on January 17, 2019, 07:30:25 pmWhat about you? Have something done? Code, research, elaborated proposals? Nope.  I was just thinking out loud.  After some thinking, Pas2JS would be the way to go.  I would have to do a proof of concept using a single widget, such as a button, just to show how it would be done... Then probably how to integrate ajax calls back to the server... Despite having Pascal in high school (on an Apple II), I don't remember enough to even be dangerous at this point. ---------------------------------------------------------------------- valdir.marcos · 2019-01-17 19:56 There are some videos about Pas2JS on You Tube: https://www.youtube.com/results?search_query=pas2js ---------------------------------------------------------------------- valdir.marcos · 2019-01-17 19:59 There are also some other alternatives that you might try: Lazarus + ExtPascal = Login https://www.youtube.com/watch?v=YE0ExvxVGTw See more information: pas2js configuration help http://forum.lazarus.freepascal.org/index.php/topic,43933.msg308371.ht ml#msg308371 ---------------------------------------------------------------------- Pluto · 2019-01-17 21:55 Quote from: valdir.marcos on January 17, 2019, 08:59:17 pmThere are also some other alternatives that you might try: Lazarus + ExtPascal = Login https://www.youtube.com/watch?v=YE0ExvxVGTw See more information: pas2js configuration help http://forum.lazarus.freepascal.org/index.php/topic,43933.msg308371.ht ml#msg308371 I would probably end up using both.  Pas2JS for the client side GUI, and ExtPascal for the remote calls. If I try to use ExtPascal for all of it, then I'm stuck mapping a stateful application onto a stateless server, and my solution begins to look a lot like the tried and abandoned classic ASP.NET.