New release and plans for Coat::Persistent
I’ve uploaded a new developer release of Coat::Persistent to the CPAN. In this version, the modules Cache::FastMmap and DBD::CSV are made optional (they were mandatory dependencies until then). Moreover, Coat::Persistent now uses DBIx::Sequence for primary keys generation.
After thinking a lot to the future of that tiny ORM (which is actually very small, unfinished and questionable) I came to a conclusion: Class:DBIx is in the place and just rules. That’s an amazing ORM and is really a great module to use. -I’m aware what follows in that blog entry may sound contradictory- I work daily with Ruby on Rails, but I just love Perl and the goodness of CPAN, I love writing Perl code, I love writing Perl modules ; I also find Rails’ORM amaizingly well designed, easy-to-use and scalable. I like the choices made, well, I like how you can feel your database through that object-mapping abstraction layer that ActiveRecord provides.
My point here is not to discuss Class::DBIx, but rather to underline how Rails’ ActiveRecord is something worth looking at, and something - I think - Perl lacks.
I may be wrong, but I feel like some Perl developers around could agree, I hope. I also hope I won’t trigger the anger of someone involved with Class::DBIx, which, let me say it again, is a great module.
My plan here is to take the ActiveRecord API, and try to upgrade Coat::Persistent, piece by piece, in order to get as close as possible to it. That’s an exciting challenge, and could give me enough intellectual food for the next months.
I may be targetting something too large for me, I may be taking the wrong path, but I feel like following the spirit of Perl taking that direction : There’s more than one way to do it, isn’t it?