Skip to content

Releases: trivialsoftware/TrivialModels

v1.0.0-beta.1

27 Jan 07:14
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

First Release

I'm very, very happy to announce the first release of TrivialModels. This project has been a long time in coming, and this code is very clean, very solid, and simply so much better than anything that's come before it. I'm very glad to finally get here.

What is TrivialModels?

TrivialModels, simply put, is a way to define objects that can seamlessly sync to a database. It is like an ORM, but without the R portion. It focuses on allowing you to easily define code abstractions for your data, and gives you just enough power to do basic queries for that data.

No Relations?

Eventually, TrivialModels will gain basic relation support. However, my position has always been that for the simple case, like a blog, relations don't make that much sense to the code. You almost never want all the blog posts by a given author as a field on the Author instance! Especially in the day and age of realtime web applications, nested structure become very hard to work with. So, it's much easier to write small objects, sync those, and define their relationships in code.

Features

Drivers

  • SimpleDriver - A simple, in-memory driver.
  • TrivialDBDriver - A feature complete driver for v2.0 of TrivialDB

Features

  • Too many to list!