[swift-server-dev] Database API/Framework

Helge Heß me at helgehess.eu
Tue Oct 25 13:56:13 CDT 2016


Hi Chris,

it is a little unclear what the scope of the group is. Presumably you have some very specific things in mind?

Of course we’ve seen https://swift.org/server-apis/#focus-areas. But what does it actually mean? :-) Looking at it:
- base networking: TCP/UDP, DNS. Covered already by libdispatch and the OS’ses?
- security: OpenSSL? or some wrapper around both, CC and OpenSSL?
- provide low level HTTP parsing: http_parser? Is anyone using something
  else?
All that seems kinda covered/standard already? Unless maybe you include non-Unix stuff like Windows.

Is this primarily for things like providing a standardised ’swiftier' OpenSSL wrapper (similar to how Objective-GCD wraps libdispatch)?
Or would that just be module maps which are shipped by default with Swift and hence can be relied on by all frameworks?

But maybe I’m just a little too impatient :->

hh

> On 25 Oct 2016, at 20:41, Chris Bailey via swift-server-dev <swift-server-dev at swift.org> wrote:
> 
> Hi Ron: 
> 
> As you say, that's outside of the scope of the work group, however I do think its a valuable area that the various existing web framework groups might be interested in collaborating on. Having a common, recognized framework that the database providers or third parties would be interested in writing database drivers for would be a huge step forward. 
> 
> I know that Vapor has its Fluent ORM framework, and that its an area that the Kitura team are looking at as well, so your post might kick-start some wider discussion. 
> 
> Chris
> 
> 
> 
> 
> From:        Ron Olson via swift-server-dev <swift-server-dev at swift.org> 
> To:        swift-server-dev at swift.org 
> Date:        25/10/2016 18:54 
> Subject:        [swift-server-dev] Database API/Framework 
> Sent by:        swift-server-dev-bounces at swift.org 
> 
> 
> 
> Hi all-
> 
> I've been working with Swift more on Linux than macOS and am very 
> excited to see the formation of this group. Looking at the server api 
> workgroup's focus, I notice it's primarily low-level interaction with 
> the operating system. When might it be a good time to bring up the 
> possibility of creating a database-specific framework for those folks 
> who want to work directly with Postgres, MySQL, even DB2 and Oracle; I'm 
> thinking a JDBC-inspired framework that drivers could be written 
> against.
> 
> Thanks,
> 
> Ron
> _______________________________________________
> swift-server-dev mailing list
> swift-server-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-server-dev
> 
> 
> _______________________________________________
> swift-server-dev mailing list
> swift-server-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-server-dev



More information about the swift-server-dev mailing list