Le 31/12/2010 05:09, chesteroni a écrit :
Hello!
I just started my adventure with Symfony and I chose sf2. I managed to
run sanbox, DBAL connection too.
And I got stuck when it came to do db-based user auth. So I can
suggest you to make sandbox example more complex, e.g. like Zend
Framework one. I really would like some Doctrine usage examples,
especially for authentication.
Did you look at http://docs.symfony-reloaded.org/master/index.html ? It
describes the basic use of Doctrine in a Sf2 project. And then, the
Doctrine official can help (notice that all Doctrine2 annotation have to
be prefixed with @orm: with Sf2 which is not the case when using
Doctrine2 alone).
If you wan to use authentication from your database you can also look at
https://github.com/FriendsOfSymfony/UserBundle which implements it.
Also I've noticed that Doctrine guide mentions 'migrations' but
SF2:PR4 console app does not work with migrations.
The console works with Migrations if you enable the
DoctrineMigrationsBundle (which is in the core) in your AppKernel.
Since I'm totally new to Symfony (but not to PHP - few years of
experience) I can provide some useful information for the dev team
about important missing features in SF2 :-)
Best Regards,
chesteroni
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en