I would prefer saying "uses of YAML in Symfony" (or how symfony makes use of
yaml -adding why -talking of benefits in a KISS approach ? -vs strictness of
semantic and syntax of xmi/xml/emf for example)?
And explains that it is a "supported" representation of data used for :
configuring framework system-wide, project-wide, app-wide, module-wide, and
so on,
used for describing data-model to generate ORM classes and other forms,
validators, migrations, and so on; that it is not validated against a
meta-model for semantics (this have to be done by code using a yaml file),
rather for syntax (yaml is a syntax to express semantic, semantic that is
"outside" of the scope of yaml, imho), and so on.

Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Sat, Nov 28, 2009 at 5:11 PM, mini_alexander <[email protected]> wrote:

> But we can also configure Symfony using YAML and include javascript
> etc. - so model rather not. I think I will create special section for
> YAML - section with name 'Configuration'. Good idea ?
>
>
> On 28 Lis, 16:23, gato chlr <[email protected]> wrote:
> > In symfony, it is a tool that help us to generate our model classes, so,
> if
> > it is needed , i put YAML inside the model section. In the model section
> you
> > can explain in the apendix a bit about YAML and then explain the purpose
> of
> > its use. Of course, don't forget that there is another ways to define you
> > model in with Symfony.
> >
> > 2009/11/28 Lee Bolding <[email protected]>
> >
> >
> >
> > > YAML is a representation of a simple data structure used mostly for
> > > configuration purposes. I wouldn't class it as part of MVC at all - the
> same
> > > as I wouldn't XML or JSON.
> >
> > > However, as it's a representation of data, the closest fit would be a
> model
> >
> > > On 28 Nov 2009, at 09:14, mini_alexander wrote:
> >
> > > > I must write something about YAML in Symfony. To which group should I
> > > > classify YAML: model, view or controller ? I think about view or
> > > > controller or maybe both ?
> >
> > > > --
> >
> > > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > [email protected]<symfony-users%[email protected]>
> <symfony-users%2bunsubscr...@goog legroups.com>
> > > .
> > > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<symfony-users%[email protected]>
> <symfony-users%2bunsubscr...@goog legroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

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


Reply via email to