Ask a Question related to PERL Modules, Design and Development.
-
Jean-Marc Molina #1
Class::DBI and Ruby ActiveRecord::Associations ER diagram/macros
Hello,
I would appreciate Perl developers comments on the
"ActiveRecord::Associations ER diagram/macros" [1] Ruby Forum topic and
"Ruby on Rails Associations macro-methods for tying objects together through
foreign" [2] Usenet message. I don't know much about Ruby and Perl and
wonder how and why the Class:DBI [3] Perl module is related to the
"ActiveRecord::Associations::ClassMethods" [4] Ruby module. They both use
the same terminology and I don't think it's a coïncidence.
In fact it's a comment to the "Simplify Business Logic with PHP DataObjects"
[5] ONLamp.com article that led me on this Perl community : « The greatest
part about it is that you can declare relationships between classes/tables
by indicating that a certain column in your table either is a foreign key
(has_a) or that your table's primary key is referenced from another one
(has_many). All the joins will then happen behind the scenes and you can use
simple accessors to navigate your relations. ». The full comment references
the Class:DBI Perl module and strongly recommand reading the "How to Avoid
Writing Code : Using Template Toolkit and Class::DBI" [6] Perl.com article.
JM.
Notes :
* [1] [url]http://www.ruby-forum.com/topic/66010#new[/url]
* [2] news://446af2f0$0$8017$626a54ce@news.free.fr
* [3] [url]http://www.class-dbi.com[/url]
* [4]
[url]http://ar.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html[/url]
* [5] [url]http://www.onlamp.com/pub/a/php/2004/08/05/dataobjects.html[/url]
* [6] [url]http://www.perl.com/pub/a/2003/07/15/nocode.html[/url]
Jean-Marc Molina Guest
-
File associations for Contribute 3?
I know that Contribute can directly import content from a variety of Office formats, but does it have a "native" format that it "owns"? I know the... -
Inheritence Diagram of Ruby classes...
Hello All, Has anyone got, or know of a diagram that shows how the ruby classes are ordered in terms of inheritence? Thanks, Thomas Adam ... -
Ruby is Great: [Was -- User-defined class coercion?]
On Tuesday, August 5, 2003, at 11:41 PM, Mark J. Reed wrote: And that's only one of the many charms of Ruby. :-) I started out very... -
Professional Associations?
All, I was wondering what, if any, professional associations people held memberships to? I was also wondering if these memberships held any value... -
ER Diagram
Hi, Ok, I have to make all the relation diagram and I dont know how to. My freind told me that there is a way you can import it from your Access...



Reply With Quote

