<br><br><div class="gmail_quote">On Sat, Feb 26, 2011 at 6:22 AM, John M. Dlugosz <span dir="ltr">&lt;<a href="mailto:wxju46gefd@snkmail.com">wxju46gefd@snkmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"> On 2/25/2011 9:30 AM, Ashley Pond V <a href="http://apv-at-sedition.com" target="_blank">apv-at-sedition.com</a> |Catalyst/Allow to home| wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
What t0m suggested is perfectly fine but if you want to mimic the DBIC<br>
API with a different engine, this example does that (superficially and<br>
as a tutorial only): <a href="http://sedition.com/a/2739" target="_blank">http://sedition.com/a/2739</a> Log file model–Apache<br>
access log. The reason that example makes sense is because the<br>
underlying model/data is similar: searchable, sortable rows. If you&#39;re<br>
trying to shoehorn in something dissimilar, you might be making a<br>
mistake.<br>
<br>
-Ashley<br>
</blockquote></div>
I&#39;m not sure to what extent it is wise or correct.<br>
The whole point of &quot;models&quot; is that it abstracts the model and I can change where the data comes from later, right?  So don&#39;t they all have an underlying abstract interface regardless of how they are sourced?<br>
</blockquote><div><br>The only abstraction Catalyst::Model provides is initialization.  Personally I don&#39;t like this approach but I cannot imagine what common abstraction it could provide for so diverse models.  Some Catalyst::Model::xxx classes do provide some additional functionality - like Catalyst::Model::DBIC which adds the possibility to address the resutlsets with a shortcut - but it&#39;s their own unique additions.<br>
 <br></div></div>-- <br>Zbigniew Lukasiak<br><a href="http://brudnopis.blogspot.com/">http://brudnopis.blogspot.com/</a><br><a href="http://perlalchemy.blogspot.com/">http://perlalchemy.blogspot.com/</a><br>