Hi all,
Googling about Cobra is quite difficult. I just discovered Cobra by chance while looking up for boo, but I'm surprise for the lack of resource about Cobra on the web. Hope the project is not dead !
I'd like to know if there exist an ORM or any SQL abstraction written in Cobra using the specificities of the language ? I'm targeting PostgreSQL but MySQL would be fine too.
Anyone ?
Forums
ORM for Cobra
4 posts
• Page 1 of 1
Re: ORM for Cobra
I would hope from the activity on this discussion forum that it is apparent that Cobra is not dead!
Also see my post "Repetitive Strain Injury Sucks" for why the project slowed down and why it will now pick up again.
I wrote an ORM in Python years ago and the same one in C# a few years after that. However, I have not had the time to work on an ORM in Cobra (I work on the compiler).
Recently, I came across RavenDB which may take an approach to data storage that does not require an ORM (which as you know is about mapping objects <--> sql). However, I have not had time to check it out. It would be interesting if someone did and reported their findings.
An alternative to ORM is to use the repository pattern which in some ways looks friendlier to OO enthusiasts than traditional ORM, but also seems to require a lot typing/coding.
Also see my post "Repetitive Strain Injury Sucks" for why the project slowed down and why it will now pick up again.
I wrote an ORM in Python years ago and the same one in C# a few years after that. However, I have not had the time to work on an ORM in Cobra (I work on the compiler).
Recently, I came across RavenDB which may take an approach to data storage that does not require an ORM (which as you know is about mapping objects <--> sql). However, I have not had time to check it out. It would be interesting if someone did and reported their findings.
An alternative to ORM is to use the repository pattern which in some ways looks friendlier to OO enthusiasts than traditional ORM, but also seems to require a lot typing/coding.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: ORM for Cobra
Also see my post "Repetitive Strain Injury Sucks" for why the project slowed down and why it will now pick up again.
Sorry to hear that, I also have this problem from time to time and I have to wear something rigid at the arm in order to keep it straight.
Hope you're getting better.
I wrote an ORM in Python years ago and the same one in C# a few years after that. However, I have not had the time to work on an ORM in Cobra (I work on the compiler).
Is it open sourced ?
Recently, I came across RavenDB which may take an approach to data storage that does not require an ORM (which as you know is about mapping objects <--> sql). However, I have not had time to check it out. It would be interesting if someone did and reported their findings.
I'm not willing to use a document based data storgage for my project.
- AMIGrAve
- Posts: 6
Re: ORM for Cobra
The Python one is. It's called MiddleKit and is part of the "Webware for Python" project which is easy to find on the web.
The C# one was done under contract/work-for-hire and is not. Plus I cut a few corners so it's just "okay".
Speaking of which, I am a contractor.
Re: document databases, I understand. I'm still using SQL on all my projects. I'd still like to check out RavenDB sometime.
The C# one was done under contract/work-for-hire and is not. Plus I cut a few corners so it's just "okay".
Speaking of which, I am a contractor.
Re: document databases, I understand. I'm still using SQL on all my projects. I'd still like to check out RavenDB sometime.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 32 guests