Hi Owen,

Yes I saw where you were coming from - your comment was conceptual
rather than syntactically defining !

cheers Dave

On Dec 5, 7:37 am, Owen <[email protected]> wrote:
> I was just throwing that out of the top...not trying to be "Real "
> hobo :-)
>
>   <preview-with-more with="&Recipe.recent(10)" />
>
> is a big step up....
>
> What I was trying to get at is that we need (and should strive for)
> further encapsulation so that a wider audience can be MORE productive,
> MORE quickly.
>
> Except for the limits of parsing technology, why even have the
> ampersand? Shouldn't preview-with=more know that you are referring to
> a model?
>
> Just my "devils-advocate' attitude.  I used tools int the 1980's that
> were less obtuse.  Now we have Ruby and we can't go up a level?
>
> I am talking from the point of view of a designer and team lead and
> coach, not a coder. Excuse my ranting. :-)
>
> -Owen
>
> On Dec 4, 3:06 pm, Matt Jones <[email protected]> wrote:
>
>
>
> > On Dec 3, 2009, at 9:21 PM, Owen wrote:
>
> > > ...however, I hope we get to the point that the 100 top "simple"
> > > things can be as easy as:
>
> > > <preview-with-more>
> > >   <model:Recipe/>
> > >   <count:10/>
> > > </preview-with-more>
>
> > > ..which will use the default cards, etc.
>
> > Not to burst your bubble or anything, but I don't see a syntax like  
> > this in the future; embedding Ruby in attributes is way more powerful  
> > and concise. The above in current Hobo would be:
>
> > <preview-with-more with="&Recipe.recent(10)" />
>
> > Besides, the XML-ish example above would clash nastily with the  
> > current use of the colon, so you'd end up with a syntax more like:
>
> > <preview-with-more>
> >    <model:>Recipe</model:>
> >    <count:>10</count:>
> > </preview-with-more>
>
> > I think that's even possible with the current syntax. On the other  
> > hand, if I wanted to write that much XML I'd go get a Java cert and do  
> > that instead... :)
>
> > --Matt Jones

--

You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.


Reply via email to