Again, please read the manual: http://www.symfony-project.org/book/1_1/17-Extending-Symfony#How to Write a Plug-In You can also learn from example by having a look at the many plugins that already exist.
On 7/12/08, Bit Byter <[EMAIL PROTECTED]> wrote: > > Hi, > > I first came accross symfony about two months ago. I was very > impressed at what it could do. However, I still have not managed to > get my head around all the file directories, YAML files, plugins, > helpers etc. I am suprised (i.e. dissapointed) at how long it is > taking me to get used to the framework - especially, since I am a > software engineer, and have been coding C/C++, Java for several years, > (not to mention a few other languages). > > There just seems to be so much information - most of which, seems > counterintuitive. Anyway, I know it is a great framework, and I want > to build all of my future websites using Symfony. I want to start by > writing plugins - so I can wrap up some PHP code libraries I have > written. The available documenation seems far to verbose - and I what > would really be useful for time pressed, streesed out people with a > programming background like me would be a kind of "Symfony in a > Nutshell". > > Anyway, thats not what I wanted to post about (but I needed to get > that of my chest). I want to learn how to write plugins. Ideally, > there would be a "hello world" type plugin that I would take a look > at, dissect and then be able to extend. I had a look at: > > > http://trac.symfony-project.org/wiki/SymfonyPlugins#Howtocreateandcontributeasymfonyplugin > > and most of the links are dead - only the Helper plugin (which is not > what I want), is available. > > Basically, I would be very grateful if someone laid out the OUTLINE > (i.e. major steps) involved in developing a plugin. > > It would ideally be something like this: > > Step1: Develop your Database schema in YML > Step2: Build your ORM objects using Propel > Step3: Define your modules > Step4: ..... > etc. > > There is one thing that I have been really struggling with, and would > appreciate help on : > > 1). I have a very rich user model, which comprises of user related > data stored accross several tables. also my user table has many fields > that are not in the user table provided by the sfAuthGuard plugin. I > would like to use the Authentation mechanism provided by the > sfAuthGuard plugin, but I am not sure how to integrate my (more > complicated) user tables with the sfGuardPlugins minimalistic user > table. I would appreciate any help on how I may do this. > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
