Category: orm

Re-Introducing Eloquent’s Polymorphic Relationships

You’ve probably used different types of relationships between models or database tables, like those commonly seen in Laravel: one-to-one, one-to-many, many-to-many, and has-many-through. But there’s another type of relationship that’s not so common: polymorphic. So what is a polymorphic relationship? ...

A First Look at Atlas – the ORM That Delivers

“AtlasORM is a data mapper implementation for your persistence model (not your domain model)”By definition, a Data Mapper moves data between objects and a database and isolates them from one another. With a Data Mapper, the in memory objects don’t even need to know that a database exists. It does n...

Sourcehunt 2016.8 – Contribute to Regression, Regex, ORMs, and More

Sourcehunt August 2016 Vacations are over, and it’s time to hunt some open source contributions again! austintoddj/Canvas [561 ★] Canvas is a new mini-CMS aimed at developers who need personal blogs. It aims to be both pretty, and pretty usable. I’ve tried it out in my hunt for a personal blogging engine,...

Laravel Doctrine – Best of Both Worlds?

Laravel Doctrine is a drop-in implementation of the famous ORM for the Laravel 5.X Framework, and a really interesting alternative to the default choice, Eloquent. In this article, we will learn how to use it, and when.Why Doctrine, and not Eloquent? Those of us who have used Laravel at least once, have probably used...

Sourcehunt: Cron Management, Hackathon Starters, PHP-GUI…

Ready for a new edition of sourcehunt? Get those starring-fingers ready!lavary/crunz [15 ★] crunz is a Laravel scheduler-inspired cron manager for PHP, fully framework agnostic and independent. In many ways, it’s similar to Jobby and cron-manager, so we’ll leave the comparisons up to you… for now. Laravel Hac...

3 JavaScript ORMs You Might Not Know

When I wrote my first JavaScript lines, I never thought it would go beyond browser scripting and making interactive websites. I was wrong, since Javascript can be used literally everywhere:You can use it in the browser and you don’t have to be restricted to ECMAscript with DOM API. Languages like CoffeeScript and D...