Thread overview |
---|
June 16, 2015 OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Hi folks Just want to share some insights about what you can achieve with the D programming language and the Sciter library, which I use for making the GUI interface. I've written the OctoDeskdex app, which is basically the Github's Octodex page in a desktop version. Source is available at: https://github.com/midiway/OctoDeskdex It uses my https://github.com/midiway/sciter-dport library which let you Sciter technology http://www.terrainformatica.com/sciter/main.whtm in D language. If anyone is interested in this kind of GUI library, I can write more about how to use it regards |
June 18, 2015 Re: OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ramon | On Tuesday, 16 June 2015 at 00:47:59 UTC, Ramon wrote:
> Hi folks
>
> Just want to share some insights about what you can achieve with the D programming language and the Sciter library, which I use for making the GUI interface.
>
> I've written the OctoDeskdex app, which is basically the Github's Octodex page in a desktop version. Source is available at: https://github.com/midiway/OctoDeskdex
>
> It uses my https://github.com/midiway/sciter-dport library which let you Sciter technology http://www.terrainformatica.com/sciter/main.whtm in D language.
>
> If anyone is interested in this kind of GUI library, I can write more about how to use it
>
> regards
Great
|
June 18, 2015 Re: OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ramon | On Tuesday, 16 June 2015 at 00:47:59 UTC, Ramon wrote:
> If anyone is interested in this kind of GUI library, I can write more about how to use it
Actually, I think you would see more interest if you just went ahead and wrote more about it.
Mike
|
July 04, 2015 Re: OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ramon | On Tuesday, 16 June 2015 at 00:47:59 UTC, Ramon wrote:
> If anyone is interested in this kind of GUI library, I can write more about how to use it
It looks very interesting, but looking at the sources, it seems D is just being used as a container for an HTML/javascript application. Is there a way to use D for the internal logic too? For example, if I wanted to write a multi-platform game, but not do it in javascript how would I setup my screen (canvas?) and control what's shown from D?
|
July 08, 2015 Re: OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guy Gervais | On Saturday, 4 July 2015 at 15:00:08 UTC, Guy Gervais wrote:
> On Tuesday, 16 June 2015 at 00:47:59 UTC, Ramon wrote:
>
>
>> If anyone is interested in this kind of GUI library, I can write more about how to use it
>
> It looks very interesting, but looking at the sources, it seems D is just being used as a container for an HTML/javascript application. Is there a way to use D for the internal logic too? For example, if I wanted to write a multi-platform game, but not do it in javascript how would I setup my screen (canvas?) and control what's shown from D?
Yes, you can use D or C++ for the backend (internal logic), and there is an entire API for the backend->frontend conversastion.
You can access and manipulate the DOM from the backend, as you can do it also through scripting (the language that Sciter technology supports is called TIScript, very similar to javascript).
I recommend do to all the UI logic through scripting. You will need to use the native D/C++ side for the system stuff, like feeding the HTML/CSS/img resources, loading the HTML page, creating the HWND, ...
|
July 19, 2015 Re: OctoDeskdex: D language program for your pleasure | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ramon | On Wednesday, 8 July 2015 at 03:51:07 UTC, Ramon wrote:
> On Saturday, 4 July 2015 at 15:00:08 UTC, Guy Gervais wrote:
>> [...]
>
> Yes, you can use D or C++ for the backend (internal logic), and there is an entire API for the backend->frontend conversastion.
>
> You can access and manipulate the DOM from the backend, as you can do it also through scripting (the language that Sciter technology supports is called TIScript, very similar to javascript).
>
> I recommend do to all the UI logic through scripting. You will need to use the native D/C++ side for the system stuff, like feeding the HTML/CSS/img resources, loading the HTML page, creating the HWND, ...
I'm interested in this - if you could write up a tutorial or something I would try it out
|
Copyright © 1999-2021 by the D Language Foundation