zeidon-joe
ObjectiveSync
zeidon-joe | ObjectiveSync | |
---|---|---|
2 | 1 | |
2 | 83 | |
- | - | |
6.5 | 0.0 | |
2 months ago | about 3 years ago | |
Java | Java | |
- | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zeidon-joe
-
Exiting the Vietnam of Programming: Our Journey in Dropping the ORM (In Golang)
Shameless plug: I'm working with a small team on a data framework that replaces the ORM with an abstraction the eliminates the impedance mismatch. You can take a look at https://github.com/zeidon/zeidon-joe . I'd be happy to answer questions.
-
Stop Using JPA/Hibernate
Shameless plug : for a little while now I've been working on a project with others to try a different approach. We use a higher level abstraction that does a better job of modeling the data than language-level objects. This eliminates the impedance mismatch. Because it's not language dependent you can use the same models (we call them "logical objects") with multiple languages.
The logical objects are hierarchical and serialize easily to JSON and back, making it simple to write REST interfaces. There are a couple of production teams making good use of it.
Github repo is here; feel free to contact me about it: https://github.com/zeidon/zeidon-joe
ObjectiveSync
-
Stop Using JPA/Hibernate
"Bad practice - if you hide the database, you may get something done quickly, but it's a bad idea. If your Java code expects to have a collection of one million objects as an array, it does not matter if they are lazily loaded or not - some code somewhere might want to iterate over them, and this will kill the process. You cannot really forget that there is a database somewhere, and you should not do it."
https://github.com/l3nz/ObjectiveSync
What are some alternatives?
OrmLite - Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android
ksuid - K-Sortable Globally Unique IDs
drydock - Experiment in unit testing with PostgreSQL using Docker
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Ebean ORM - Ebean ORM
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
pggen - Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.