logo       

DBIx::Class::Schema::Loader 0.02001 released: msg#00118

Subject: DBIx::Class::Schema::Loader 0.02001 released
Available from the usual spot until it hits the CPAN mirrors:

http://pause.perl.org/incoming/DBIx-Class-Schema-Loader-0.02001.tar.gz

Changes entries for this release:

0.02001 Fri Feb 17 20:25:40 UTC 2006
        - tests fixed up a bit
        - auto-loading of on-disk class definitions layered on top
          of the generated definitions (create Foo::Schema::Bar, then
          also try to ->require it if it exists on disk).
        - new parameters components and resultset_components, which do
          the obvious for the generated table classes.
        - DBIx::Class pre-req bumped to 0.05006, since Schema::Loader
          is virtually gauranteed to cause subtle mod_perl problems
          without those fixes.

The most important change is the ->require bit.  If you create a
Schema::Loader-based Schema class file for "My::Schema", and you also
create a physical file on disk for My::Schema::Foo (My/Schema/Foo.pm
in @INC somewhere), that will be auto-loaded by the Schema::Loader
after it does its magic, allowing you to layer in other things (like
resultset methods, or relationship definitions, etc).

The other biggie is the addition of a "components" argument.  This
takes the same short component names as the usual ->load_components
you would see in your per-table classes.  PK::Auto::<Vendor> and Core
are already provided, but you can add in more components here.

resultset_components is also provided for using
DBIx::Class::ResultSetManager, but this interface may still be in flux
a bit, I'd wait for it to settle down in the next version before
relying on it too much.

-- Brandon

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe