I didn't mean to say that it would not be useful. On the contrary, views would be <i>useful</i> in core...I just don't think it would be a good idea to put it there, especially with plugin manager making it so easily accessible from the ui. <br>
<br>That said, I would support putting a views api in core and leaving the UI in contrib, like what is done with cck right now (but only because it's obvious that lots of people want views in core -- if it's gonna go in, that's the way I'd wanna see it there)<br clear="all">
-----<br>Cameron Eagans<br>Owner, Black Storms Studios, LLC<br><a href="http://www.blackstormsstudios.com">http://www.blackstormsstudios.com</a><br>
<br><br><div class="gmail_quote">On Wed, Aug 12, 2009 at 12:04 AM, Earl Miles <span dir="ltr"><<a href="mailto:merlin@logrus.com">merlin@logrus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Cameron Eagans wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think the argument of 'let's put views in core because it'll make setting up sites easier' is kind of a bad one in this case. Views is neither easy nor essential for -every- site out there.<br>
</blockquote>
<br></div>
The argument for having Views in core is that Views would then power a whole ton of core:<br>
<br>
tracker.module: Just a view.<br>
blog.module: Just a view.<br>
/node front page: Just a view.<br>
/rss.xml: Just a view.<br>
node content admin: Could be a view, with VBO.<br>
user admin: Could be a view, with VBO.<br>
recent comments block: Yep, a view.<br>
recent blog posts block: Yep, a view.<br>
active forum posts? Sho 'nuff.<br>
<br>
Having a bunch of this stuff be Views natively, instead of hardcoded queries and whatnot, would be a big step closer to separating the API from the Application, and the Application would become *much* more replaceable. And tweakable. Because once it's a view, then on your site you can tweak it as much as you can tweak any view. And that's rather a lot.<br>
</blockquote></div><br>