Re: easy display system?

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 07/17/2013 09:43 AM, Carlo Capelli wrote:
> 2013/7/17 Carlo Capelli <[email protected]>
>
>>
>>
>>
>> 2013/7/17 Alan Baljeu <[email protected]>
>>
>>> basically view_term(Term) opens a window to show that term.
>>>
>>> I've never heard of prolog_ide(debug_monitor).  It might be useful as
>>> well.
>>>
>>> I'm not sure yet what will be most useful.  I'd want a window dedicated
>>> to one thing, and show a list of such things in there.
>>
>>
>> Alan, I think the simpler interface could be just multiple named consoles.
>> I learned about them these days, attempting to complete the Qt console
>> port (thanks to Jan, we are near to something working now),
>> but if you can prototype under Windows (or you are incline to the bleeding
>> edge, testing our efforts toward Qt portability layer) see plwin<http://www.swi-prolog.org/pldoc/man?section=plwin>interface.
>>
>>
> I forgot: fdqueens <https://github.com/CapelliC/fdqueens> showcases a
> CLP(FD) mini application interface, reusing this
> code<http://web.student.tuwien.ac.at/~e0225855/queens/queens.html>from
> Markus, thus showing attributed vars state change.
> If you can think of some graphical interface specification, maybe I could
> help.

Just curious: how easy would it be for the new console to allow 
applications to create a HTML5 app?  For example, something that
lets the user attach a new tab or window to the console.  Not
sure how this would compare with opening a browser.  Technology
wise though, being able to write HTML5 apps fits perfectly with
the current directions in SWI-Prolog and allow us to reuse
technology I want to develop anyway.  Think of a future graphical
debugger running as HTML5, nice term visualization, etc.

I'm thinking of something like

	open_web_app(+Location, Options)

Where Location is a URL minus the scheme and authority 
(http://host[:port] and Options provides things such as opening
as tab or window, etc.

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.