Thread overview
Interfacing Chromium & SQLite
Sep 05, 2015
Mike McKee
Sep 05, 2015
Mike McKee
Sep 05, 2015
Adam D. Ruppe
Sep 06, 2015
Byron Heads
September 05, 2015
On a Mac (Yosemite version), how would I create a window in D, embed Chromium, use D to show a local SQLite test database (id, firstname, lastname) inside Chromium, and let someone have a small search form to do like a "full name" search that goes back to D to query the database again?

September 05, 2015
On Saturday, 5 September 2015 at 11:43:16 UTC, Mike McKee wrote:
> On a Mac (Yosemite version), how would I create a window in D, embed Chromium, use D to show a local SQLite test database (id, firstname, lastname) inside Chromium, and let someone have a small search form to do like a "full name" search that goes back to D to query the database again?

Note: I'm not asking for source code examples, just wondering what technologies I would have to use to connect these pieces together?

September 05, 2015
On Saturday, 5 September 2015 at 13:32:04 UTC, Mike McKee wrote:
> Note: I'm not asking for source code examples, just wondering what technologies I would have to use to connect these pieces together?

I would basically look up how you'd do it in C and follow the same steps in D. I haven't used Chrominum though so I don't know more than that...
September 06, 2015
On Saturday, 5 September 2015 at 13:32:04 UTC, Mike McKee wrote:
> On Saturday, 5 September 2015 at 11:43:16 UTC, Mike McKee wrote:
>> On a Mac (Yosemite version), how would I create a window in D, embed Chromium, use D to show a local SQLite test database (id, firstname, lastname) inside Chromium, and let someone have a small search form to do like a "full name" search that goes back to D to query the database again?
>
> Note: I'm not asking for source code examples, just wondering what technologies I would have to use to connect these pieces together?


These libraries might help..
http://code.dlang.org/packages/derelict-cef
http://code.dlang.org/packages/d2sqlite3

Other option might be to write a vibe.d (http://vibed.org/) web server as a front end for your DB