in reply to Whats the status of DBIx::Class

While I think that using DBIx::Class (or any other ORM) is not a really good idea, others get lots of value from it.

I believe the maintainer of DBIx::Class considers it feature complete and does not want to develop it further. What things do you feel are missing from DBIx::Class?

Replies are listed 'Best First'.
Re^2: Whats the status of DBIx::Class
by jdporter (Paladin) on Aug 24, 2024 at 11:17 UTC

      IIRC many of those open issues/tickets are requests for half-baked features that are being rejected because that are out-of-scope for DBIx::Class. The developers could not get an agreement over the threshold of feature-complete and then the owner put a brake on development, which I completely understand from a burn-out perspective: you don't want to lead a team that is only in disagreement.

      I share Corion's view.

      I do not see an easy way-out of this dilemma.


      Enjoy, Have FUN! H.Merijn

      In addition to what tux said, they aren't all bugs. The distinction being that rt is primarily a bug tracker not a support forum.

      Yet people still use it. Idk how many are new users and how many are using it with existing applications; but I am of the camp with those who don't use ORMs. Some people love them, and it's not usually the people that I expect. It's only failing 1 of 240 tests as I write this. I suspect something else will come out with class available in core now, anyway.

        The point is, it's not just about "what other features does it need?" I haven't gone through the list myself, but I have to suppose that at least some of the tickets are legit bugs. So I can totally see the OP's concern.

Re^2: Whats the status of DBIx::Class
by Anonymous Monk on Aug 24, 2024 at 11:10 UTC

    Its not a case of missing functionality its more a case if its a good idea to use in a long term project

      Currently the state of DBIx::Class is perfect for a long term project - it isn't changing, and it does tons of useful query generation.

      DBIx::Class does have some bugs in the design, and does have some misfeatures, but at this point fixing any of them would break back-compat, and the people with decades-old projects would most likely prefer that it remain stable. As an everyday user of DBIx::Class, I'd say its biggest problem is the learning curve to onboard new people. Clearly that isn't a bug that can be fixed without breaking back-compat :-) To make it nicer to use, I suggest DBIx::Class::Helper::ResultSet::Shortcut and my own DBIx::Class::ResultDDL.

      It's a terrific force-multiplier if you have large complex dynamic queries to write.