Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-12

Is there an industry language for specifying for declaring GUIs in JSON?

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

vfclists .

Are there some industry standards for specifying GUIs in JSON?

Something which can specify the type of elements like edit controls, buttons, the positions etc, and draw stuff like squares, triangles, boxes etc? It doesn't have to be an official standard, but have widespread use to make it easier to work with?

QML appears to be one, are there any others?

FWIW I am trying to use the LCL Widgets as a means of displaying information from interpreter based development, passing the GUI creation commands over a socket.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131201/2dd19ed0/attachment.html>
vfclists .
to Michael Schnell
Michael Schnell wrote 15 lines
On 12/01/2013 04:57 PM, vfclists . wrote: > > Are there some industry standards for specifying GUIs in JSON? > See "Future of the Desktop" right here. -Michael -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

I am already following that thread. What I have in mind is using Lazarus/FreePascal forms as purely presentation layer, not for Pascal programs alone, but any language, DWScript, Python, bash, Basic, whatever even DWScript In effect the form opens a web server or another type socket where the business layer sends the screen drawing commands to. Whereas a browser is pull system, this is a both pull and push

When I did some Googling, knockout.js a framework that came up, something similar for Lazarus is what I have in mind. FreePascal, LCL, fpGUI etc are the system I know and the best foundation for a high performance cross platform presentation layer that I can think of.

I think parsing QML or a reasonable subset for building Lazarus UIs as an alternative to .lfm and .dfm files is where the future of the Lazarus/FreePascal lies. I wouldn't say the future, but it is area where the Pascal development ecosystem can experience a revival. It is rapidly loosing ground to programming languages which can be are interpreted, JITed, compiled, and have garbage collection, not just in usage, but in performance as well.

I think my vision warrants a separate blog post. I know what I want, I just don't have the technical know how to accomplish it.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131203/8fb2395c/attachment.html>
Alexsander Rosa
to vfclists .

Maybe a way to call a webservice, get a JSON reply and show it on a TStringGrid?

2013/12/2 vfclists .

Show quoted text 59 lines
On 2 December 2013 08:25, Michael Schnell wrote: > On 12/01/2013 04:57 PM, vfclists . wrote: > >> >> Are there some industry standards for specifying GUIs in JSON? >> > See "Future of the Desktop" right here. > > -Michael > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > I am already following that thread. What I have in mind is using Lazarus/FreePascal forms as purely presentation layer, not for Pascal programs alone, but any language, DWScript, Python, bash, Basic, whatever even DWScript In effect the form opens a web server or another type socket where the business layer sends the screen drawing commands to. Whereas a browser is pull system, this is a both pull and push When I did some Googling, knockout.js a framework that came up, something similar for Lazarus is what I have in mind. FreePascal, LCL, fpGUI etc are the system I know and the best foundation for a high performance cross platform presentation layer that I can think of. I think parsing QML or a reasonable subset for building Lazarus UIs as an alternative to .lfm and .dfm files is where the future of the Lazarus/FreePascal lies. I wouldn't say the future, but it is area where the Pascal development ecosystem can experience a revival. It is rapidly loosing ground to programming languages which can be are interpreted, JITed, compiled, and have garbage collection, not just in usage, but in performance as well. I think my vision warrants a separate blog post. I know what I want, I just don't have the technical know how to accomplish it. -- Frank Church ======================= http://devblog.brahmancreations.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131203/ef1c26f8/attachment-0001.html>
vfclists .
to Alexsander Rosa
Alexsander Rosa wrote
Maybe a way to call a webservice, get a JSON reply and show it on a TStringGrid?

I mean a general GUI building language

Show quoted text 36 lines
Pascal development ecosystem can experience a revival. It is rapidly loosing ground to programming languages which can be are interpreted, JITed, compiled, and have garbage collection, not just in usage, but in performance as well. > > I think my vision warrants a separate blog post. I know what I want, I > just don't have the technical know how to accomplish it. > > -- > Frank Church > > ======================= > http://devblog.brahmancreations.com > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- Atenciosamente, Alexsander da Rosa -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131203/161cf3c5/attachment.html>