Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Design Question - I've gone object mad!

by trwww (Priest)
on Apr 07, 2011 at 04:10 UTC ( [id://897928]=note: print w/replies, xml ) Need Help??


in reply to Design Question - I've gone object mad!

You're reinventing DBIx::Class in general, and as far as your specific question, you are reinventing SQL::Abstract, the tool that DBIx::Class uses to generate SQL.

Replies are listed 'Best First'.
Re^2: Design Question - I've gone object mad!
by Cagao (Monk) on Apr 07, 2011 at 08:07 UTC

    I'm hearing this a lot, but I'm not aware of DBIx::Class being able to send queries to Solr, for example.

    There are a lot of alternative storage/index/search engines around and we don't want to be tied to using a database.

    As I've said, the model I'm working on is above any db layer.

      I'm not aware of DBIx::Class being able to send queries to Solr, for example

      It looks like it does to me:

      DBIx::Class::Indexer::WebService::Solr

      Even if it dosen't do exactly what you want, personally I'd rather take that and modify it to get it to do what I want instead of start from scratch.

      As I've said, the model I'm working on is above any db layer.

      Its your project so you know and I don't, but since you're here asking for advice I'll give it: DBIx::Class works above the db layer. From here it looks like you are reinventing wheels instead of figuring out how to add in hooks to existing frameworks.

        Cheers for that, I'll certainly be taking a look to see if it'll work for what we need.

        Time to learn DBIx::Class fully now :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://897928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-29 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found