[Dbix-class] announcing SQL::Translator::Producer::ExtJS::Model::File

Jeff Albert jralbert at uvic.ca
Mon May 9 16:42:52 GMT 2011


....aaand that was a mis-reply. Sorry to have spammed the list!

Cheers,
Jeff

-----Original Message-----
From: Jeff Albert [mailto:jralbert at uvic.ca] 
Sent: Monday, May 09, 2011 9:41 AM
To: DBIx::Class user and developer list
Subject: RE: [Dbix-class] announcing SQL::Translator::Producer::ExtJS::Model::File

Hi Abhinav,
I'm actually not using dev right now, although I had thought there would be a ttrack user there as well. I will follow up with the DBAs, and I'll let you know when we're ready to move the view to production. Thanks for your help on this!

Cheers,
Jeff

-----Original Message-----
From: Alexander Hartmaier [mailto:alexander.hartmaier at t-systems.at]
Sent: Monday, May 09, 2011 7:42 AM
To: dbix-class at lists.scsys.co.uk; catalyst at lists.scsys.co.uk
Subject: [Dbix-class] announcing SQL::Translator::Producer::ExtJS::Model::File

I'm cross-posting this to the DBIx::Class and the Catalyst mailing list as both users might be interested in it.

I wanted to do this as soon as I've read the first blog post about the ExtJS 4 data model and last Friday evening I've finally started writing it.
After a short discussion on #dbix-class on Friday I chose to implement it as a SQL::Translator Producer so other ORM frameworks could just write a SQL::T::Parser and use it too.
Personally I'll use the generated ExtJS classes with Catalyst::Controller::DBIC::API in the backend.

The one drawback of making it a sqlt producer is that the dbic parser loses the relationship names when creating the sqlt constraints.
This means that for using the resulting ExtJS classes with DBIC::API the user has to change all relationship names.

What's your opinion on this issue? Should it be a different module that directly parses dbic resultsources instead of using sqlt?

The code is hosted on github:
https://github.com/abraxxa/SQL-Translator-Producer-ExtJS-Model-File

Best regards, Alex (abraxxa)


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk


More information about the DBIx-Class mailing list