GaltSoft / kitura-manager

API Management inspired by Django REST framework
Apache License 2.0
3 stars 0 forks source link

Select an ORM to integrate with #4

Open ahalls opened 7 years ago

ahalls commented 7 years ago

We should start with one ORM

the-freshlord commented 7 years ago

Should do this one first before doing issue #3

the-freshlord commented 7 years ago

The only major ORM that I have found is StORM, but their library isn't fully complete. There is also, Swift-Kuery, which a good amount of people are using already. What do you think about building our own ORM thats built on-top of Swift-Kuery?

ahalls commented 7 years ago

We are not going to build an ORM as part of this project. It will make it way too huge ...

If you can find support elsewhere to build an orm on-top of Swift-Kuery go for it.

If no adequate ORM Exists we can build on top of Swift-Kuery ...

In principle we might be saying the same thing. But I don't want to take on the mantle "we are building an ORM". That brings on a lot of baggage. But if we just build a thin layer of ORMishness to generate CRUD actions on top of Swift-Kuery ... that is a good approach. Later we can integrate with a full feature ORM or spin off an ORM project.

ahalls commented 7 years ago

https://github.com/IBM-Swift/Kitura/issues/791

I would suggest that we discuss this on the kitura slack channel

ahalls commented 7 years ago

@eman6576 Have you looked at Vapor/Fluent ?

the-freshlord commented 7 years ago

Yes I have @ahalls. But i'm not sure if its a generic solution thats plug and play or is built around Vapor. Also, it isn't extremely documented.

ahalls commented 6 years ago

Decided to go forward in Swift-Kuery.