Hi, here are my initial questions and comments regarding Symfony2.

They have been written over a period of about a week as I evaluated if
I wanted to try to use Symfony2 for a rewrite of an application I got.
The comments are not prioritized and not perfectly organized.

1. Deployment.
Are you planning a .phar deployment solution where the src directory
gets bundled up as a .phar file and distributed to the server? Have
you though through the different deploments scenarios for bundles?

When looking at the directorystructure (i.e. web, src, <appname> ), it
seems to me that I will usually want one maybe two apps linked in the
same area - and be able to manage the dependencies of those apps
together without messing with the dependencies of other applications.
Thus you will usually have one toplevel directory for each
application, and in production the web directory will be moved outside
the toplevel directory.

How do you plan to handle images and javascripts packaged with
bundles?

2. Filters
A killer feature I miss is the old filters framework for requests.
Should events be used in the future?

3. Names
The console command should start with a letter that no other directory
in the same directory starts with. I.e. not console and config as that
would reduce the number of redundant hits to tab.

Also, I find the separation of templates into Resources/views a bit
strange. Templates are a very important part of every webapplication
and should be easier to find- I.e. they should have a toplevel
directory in a bundle.

5. Routing.
How does a bundles routing fit within the routing of a complete
system?

As I understand it, each bundle may be routed to a suburl where it
then has complete control over the namespace, but also that you can
route a single uri into a bundle. Is this essentially the idea?
i
(this seems to be mainly due to missing documentation).

Something I would like is a simple page stating the directory layout
of a single application for quick lookup.

6. Status of the security features.
symfony has a nice and ready security system based on credentials.
Will this system be used, or are you planning something new?

Has development of sfGuard for 2.0 started?

When do you think the first version of the admin generator will show
up?

7. Bundles
I like the concept of bundles and how they work, but one thing I found
confusing when reading through the documentation and the examples is
the difference between a bundle in src\Bundle and src\Application. The
difference should be explained somewhere.

Another thing I think you'll want is a tool for creating / working
with bundles and applications that is outside the application
directory( i.e. a bit like mvn).

Versioning of bundles is also something I think you'll want to add
already now. Also a way to declare dependencies.

8. Forms
One thing I see the form framework has addressed is grouping of
fields. What I still miss is simple widgets for adding html around a
set of elements or just at a point in the form.

Also I would like to see an easier way to manipulate the generated
markup when you got embedded forms.

The forms framework is the part I have looked only sparingly at so the
comments are partly based on the 1.4 version and the weaknesses that I
have seen there.

I'm looking forward to the next versions of Symfony2, I think it is
shaping up to be something special! Just wish annotations were a part
of normal PHP so we didn't have to use comments :)

Kind regards
Tarjei

-- 
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 [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