# Tech stack  MVC to connect to KDB database ?

**URL:** https://forum.kx.com/t/tech-stack-mvc-to-connect-to-kdb-database/11639
**Category:** Community Support
**Tags:** kdb-and-q
**Created:** [November 25, 2017, 7:22am UTC](https://forum.kx.com/t/tech-stack-mvc-to-connect-to-kdb-database/11639 "2017-11-25T07:22:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![davidrichard063](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@davidrichard063](https://forum.kx.com/u/davidrichard063)
#### Post date: [November 25, 2017, 7:22am UTC](https://forum.kx.com/t/tech-stack-mvc-to-connect-to-kdb-database/11639/1 "2017-11-25T07:22:00Z")

</div>

Hello,&nbsp;  
I am currently trying to understand how I could use KDB with a front end interface hosted by a server online .&nbsp;  
Apart python, what are the other option that can be used to build a front end interface that can connect to KDB database ?

Regards

---

<div class="post-metadata">

### Author: ![collin\_ola1](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@collin\_ola1](https://forum.kx.com/u/collin_ola1)
#### Post date: [November 25, 2017, 8:53am UTC](https://forum.kx.com/t/tech-stack-mvc-to-connect-to-kdb-database/11639/2 "2017-11-25T08:53:00Z")

</div>

Is this what you’re looking for? [https://code.kx.com/q/interfaces/](https://code.kx.com/q/interfaces/)

---

<div class="post-metadata">

### Author: ![jwbuitenhuis](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jwbuitenhuis](https://forum.kx.com/u/jwbuitenhuis)
#### Post date: [November 25, 2017, 9:02am UTC](https://forum.kx.com/t/tech-stack-mvc-to-connect-to-kdb-database/11639/3 "2017-11-25T09:02:00Z")

</div>

Hi David,

If you start KDB with a port argument it will automatically function as a web server. It’s easy to connect a web socket or handle GET/POST requests, although the approach is delightfully unconventional.

This is great place to start:  
http://code.kx.com/q4m3/11\_IO/#117-http-and-web-sockets

Thanks,

Will
