Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-03 Thread Alexsander Rosa
Maybe a way to call a webservice, get a JSON reply and show it on a
TStringGrid?


2013/12/2 vfclists . vfcli...@gmail.com




 On 2 December 2013 08:25, Michael Schnell mschn...@lumino.de 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
 Lazarus@lists.lazarus.freepascal.org
 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
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 
Atenciosamente,
Alexsander da Rosa
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-03 Thread vfclists .
On 3 December 2013 16:11, Alexsander Rosa alexsander.r...@gmail.com 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


 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
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




 --
 Atenciosamente,
 Alexsander da Rosa


 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-02 Thread Michael Schnell

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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-02 Thread vfclists .
On 2 December 2013 08:25, Michael Schnell mschn...@lumino.de 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
 Lazarus@lists.lazarus.freepascal.org
 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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2013-12-01 Thread 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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus