Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is the DBIx::Class project still alive ? Not much seems to have happend the last 2 years

Thank you in advance

Jan

Replies are listed 'Best First'.
Re: Whats the status of DBIx::Class
by syphilis (Archbishop) on Aug 24, 2024 at 12:08 UTC
      > There has been much discussion about how this will be resolved

      Is it possible to read the whole discussion in one page?

      I'd be interested to know if %INC hooks were suggested as work around and mean to identify broken import statements.

      Update

      In hindsight, there is no use for this, if the break happens at compile time and something like use don't is simply rejected with a fatal error.

      Anyway I couldn't find out since when this feature was deprecated, seems to be enforced without grace period.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

      UPDATES

      • 2024-08-25 15:23 GMT appended title
        Anyway I couldn't find out since when this feature was deprecated, seems to be enforced without grace period.

        I see the deprecation warning in 5.40.0 and 5.38.0 (but not 5.36.0 or earlier):
        D:\>perl -le "print $]; $don't = 1;" Old package separator "'" deprecated at -e line 1. 5.038000
        And, with warnings enabled:
        D:\>perl -wle "print $]; $don't = 1;" Old package separator "'" deprecated at -e line 1. Name "don::t" used only once: possible typo at -e line 1. 5.038000
        Cheers,
        Rob
        There are some additional informed opinions here (reddit.com/r/perl)

      Ok, thank you for that information

Re: Whats the status of DBIx::Class
by Corion (Patriarch) on Aug 24, 2024 at 10:11 UTC

    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?

        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.

      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.