Why not have a config flag that allows the developer to choose between
single scaffold and event xml files, and splitting them up based upon a
convention?  Would be cool to see MG3 support both.  (My peanut gallery
comment...)

Paul

On Wed, Sep 3, 2008 at 8:17 AM, Adam Tuttle <[EMAIL PROTECTED]> wrote:

> For what it's worth, I like the sound of it. I definitely see why people
> would have a problem with it, but as Denny said, the same would apply for
> generated controllers, and so on... If you're using event generation, you're
> either sticking with the generated organization or reorganizing stuff
> anyway...
>
> </$0.02>
>
> Adam
>
> On Tue, Sep 2, 2008 at 9:52 PM, denstar <[EMAIL PROTECTED]> wrote:
>
>>
>> On Tue, Sep 2, 2008 at 4:00 PM, Brian Kotek wrote:
>> > I was actually focusing on your inclusion of the event generation code
>> in
>> > this request, not really the scaffolding since I don't use it. That's
>> why I
>> > was saying it would be difficult to do: if I generate an event called
>> > "user.list" via the URL, it could be rather dangerous to assume that I
>> want
>> > a MG XML file named "user.xml" or something. I might not want to call it
>> > that, or I might already have an XML file that contains user stuff that
>> is
>> > named "admin.xml" that does lots of admin-related things for users plus
>> > more, or I might have the file in my own location
>> > (config/includes/user.xml), or I might not want it in a separate XML
>> file at
>> > all.
>>
>> Could we not just make the same assumptions about the config files
>> that we do about the controller files?
>>
>> Don't the same problems apply?
>>
>> It's a lot easier to go from separate organized files into one file,
>> than the other way around, in my opinion.
>>
>> When I get around to creating a patch for MG3, I'll send it to you,
>> and I bet you'll end up liking things better separated.  I don't think
>> it's related to personal style so much.
>>
>> Then there would be two voices, and we could get more, and more, and
>> eventually...
>>
>> Or maybe it will just strike someone who has direct power as a good idea.
>>  :]
>>
>> I'll eventually do it for myself again, so it'll be somewhere if
>> someone else needs it, regardless.
>>
>> :Denny
>>
>> PS- I haven't done it for events yet, obviously, so maybe that idea
>> won't fly, but it's swell for scaffolds.
>>
>> --
>> I wonder if most people ever ask themselves why love is connected with
>> reproduction. And if they do ask themselves about this, I wonder what
>> answer they give.
>> Mortimer Adler
>>
>>
>>
>
> >
>


-- 
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to