Hi all,
i'm still in the learning process of symfony 2. For my learning
procedure i started to develop a small Blog application which should
include some basic articles,comments and admin interface and so on.
I'm not finished yet to read the whole symfony 2 book but read already
the chapter about bundles and some other stuff.

My main problem is now how to organize my src code in symfony 2 in a
bundle?

I will use for my description the article and comment behaviour. So
they have a one to many relation and i start to build my Articles. So
i put the under this folder structure:
/src
  /Blog
     /ArticleBundle

There i have my normal controller folder and so on. When I'm done with
the Articles i want to add the Comments for this Article. Now where
should i put the Code? Shoul i create a new Bundle called
CommentBundle?
/src
  /Blog
    /CommentBundle

or is it possible / is it the better way to put the src under this
structure
/src
  /Blog
    /Controller
      ->ArticleController.php
      ->CommentController.php
   /views
     /Article
     /Comment

What is the more convenient way?

Thanks in advance and kind regards


G.P

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to