regarding your question how to organize your model classes:
You can add subfolders to the Entity folder, and then simply follow this structure in the namespace definition, for example:
<?php namespace Acme\SampleBundle\Entity\Subfolder\EntityClass
regarding your question, work without a form: simple, just do not use it. your classes will behave like "normal" classes.
But for this you will need some kind of interface, for example EntityManager in Doctrine2.
I always prefer to use ORM / ODM ..
In this case, I just add a simple method to the entity class:
<?php public function sendByEmail() {
You do not need to save permanently (save to DB). Note that in symfony1.4 there was a save()
method for entities. In Symfony2, material is saved through $entityManager->persist($entity);
source share