I found Doug Boude's blogs to be VERY helpful. Also, nodans has some
really good tutorials. Ray Camden has some good stuff but it's pretty
old now..... and above all absolutely learn about ORM and Transfer. It's
wicked cool and quick. This MG Google group is very good but the
Transfer group is unbelievable.
Doug Boude actually did a preso to a Kansas City CFUG where he went over
building a MG app, and that personally tied a lot of loose ends together
for me, especially regarding the MVC way of thinking.
Hope this helps,
Good luck!
Rich
What a great contribution Nando!
Thanks for sending that…Great alternative to the online docs..
Where I get confused (remember, I'm still a noob) and what would be
helpful is a list of all the available function/method calls labeled to
the view/model, and to the controller
(#arguments.event.getValue("firstname")# vs.
#viewstate.getValue("qEstimateList")#)... stuff like getAll() and
getAllValues().... I'm always getting those confused (where I'm able to
use them). Was hoping to not only generate some cool docs to help me
with this but maybe implement a psuedo schema or DTD or .mxp (yes, I'm a
Dreamweaver code guy but will use Eclipse from time to time....)
According to my schedule I should have time to do this, oh, I'd say, in
August. Of 2010. ;-) Seriously, thanks for your efforts, every thing
helps and keeps me productive and I'm super grateful for everything you
guys do!
Rich
Adam Tuttle wrote:
> Meaning the syntax for ModelGlue.xml?
>
> On Thu, Jun 26, 2008 at 10:23 AM, Nando <d.n...@gmail.com
> <mailto:d.n...@gmail.com>> wrote:
>
> That's great! ... On the topic of anal, do you want to add the XML
> language definitions as well? ;-)
>
>
> On Thu, Jun 26, 2008 at 4:13 PM, Adam Tuttle
> <j.adam...@gmail.com <mailto:j.adam...@gmail.com>> wrote:
>
> I have to agree with James -- That's a great contribution, and
> it's much appreciated!
>
> Because I'm super anal, I took a minute to format it to be a
> little more readable, and fit it onto two pages (I've printed
> it out as front and back on one page).
>
> I've posted it on my blog, here:
> http://tuttletree.com/nerdblog/?p=107
>
> Feedback is welcome and appreciated!
>
> Regards,
> Adam
>
> On Thu, Jun 26, 2008 at 6:16 AM, James Allen
> <sling...@googlemail.com
> <mailto:sling...@googlemail.com>> wrote:
>
> What a great contribution Nando!
>
>
>
> Thanks for sending that…Great alternative to the online docs..
>
>
>
> *From:* model...@googlegroups.com
> <mailto:model...@googlegroups.com>
> [mailto:model...@googlegroups.com
> <mailto:model...@googlegroups.com>] *On Behalf Of *Nando
> *Sent:* 25 June 2008 22:56
> *To:* model...@googlegroups.com
> <mailto:model...@googlegroups.com>
> *Subject:* Re: New to the 'Glue
>
>
>
> Find the API's in the MG documentation, print them out,
> keep them handy next to your keyboard. Once you're a
> little familiar with how it works through the Quickstart,
> the "cheatsheet" will be all you need to guide you. If
> attachments work to the list, here's mine to start with,
> although it's still missing the XML.
>
> On Wed, Jun 25, 2008 at 10:32 PM, codeGoddess
> <jillian...@gmail.com
Model Glue XML Reference
Where applicable, attribute values are set to their default value (highlighted in green). Required attributes are highlighted in yellow.
<modelglue>
<config><!-- config section is only for legacy code support -->
<setting name="someSetting" value="someValue"/>
</config>
<include template="Other.xml"/>
<controllers>
<controller name="myController" type="path.to.myController">
<message-listener message="needSomeData" function="getSomeData"/>
</controller>
</controllers>
<event-handlers>
<scaffold object="someTable" type="list,view,edit,commit,delete">
<broadcasts/>
<results/>
<views/>
</scaffold>
<event-handler name="someEvent">
<broadcasts>
<message name="needSomeData">
<argument name="foo" value="bar"/>
</message>
</broadcasts>
<results>
<result name="someResult" redirect="false" do="someOtherEvent"
append="someEventVar" preserveState="true" reset="false"/>
</results>
<views>
<include name="body" template="someEvent.cfm" append="false"/>
</views>
</event-handler>
</event-handlers>
</modelglue>