(Switching lists on request)

Looking further into the matter, I believe a root cause of new Model-Glue
coders using config blocks is that almost all the examples bundled with
Unity are legacy examples. Those examples are not in SVN for Gesture so at
least Gesture won't be encouraging such legacy practices.

I'll admit that it's easier for someone who's not on the Model-Glue team to
suggest breaking compatibility as such a person is less likely to experience
the same level of "fun" of responding to the inevitable problem reports.
Maintaining compatibility seems to be a more prudent approach.

Even if support for config blocks is maintained in Gesture, a migration
guide would be valuable to have in the documentation.

Cheers,

-- Dennis

---------- Forwarded message ----------
From: Dan Wilson <[email protected]>
Date: Mon, Mar 30, 2009 at 9:51 AM
Subject: [coldspring-users] Re: NB - variable injection
To: [email protected]


As much fun as it would be to break backwards compatibility, I'm probably
not for it.
I think, we'd all agree, this is no longer a ColdSpring issue and should be
moved to the Model-Glue list

We could probably do more to explain the deprecation, and strongly encourage
developers to migrate to ColdSpring. Breaking their application is not the
right way though. I'm willing to take this conversation to the Model-Glue
list and hear what others have to say on the matter.


DW


On Mon, Mar 30, 2009 at 9:46 AM, Dennis Clark <[email protected]> wrote:

> Eeek! The config block is a Model-Glue 1.0 feature and is only supported in
> Model-Glue 2.0 for backwards compatibility.
>
> Dan, has support for config blocks been removed in Gesture, and if not will
> you consider doing so? IMHO the backwards compatibility is not worth the
> confusion it causes. I'd rather have a migration guide to show developers
> how to convert their old applications.
>
> -- Dennis
>
> On Mon, Mar 30, 2009 at 2:01 AM, Revolution Wines <
> [email protected]> wrote:
>
>>
>> I think I identified the cause of my problems.
>>
>> I was using some tutorials that used an older version of model glue
>> (pre ColdSpring).  The ModelGlue.xml file has this:
>>
>>        <config>
>>                <setting name="dsn" value="Logon" />
>>                <setting name="MailServer" value="smtp.gmail.com" />
>>                <setting name="MailUserName" value="websys" />
>>                <setting name="MailPasswd" value="password" />
>>                <setting name="MailTemplateDir"
>> value="/logon/Utils/EmailTemplates" /
>> >
>>        </config>
>>
>>
>> If I remove the config block my problems go away.  I'm not sure why
>> this causes the problem.
>>
>>

--~--~---------~--~----~------------~-------~--~----~
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