Re: [symfony-users] Symfony2 comments and questions

2010-07-12 Thread Bernhard Schussek
2010/7/11 Tarjei tar...@scanmine.com:
 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.

The purpose of the form framework is not to generate the HTML for the
whole form, but just for single fields. You write the HTML in your
template.

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

As above, you write the HTML. You have all the power that you want.

Bernhard

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


Re: [symfony-users] Symfony2 comments and questions

2010-07-12 Thread Fabien Potencier

On 7/11/10 1:17 PM, Tarjei wrote:

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


Wow, that's a lot of feedback! Thank you very much. My answers below..


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?


Possibly. Packaging and distribution is something we will take care of 
late in the Symfony2 timeline as this orthogonal to everything else.



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


There is a command to install them under the web/ root directory.


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


Yep, we have events now. There are more flexible.


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.


Any idea?


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.


The reasonning behind this decision is to put all non-classes into one 
directory (the Resources/ directory). It contains templates, config 
files, assets, ...



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?


Correct


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?


We will of course have something... probably for Symfony2 PR3... but I'm 
getting ahead of myself here ;)




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


Not planned yet as we need everything else before even thinking about it.


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.


src\Bundle is for generic bundles not related to the application (think 
third-party bundles)


src\Application is for bundles tied to the application (they cannot be 
reused)



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).


That's possible. You can host bundles anywhere you want (just change the 
getBundleDirs() in your kernel so that Symfony2 can find them).



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


That's part of the distribution process as you don't want to check 
dependencies at runtime. So, that's something that we will work on after 
the first beta.


Fabien

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


[symfony-users] Symfony2 comments and questions

2010-07-11 Thread Tarjei
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 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


Re: [symfony-users] Symfony2 comments and questions

2010-07-11 Thread Alan Bem
+1 on GuardBundle/SecurityBundle :)

On Sun, Jul 11, 2010 at 1:17 PM, Tarjei tar...@scanmine.com wrote:

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


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


Re: [symfony-users] Symfony2 comments and questions

2010-07-11 Thread Richard D Shank


On 07/11/2010 06:53 AM, Alan Bem wrote:

+1 on GuardBundle/SecurityBundle :)
\
There is a version started already 
http://symfony2bundles.org/knplabs/DoctrineUserBundle


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


Re: [symfony-users] Symfony2 comments and questions

2010-07-11 Thread Alan Bem
I am aware of that bundle, and I like
http://github.com/pminnieur/SecurityBundle better - it's more transparent
and decoupled from Doctrine2.

What I'm waiting for is some kind of official line about security bundle.

On Sun, Jul 11, 2010 at 4:24 PM, Richard D Shank deve...@zestic.com wrote:


 On 07/11/2010 06:53 AM, Alan Bem wrote:

 +1 on GuardBundle/SecurityBundle :)
 \

 There is a version started already
 http://symfony2bundles.org/knplabs/DoctrineUserBundle

  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


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