[symfony-users] Re: symfony Day Cologne 2010

2010-09-23 Thread Dennis Benkert
Hi,

as mentioned on PHPDeveloper we have set up a discount for 50 tickets. For
more information check out http://phpdeveloper.org/news/15178.

See you in Cologne,
Dennis

2010/8/25 Dennis Benkert 

> Hi,
>
> this year we are organizing a symfony Day again here in Cologne,
> Germany on 8th October. As last year the conference will be one day
> long with a sessions and a workshop track. Speakers for this year will
> be Fabien Potencier, Jonathan Wage, Kris Wallsmith, Pierre Joye,
> Christian Schaefer and Gaylord Aulke. As last year Stefan Koopmanschap
> will lead the workshop track.
>
> The early bird period ends next Tuesday (31. August). So if you want
> to get your ticket for lower price be sure to get them as soon as
> possible!
>
> If you want to get a ticket or need more information check out our
> website www.symfonyday.com.
>
> Hope to see you there,
> Dennis
>

-- 
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]: Some questions about console and bundles

2010-08-31 Thread Dennis Benkert
I should have guessed to take a look the the symfony-docs repository...

Thanks a lot!

2010/8/31 Fabien Potencier 

> On 8/31/10 2:21 PM, Dennis Benkert wrote:
>
>>You only need one application per "project". The CLI will probably
>>change a lot (as we will probably have a .phar tool to boostrap a
>>project independently of having Symfony installed somewhere on your
>>machine). But, for now, you never need to execute the
>>init:application command (as you should use the sandbox to get
>> started).
>>
>>
>> So, taking a look into the glass ball there will be a change in how to
>> handle frontends and backends in Symfony2 and also in the defintion of
>> application? If so, are there any information already? :)
>>
>
> You might want to read the following documents:
>
> http://github.com/symfony/symfony-docs/blob/PR3/guides/symfony1.rst
>
>
> http://github.com/symfony/symfony-docs/commit/58dacfb8be50c58ba29c9ffb312f898676b7da5d
>
> 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
>

-- 
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]: Some questions about console and bundles

2010-08-31 Thread Dennis Benkert
2010/8/31 Fabien Potencier 

> On 8/31/10 8:11 AM, Dennis Benkert wrote:
>
>> Hi,
>>
>> during the last days I again had the chance to take a look at Symfony2
>> again. After some search through the mailing list and the
>> documentation I have some questions that came to my mind and the
>> answers may be helpful for others, too.
>>
>> The console script is always located in a specific application folder
>> (e.g. hello/console or myApplication/console). Although I know that
>> this makes perfectly sense for commands related to a specific
>> application I wonder if it wouldn't be helpfull to have a console
>> script placed in the base directory of your application. This may
>> handle some global commands (like initiating a bundle or application).
>> For me it felt a bit odd to create an application with a console
>> command based in another application (like "php hello/console
>> init:application ..."). So my question is: Will there be a global
>> console script in the future?
>>
>
> You only need one application per "project". The CLI will probably change a
> lot (as we will probably have a .phar tool to boostrap a project
> independently of having Symfony installed somewhere on your machine). But,
> for now, you never need to execute the init:application command (as you
> should use the sandbox to get started).


So, taking a look into the glass ball there will be a change in how to
handle frontends and backends in Symfony2 and also in the defintion of
application? If so, are there any information already? :)


>
>
>  As it shows to me now model related classes (like Doctrine Entities,
>> API Model Classes, etc.) are now somewhat "bound" to a bundle. This
>> would in fact mean that there is no global "model" namespace (I know
>> we had no namespaces in symfony 1.x. I use namespace here just to make
>> things easier) where model code resides but instead you will always
>> relate a model to some bundle. Is this correct?
>>
>
> Correct, everything should be in a bundle.


Ok, sounds cool. One thing that just came to my mind is when you have two
bundles that both define a Doctrine Entity with the same name (which may be
the case with third party bundles having the same entity as one of your
application bundles). In PHP I think there will be no conflicts since we
have namespaces but for the tables that get created in your RDBMS
correpsonding to the Entities one has to take care about table name
confliects, right? (Maybe it's just too early to think about things like
this or I'm just plain wrong...)


>
>  If you're creating a third party bundle (e.g. in a namespace like
>> Bundle\MyCompany\MyProductBundle) you will of course provide a
>> Resources folder that would contain view files. Let's say I would copy
>> this third party bundle to my new project and wanted to overwrite the
>> view files to customize them for my design. How would I be able to do
>> this? Can I somehow "overwrite" the view files by creating a bundle
>> with the same name in my project's Application namespace?
>>
>
> You can override the templates in the "global" views/ directory (under the
> app/ directory) or by creating an application\MyCompany\MyProductBundle
> bundle. It depends on what you are trying to do, but both should work.
>
> Fabien
>
>  Cheers, Dennis
>>
>>
> --
> 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
>

-- 
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]: Some questions about console and bundles

2010-08-30 Thread Dennis Benkert
Hi,

during the last days I again had the chance to take a look at Symfony2
again. After some search through the mailing list and the
documentation I have some questions that came to my mind and the
answers may be helpful for others, too.

The console script is always located in a specific application folder
(e.g. hello/console or myApplication/console). Although I know that
this makes perfectly sense for commands related to a specific
application I wonder if it wouldn't be helpfull to have a console
script placed in the base directory of your application. This may
handle some global commands (like initiating a bundle or application).
For me it felt a bit odd to create an application with a console
command based in another application (like "php hello/console
init:application ..."). So my question is: Will there be a global
console script in the future?

As it shows to me now model related classes (like Doctrine Entities,
API Model Classes, etc.) are now somewhat "bound" to a bundle. This
would in fact mean that there is no global "model" namespace (I know
we had no namespaces in symfony 1.x. I use namespace here just to make
things easier) where model code resides but instead you will always
relate a model to some bundle. Is this correct?

If you're creating a third party bundle (e.g. in a namespace like
Bundle\MyCompany\MyProductBundle) you will of course provide a
Resources folder that would contain view files. Let's say I would copy
this third party bundle to my new project and wanted to overwrite the
view files to customize them for my design. How would I be able to do
this? Can I somehow "overwrite" the view files by creating a bundle
with the same name in my project's Application namespace?

Cheers, Dennis

-- 
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] symfony Day Cologne 2010

2010-08-25 Thread Dennis Benkert
Hi,

this year we are organizing a symfony Day again here in Cologne,
Germany on 8th October. As last year the conference will be one day
long with a sessions and a workshop track. Speakers for this year will
be Fabien Potencier, Jonathan Wage, Kris Wallsmith, Pierre Joye,
Christian Schaefer and Gaylord Aulke. As last year Stefan Koopmanschap
will lead the workshop track.

The early bird period ends next Tuesday (31. August). So if you want
to get your ticket for lower price be sure to get them as soon as
possible!

If you want to get a ticket or need more information check out our
website www.symfonyday.com.

Hope to see you there,
Dennis

-- 
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] Some doubts

2010-04-13 Thread Dennis Benkert
Hi

> 1- Why in symfony all the HTML elements like inputs, selects etc
> should be created using php rendering? dont understand what are the
> benefits of this, i mean, instead of using 
> i must create a form class, then create inside this class all the
> widgets that the form will use, and finally render all that widgets in
> the view template.

For me it's mostly because you don't have to care about the rendering.
Also the form object then knows about it's fields and can do things
like validation, etc. And the best thing about forms imho is that you
have an abstraction so that forms can have their own "business logic".
This way forms can handle complex logic which otherwise had be coded
somewhere in your controller or your model.

> but never explain how can i extract all the fields of the form using
> the "contact" array for example in the index action, i tryed lots of
> ways($request->getParameter('contact')[0] or $request-
>>getParameter('contact')->get('email') or $request-
>>getParameter('contact[email]')) any idea how can i get this fields?

You can access the values entered into form fields like the following:

$contact = $request->getParameter('contact');

echo $contact['fooField'];

> 3- I'm integrating Mootools javascript framework with my test app.
> Until now everything goes fine except the ajax part, i have searched
> about symfony=mootools=jax withoot any luck. I already make the ajax
> call, and it gets to the server side just well, but the response is
> not well maybe i need to implemete a js template but not sure how to
> do using mootools. I saw some examples using jquery but it is not the
> same. Any idea?

Sorry, I have no experience using mootools. :(

> 4- Sometimes i need to see what are the values of some variables, how
> can i just use a print_r(), or an echo or something to see its
> contents?

What do you mean with values? Do you mean form values? If so you can
access them like the following, after your form is bound and valid:

$fooFieldValue = $form->getValue('fooField');
$allValues = $form->getValues();

- Dennis


2010/4/13 fRAnKEnSTEin :
> hi,
>
> I'm new in symfony, and i have some doubts about "forms" creation, by
> the way, i have been following this tutorial:
> http://www.symfony-project.org/forms/1_4/en/01-Form-Creation
>
> 1- Why in symfony all the HTML elements like inputs, selects etc
> should be created using php rendering? dont understand what are the
> benefits of this, i mean, instead of using 
> i must create a form class, then create inside this class all the
> widgets that the form will use, and finally render all that widgets in
> the view template.
>
> 2-In the tutorial section "Listing 1-6" they use this line:
>
> $this->widgetSchema->setNameFormat('contact[%s]');
>
> but never explain how can i extract all the fields of the form using
> the "contact" array for example in the index action, i tryed lots of
> ways($request->getParameter('contact')[0] or $request-
>>getParameter('contact')->get('email') or $request-
>>getParameter('contact[email]')) any idea how can i get this fields?
>
> 3- I'm integrating Mootools javascript framework with my test app.
> Until now everything goes fine except the ajax part, i have searched
> about symfony=mootools=jax withoot any luck. I already make the ajax
> call, and it gets to the server side just well, but the response is
> not well maybe i need to implemete a js template but not sure how to
> do using mootools. I saw some examples using jquery but it is not the
> same. Any idea?
>
> 4- Sometimes i need to see what are the values of some variables, how
> can i just use a print_r(), or an echo or something to see its
> contents?
>
> Any idea will be apreciated
>
> cheers
>
> --
> 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
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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] Re: Please Help! Stable version of Symphony in 2009

2010-04-13 Thread Dennis Benkert
Hi,

you can get the dates out from trac.

http://trac.symfony-project.org/browser/tags

- Dennis

2010/4/13 User :
> Thank you for the information, but do you know the dates in which the
> three versions actually became stable frameworks?
>
> On Apr 12, 12:28 am, Gábor Fási  wrote:
>> If you mean Symphony, the CMS, check their site:http://symphony-cms.com/
>> If you mean symfony, the PHP framework, there were three stable major 
>> versions:
>>
>>  - 1.0 (support ended in January 2010)
>>  - 1.1 (support ended in June 2009)
>>  - 1.2 (released in December 2008, support ended in November 2009)
>>
>> All three had multiple minor, maintenance releases in that period. You
>> can still access every single version via 
>> svn:http://svn.symfony-project.org/tags/
>>
>>
>>
>> On Mon, Apr 12, 2010 at 00:28, User  wrote:
>> > I need to know what ws the most stable version of Symphony Between
>> > January and June of 2009.  If there were multiple versions stable
>> > during this time, what date (month) did they become stable?  Please
>> > help!  If you can tell me where I can find this information in
>> > writing, I would appreciate that too.
>>
>> > Thank you
>>
>> > --
>> > 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
>>
>> > To unsubscribe, reply using "remove me" as the subject.
>
> --
> 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
>

-- 
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] Re: memory leaks... just keep on leaking

2010-04-12 Thread Dennis Benkert
vSplit());
>>                                                                 
>> $c->add(DailyStatsTempPeer::COMPANY, $account->getCompany());
>>                                                                 
>> $c->add(DailyStatsTempPeer::ACCOUNT_ID, $account->getId());
>>                                                        } else {
>>                                                                 
>> $sfLogger->err("{".basename(__file__)."} Account not found
>> for Park: {$c->getValue(DailyStatsTempPeer::AFF_NAME)}
>>                                                                 
>> Account:{$c->getValue(DailyStatsTempPeer::AFF_USER)} on row
>> $row_number");
>>                                                                 throw new 
>> Exception('Account not found for
>> Park:'.$c->getValue(DailyStatsTempPeer::AFF_NAME).',
>>                                                                 
>> Account:'.$c->getValue(DailyStatsTempPeer::AFF_USER).' on row
>> '.$row_number);
>>                                                        }
>>                                                        // ~ Set additional 
>> colums data recently added
>>                                                        if 
>> (isset($domains_re_indexed[$batch_options['domain']])) {
>>                                                                 $domain = 
>> $domains_re_indexed[$batch_options['domain']];
>>                                                                 
>> $c->add(DailyStatsTempPeer::DOMAIN_ID, $domain['domain_id']);
>>                                                                 
>> $c->add(DailyStatsTempPeer::DEAL_ID, $domain['deal_id']);
>>                                                        }
>>
>>                                                        if 
>> ($batch_options['date'] == '1970-01-01' ||
>> $batch_options['date'] == '1969-12-31') {
>>                                                         
>> $sfLogger->err("{".basename(__file__)."} Invalid date format:
>> {$batch_options['date']} on row $row_number");
>>                                                         throw new 
>> Exception('Please change date format in excel file
>> to dd/mm/');
>>                                                        }
>>
>>                                                        
>> $checkIfRecordExistsCriteria = new Criteria();
>>                                                        
>> $checkIfRecordExistsCriteria->add($c->getCriterion(DailyStatsTempPeer::STAT_DATE));
>>                                                        
>> $checkIfRecordExistsCriteria->add($c->getCriterion(DailyStatsTempPeer::DN));
>>                                                        
>> $checkIfRecordExistsCriteria->add($c->getCriterion(DailyStatsTempPeer::AFF_NAME));
>>                                                        
>> $checkIfRecordExistsCriteria->add($c->getCriterion(DailyStatsTempPeer::AFF_USER));
>>
>>                                                        // Set the daily stat 
>> entree information to be used for logging
>>                                                        
>> $daily_stat_record_info =
>> DailyStatsTempPeer::DN.":".$c->getValue(DailyStatsTempPeer::DN).", ".
>>                                                        
>> DailyStatsTempPeer::AFF_NAME.":".$c->getValue(DailyStatsTempPeer::AFF_NAME).",
>> ".
>>                                                        
>> DailyStatsTempPeer::AFF_USER.":".$c->getValue(DailyStatsTempPeer::AFF_USER).",
>> ".
>>                                                        
>> DailyStatsTempPeer::STAT_DATE.":".$c->getValue(DailyStatsTempPeer::STAT_DATE)."
>> Row: $row_number";
>>
>>                                                        $affected_rows =
>> DailyStatsTempPeer::doDelete($checkIfRecordExistsCriteria,
>> $connection_stats);
>>                                                        
>> DailyStatsTempPeer::doInsert($c, $connection_stats);
>>
>>                                                        if ($affected_rows) {
>>                                                                
>> $this->count_updated_records++;
>>                                  

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Dennis Benkert
So, how big are these CSV files? How many lines are you processing and
can you tell us how many entries you're inserting to your DB using
Propel?

It would be best if you could show us the code that implements what
you described in your last mail. Investing maybe 30 minutes to write
an email that desribes the problem you have, what part of your code
suffers from it and the data you're using will most likely keep you
away from writing 5 or more emails desribing everything. Plus it will
stop me asking stupid questions because I have to digg into your
problem this way. :)

- Dennis

2010/4/12 Richard U :
> I am uploading a csv file..
> i require looping over each row... the data in each column has to be
> processed individually and allocated to the right table...
>
>
>
>
> On Mon, Apr 12, 2010 at 3:56 PM, Dennis Benkert
>  wrote:
>> Although I am pretty sure you are frustrated there is no reason to show
>> disrespect to other people.
>>
>> Christian's point is that we cannot help you without getting some
>> information about your specific problem. Maybe you can provide some code
>> sample that show us  your memory problems. Also it's interesting to know
>> what you want to do with the code (are you inserting thousands of entries,
>> looping over many entries and saving them again, etc.).
>>
>> - Dennis
>>
>> Am 12.04.2010 um 07:41 schrieb Slavka :
>>
>>> Christian have you just started using symfony? if not then i am sure
>>> you are aware of the memory leaks i am talking about...
>>>
>>> Cheers
>>>
>>> On Apr 12, 3:30 pm, Christian Schaefer  wrote:
>>>>
>>>> Hi Slavka,
>>>>
>>>> from your tiny description it is not clear whether the leak you
>>>> experience is a result of Propel or symfony or your usage of them.
>>>>
>>>> You should know that symfony 1.2 is no longer supported but replaced
>>>> by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
>>>> is still supported.
>>>>
>>>> But most importantly: you posted a complaint rather than a question.
>>>> This might work with a licenced software from some company but with an
>>>> open source community a certain netiquette should apply.
>>>>
>>>> Cheers
>>>> /Christian
>>>>
>>>> On 12 Apr., 05:51, Slavka  wrote:
>>>>
>>>>
>>>>
>>>>> It seems to be pretty clear the symfony 1.2 and propel are still full
>>>>> of memory leaks... I have a simple for loop selecting the same object
>>>>> into the same variable... in theory this should not lead to increase
>>>>> memory use for every loop however that is what is happening...
>>>>
>>>>> Has anyone every looked into this... if so what are options to handle
>>>>> the leaks... , if there is no solution we are going to have to
>>>>> consider just using mysql functions...
>>>>
>>>>> Regards
>>>
>>> --
>>> 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
>>>
>>> To unsubscribe, reply using "remove me" as the subject.
>>
>> --
>> 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
>>
>
> --
> 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
>

-- 
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] Re: memory leaks... just keep on leaking

2010-04-11 Thread Dennis Benkert
Although I am pretty sure you are frustrated there is no reason to  
show disrespect to other people.


Christian's point is that we cannot help you without getting some  
information about your specific problem. Maybe you can provide some  
code sample that show us  your memory problems. Also it's interesting  
to know what you want to do with the code (are you inserting thousands  
of entries, looping over many entries and saving them again, etc.).


- Dennis

Am 12.04.2010 um 07:41 schrieb Slavka :


Christian have you just started using symfony? if not then i am sure
you are aware of the memory leaks i am talking about...

Cheers

On Apr 12, 3:30 pm, Christian Schaefer  wrote:

Hi Slavka,

from your tiny description it is not clear whether the leak you
experience is a result of Propel or symfony or your usage of them.

You should know that symfony 1.2 is no longer supported but replaced
by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
is still supported.

But most importantly: you posted a complaint rather than a question.
This might work with a licenced software from some company but with  
an

open source community a certain netiquette should apply.

Cheers
/Christian

On 12 Apr., 05:51, Slavka  wrote:



It seems to be pretty clear the symfony 1.2 and propel are still  
full
of memory leaks... I have a simple for loop selecting the same  
object

into the same variable... in theory this should not lead to increase
memory use for every loop however that is what is happening...


Has anyone every looked into this... if so what are options to  
handle

the leaks... , if there is no solution we are going to have to
consider just using mysql functions...



Regards


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

To unsubscribe, reply using "remove me" as the subject.


--
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] Fabien's Symfony 2 presentation now available as a video

2010-02-22 Thread Dennis Benkert
Thanks for uploading it!

2010/2/22 Ben Haines :
> Sorry for the delay in getting this up. HD (720p) uploads to Vimeo.com
> kept failing. So here is a lower resolution version.
>
> Enjoy and of course thanks to all Symfony devs and sflive2010
> organisers!
>
> http://www.vimeo.com/9636197
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] /lib/vendor

2010-02-21 Thread Dennis Benkert
Hi Thierry,

you can change the file structure (as described here:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/22#chapter_22_customizing_the_directory_structure)
_but_ I would not recommend it. Especially when you start using
symfony I would recommend sticking to the default structure.

- Dennis

2010/2/20 Thierry Boulanger :
> Hello Symfonians friends,
> I'm a really really beginner. In the "Pracatical Symfony" is mentionned that
> we have to create these directories /lib/vendor.
> Could we call these directories with other names?
> same questions for sfprojects
>
> mkdir -p lib/vendor
> mkdir -p /home/sfprojects/jobeet
>
> Thanks everyone
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] Re: sflive2010 Symfony Core Dev Q&A session

2010-02-18 Thread Dennis Benkert
Great, thanks!

- Dennis

2010/2/17 Ben Haines :
> Absolutely... as I get to upload them. Unfortunately power is scarce a
> the conference and handbrake doesn't run that fast on my Mac ;)
>
> I'll have uploaded them all by the end of the week.
>
> On 17 Feb, 14:56, Dennis Benkert  wrote:
>> This is great, thanks very much for sharing this!
>>
>> Will you provide more of them in the days?
>>
>> - Dennis
>>
>> 2010/2/17 Ben Haines :
>>
>> > After Stefan Koopmanschap's talk about community on Saturday at
>> > sflive2010 I feel compelled to give something back ;)
>>
>> > So here is the Symfony Core Dev Team in HD ;) Enjoy!
>>
>> >http://www.vimeo.com/user1491208/videos
>>
>> > Ben
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "symfony users" group.
>> > To post to this group, send email to symfony-us...@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > symfony-users+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/symfony-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] sflive2010 Symfony Core Dev Q&A session

2010-02-17 Thread Dennis Benkert
This is great, thanks very much for sharing this!

Will you provide more of them in the days?

- Dennis

2010/2/17 Ben Haines :
> After Stefan Koopmanschap's talk about community on Saturday at
> sflive2010 I feel compelled to give something back ;)
>
> So here is the Symfony Core Dev Team in HD ;) Enjoy!
>
> http://www.vimeo.com/user1491208/videos
>
> Ben
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] CSRF Attacks

2009-12-10 Thread Dennis Benkert
This also works with symfony 1.2 :)

Am 11.12.2009 um 08:41 schrieb Alexandru-Emil Lupu  
:

> if you are using sf > 1.2 then you just need to set that  
> csrf_secret ...
>
> On Fri, Dec 11, 2009 at 9:38 AM, DEEPAK BHATIA  > wrote:
>> Hi,
>>
>> In the symfony guide, it is given that
>>
>> all:
>>   .settings:
>> # Form security secret (CSRF protection)
>> csrf_secret:   false # Unique secret to enable CSRF  
>> protection
>> or false to disable
>> # Output escaping settings
>> escaping_strategy:  true# Determines how  
>> variables are
>> made available to templates. Accepted values: on, off.
>> escaping_method:ESC_SPECIALCHARS # Function or helper  
>> used for
>> escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS,
>> ESC_JS_NO_ENTITIES, and ESC_SPECIALCHARS.
>>
>> ==Question
>>
>> 1. Do I need to install the CSRF plugin or I can simply set the  
>> csrf -
>> unique secret in settings.yml ?
>>
>> Thanks
>>
>> Deepak Bhatia
>>
>> On Fri, Dec 11, 2009 at 12:36 PM, Alexandru-Emil Lupu > >
>> wrote:
>>>
>>> By implementing functional tests? Maybe?!
>>>
>>> Sent via HTC magic
>>>
>>> On Dec 11, 2009 8:51 AM, "DEEPAK BHATIA"   
>>> wrote:
>>>
>>> Hi,
>>>
>>> We have a plugin to solve the problem of CSRF in Symfony.
>>>
>>> http://www.symfony-project.org/plugins/sfCSRFPlugin
>>>
>>> How can I check whether this is implemented correctly ?
>>>
>>> Regards
>>>
>>> Deepak Bhatia
>>>
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google  
>>> Groups
>>> "symfony users" group.
>>> To post to this group, send email to symfony-us...@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.
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google  
>>> Groups
>>> "symfony users" group.
>>> To post to this group, send email to symfony-us...@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.
>>
>> --
>>
>> You received this message because you are subscribed to the Google  
>> Groups
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@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.
>>
>
>
>
> -- 
> Have a nice day!
> Alecs
>
> As programmers create bigger & better idiot proof programs, so the
> universe creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter: http://twitter.com/alecslupu
> I am on linkedIn: http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "symfony users" group.
> To post to this group, send email to symfony-us...@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 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] Doctrine release in Symfony

2009-11-25 Thread Dennis Benkert
Take a look at the Doctrine.php file based in the lib/vendor/symfony/ 
plugins/sfDoctrinePlugin folders.

It holds the doctrine version as class constant iirc.

- Dennis

Am 25.11.2009 um 18:41 schrieb tirengarfio :

> Hi,
>
> is there any way to see what is my Doctrine release in Symfony?
>
> Bye
>
> Javi
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "symfony users" group.
> To post to this group, send email to symfony-us...@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 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] Will there be a social event at symfony live 2010?

2009-10-12 Thread Dennis Benkert

Hi everybody,

I just wanted to ask if there are any plans for doing a social event
at symfony live 2010? If not, maybe it would be possible to organize
one.

greetings, Dennis

--~--~-~--~~~---~--~~
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] Re: difference between 'new' and 'create' methods generated by sfDoctrineRouteCollection

2009-10-07 Thread Dennis Benkert

Exactly. :)

- Dennis

Am 08.10.2009 um 03:57 schrieb Eno :

>
> On Wed, 7 Oct 2009, Ashok wrote:
>
>> What is the main difference between 'new' and 'create' methods
>> generated by sfDoctrineRouteCollection? Where and when should I use
>> one of the other? Explanation with an example would be great. Thanks
>
> Im guessing that one is to display the "new" form and one is to  
> process
> that form when it is submitted.
>
>
> -- 
>
>
>
> >

--~--~-~--~~~---~--~~
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] symfony Usergroup Cologne

2009-10-05 Thread Dennis Benkert

Hey everyone,

for all those who haven't read it on the community list yet. I have
created a mixxt community at http://symfony-usergroup-cologne.mixxt.de
for organizing a symfony usergroup in the Cologne, Germany area.
Everybody who wants to join us is very welcome (this includes people
from Düsseldorf, Aachen, Leverkuse, etc. as well ;-) ).

Hope to see some of you soon,
Dennis
--~--~-~--~~~---~--~~
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] Re: Routing Question: Optional url parameter in the middle?

2009-08-25 Thread Dennis Benkert

Hi Daniel,

afaik you can't do this using one route. But without knowing more about 
your project, how about using a category called 'uncategorized' which 
will be the default one if non is chosen? This way you can use one route 
and urls would be like

  /library/legal/document2.pdf

and if no category was chosen

  /library/uncategorized/document.pdf

- Dennis

Richtermeister wrote:
> Hi all,
>
> quick question. I'm trying to accommodate a url with an optional
> category.
>
> Say you have documents that can be categorized, like: "/library/legal/
> document1.pdf", where "legal" is a category.
>
> Now, for uncategorized documents, I would like those to omit the
> category parameter, like so:
>
> "/library/document2.pdf"
>
> is this possible with one routing class definition? Looking to do with
> with a propel route.
>
> Thanks, and have a great day.
> Daniel
> >
>   


--~--~-~--~~~---~--~~
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] Re: symfony based shopping carts - hate to reinvent the wheel

2009-08-25 Thread Dennis Benkert

Or create a plugin from your code so that everybody can use it. :)

- Dennis

Am 26.08.2009 um 06:56 schrieb Eno :

>
> On Mon, 24 Aug 2009, Davinder Mahal wrote:
>
>> Yah, i know it's easy but why reinvent the wheel each time.
>
> If you've done it once it should be easy to re-use it.
>
>
>
> --  
>
>
>
> >

--~--~-~--~~~---~--~~
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] symfony Day Cologne

2009-07-13 Thread Dennis Benkert

Hey everybody!

symfony Day Cologne will be the first symfony conference in Germany.
One day, international speakers, a workshop, and a party. There will
be talks given by various members of the symfony community, plus a
workshop for beginners. The conference, both talks and the workshop,
will be held in English.

For more information you can visit http://www.symfonyday.com.

greetings, Dennis
--~--~-~--~~~---~--~~
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] Re: symfony textmate bundle

2009-04-17 Thread Dennis Benkert

Sure! Can the Doctrine users maybe post some suggestions of snippets
or commands? It would be exciting go get some response from 'hardcore'
Doctrine users to find helpfull shortcuts.

- Dennis

2009/4/17 MrMoins :
>
> Hi,
> first congratulation for this excellent bundle.
> I just want to ask you if it's possible to integrate Doctrine command
> in the future ?
>
> Thank you
>
>
> On 26 mar, 11:54, Dennis Benkert  wrote:
>> I just pushed the first preview of the bundle (codename 'conductor's
>> baton') to github
>> (http://github.com/denderello/symfony-tmbundle/tree/master). Everybody
>> is invited to give feedback about the features, usage, etc.
>>
>> Happy coding,
>> Dennis
>>
>> 2009/3/24 Dennis Benkert :
>>
>> >> FWIW, I've mapped getRequestParameter()
>> >> to ^P to match the Rails  bundle.  It's such a common thing that it
>> >> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
>> >> 1.1 and automatically use $request->getParameter() instead of $this-
>> >>  >getRequest()->getParameter().
>>
>> > I try to add it without doubling the code. But if I create a github
>> > repository you can just send me a pull request. I'll see what I can do
>> > about the lookup of the projects symfony version.
>>
>> >> strg?  is that command?
>>
>> > Whoops. 'strg' is the german version of 'ctrl'. :) So it's 'ctrl' +
>> > 's' (or ^S) to open the cli menu.
>>
>> > - Dennis
>>
>> > 2009/3/24 Jacob Coby :
>>
>> >> On Mar 24, 2009, at 11:04 AM, Dennis Benkert wrote:
>>
>> >>> Hey all,
>>
>> >>> I just wanted to inform you about the state of the bundle. I did some
>> >>> refactoring on the tab shortcuts and they are much shorter now. To
>> >>> give you a little teaser I will list some of them:
>>
>> >>> 'gro' + tab: will produce $this->getRoute()->getObject();
>> >>> 'gp' + tab: will produce $this->getRequest()-
>> >>> >getRequestParameter('id');
>> >>> 'rgp' + tab: will produce $request->getParameter('id');
>> >>> 'user' + tab: will produce $this->getUser()
>>
>> >> Nice.  Much easier to invoke.  FWIW, I've mapped getRequestParameter()
>> >> to ^P to match the Rails  bundle.  It's such a common thing that it
>> >> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
>> >> 1.1 and automatically use $request->getParameter() instead of $this-
>> >>  >getRequest()->getParameter().
>>
>> >>> There are of course even more shortcuts for different parts of symfony
>> >>> (actions, models, views, forms, etc.). Maybe i can give you a full
>> >>> list of them after the next weekend.
>>
>> >>>> How about some command to run sf command line from within Textmate?
>> >>> I'm working on this already. My idea is to execute the common symfony
>> >>> tasks within textmate (e.g. symfony cc) and show the output as a nice
>> >>> html popup. As for now you can run 'cc', '-V', 'test:all',
>> >>> 'propel:build-all', 'propel:build-model' and 'propel:build-forms' via
>> >>> the key binding 'strg' + 's'.
>>
>> >> strg?  is that command?
>>
>> >>>> Also, a larger task might be doing an autocomplete of model getter
>> >>>> and
>> >>>> setter functions.
>> >>> I'm not sure if textmate has the functionality to do that and i'm also
>> >>> not sure if textmate is the right editor for this feature. :)
>>
>> >> There is a php code completion bundle already available.  I've never
>> >> used it though.  All in all, TM just doesn't seem to have very good
>> >> support for code completion.
>>
>> >>> To give you all access to my working copy I'm also thinking about
>> >>> putting the bundle on github. Are there any concerns about this? If
>> >>> you have any other suggestions (even for key bindings or tab
>> >>> shortcuts) feel free to post them here.
>>
>> >> Please do.  I'll probably send a couple of pull requests your way.
>> >> The other option is to try and get it into the macromates svn
>> >> repository.  I don't know the process for that though.
>>
>> >>> - Dennis
>>
>> >>> 2009/3/24 Gareth McCumskey :
>>
>> >>>> On Mon, Mar 23, 2009 at 8:43 PM, hsteckylf  wrote:
>>
>> >>>>> Also, a larger task might be doing an autocomplete of model getter
>> >>>>> and
>> >>>>> setter functions.
>>
>> >>>> You mean just like Eclipse PDT can already do? :P
>>
>> >> --
>> >> Jacob Coby
>
> >
>

--~--~-~--~~~---~--~~
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] Re: How to use cli task command in linux cron?

2009-04-08 Thread Dennis Benkert

afaik you can just execute "/path/to/symfonyproject/symfony clearActiveUsers".

The "symfony" file in your project is already doing the path correction.

- Dennis

2009/4/8 xhe :
>
> Don't know if you have ever met this issue.
> I want to run sym1.2 task from cron cli environemnt, in windows, I
> will use
>
> php symfony clearActiveUsers
>
> But in linux cron, how can we write it? I used this:
> php /path/to/symfony clearActiveUsers, but whenever I run it out of
> symfony directory, I got error:
>
> Task "clearActiveUsers" is not defined.
>
> This can be run under symfony directory, but in cron, how can I set it
> up?
>
> Thanks
> >
>

--~--~-~--~~~---~--~~
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] Re: symfony textmate bundle

2009-03-26 Thread Dennis Benkert

I just pushed the first preview of the bundle (codename 'conductor's
baton') to github
(http://github.com/denderello/symfony-tmbundle/tree/master). Everybody
is invited to give feedback about the features, usage, etc.

Happy coding,
Dennis

2009/3/24 Dennis Benkert :
>> FWIW, I've mapped getRequestParameter()
>> to ^P to match the Rails  bundle.  It's such a common thing that it
>> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
>> 1.1 and automatically use $request->getParameter() instead of $this-
>>  >getRequest()->getParameter().
>
> I try to add it without doubling the code. But if I create a github
> repository you can just send me a pull request. I'll see what I can do
> about the lookup of the projects symfony version.
>
>> strg?  is that command?
>
> Whoops. 'strg' is the german version of 'ctrl'. :) So it's 'ctrl' +
> 's' (or ^S) to open the cli menu.
>
> - Dennis
>
> 2009/3/24 Jacob Coby :
>>
>> On Mar 24, 2009, at 11:04 AM, Dennis Benkert wrote:
>>
>>>
>>> Hey all,
>>>
>>> I just wanted to inform you about the state of the bundle. I did some
>>> refactoring on the tab shortcuts and they are much shorter now. To
>>> give you a little teaser I will list some of them:
>>>
>>> 'gro' + tab: will produce $this->getRoute()->getObject();
>>> 'gp' + tab: will produce $this->getRequest()-
>>> >getRequestParameter('id');
>>> 'rgp' + tab: will produce $request->getParameter('id');
>>> 'user' + tab: will produce $this->getUser()
>>
>> Nice.  Much easier to invoke.  FWIW, I've mapped getRequestParameter()
>> to ^P to match the Rails  bundle.  It's such a common thing that it
>> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
>> 1.1 and automatically use $request->getParameter() instead of $this-
>>  >getRequest()->getParameter().
>>
>>>
>>> There are of course even more shortcuts for different parts of symfony
>>> (actions, models, views, forms, etc.). Maybe i can give you a full
>>> list of them after the next weekend.
>>>
>>>> How about some command to run sf command line from within Textmate?
>>> I'm working on this already. My idea is to execute the common symfony
>>> tasks within textmate (e.g. symfony cc) and show the output as a nice
>>> html popup. As for now you can run 'cc', '-V', 'test:all',
>>> 'propel:build-all', 'propel:build-model' and 'propel:build-forms' via
>>> the key binding 'strg' + 's'.
>>>
>> strg?  is that command?
>>
>>>> Also, a larger task might be doing an autocomplete of model getter
>>>> and
>>>> setter functions.
>>> I'm not sure if textmate has the functionality to do that and i'm also
>>> not sure if textmate is the right editor for this feature. :)
>>
>> There is a php code completion bundle already available.  I've never
>> used it though.  All in all, TM just doesn't seem to have very good
>> support for code completion.
>>>
>>> To give you all access to my working copy I'm also thinking about
>>> putting the bundle on github. Are there any concerns about this? If
>>> you have any other suggestions (even for key bindings or tab
>>> shortcuts) feel free to post them here.
>>
>> Please do.  I'll probably send a couple of pull requests your way.
>> The other option is to try and get it into the macromates svn
>> repository.  I don't know the process for that though.
>>
>>>
>>> - Dennis
>>>
>>> 2009/3/24 Gareth McCumskey :
>>>>
>>>>
>>>> On Mon, Mar 23, 2009 at 8:43 PM, hsteckylf  wrote:
>>>>>
>>>>>
>>>>> Also, a larger task might be doing an autocomplete of model getter
>>>>> and
>>>>> setter functions.
>>>>>
>>>> You mean just like Eclipse PDT can already do? :P
>>>>
>>>>>
>>>>
>>>
>>> >
>>
>> --
>> Jacob Coby
>>
>>
>>
>>
>>
>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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] Re: symfony textmate bundle

2009-03-24 Thread Dennis Benkert

> FWIW, I've mapped getRequestParameter()
> to ^P to match the Rails  bundle.  It's such a common thing that it
> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
> 1.1 and automatically use $request->getParameter() instead of $this-
>  >getRequest()->getParameter().

I try to add it without doubling the code. But if I create a github
repository you can just send me a pull request. I'll see what I can do
about the lookup of the projects symfony version.

> strg?  is that command?

Whoops. 'strg' is the german version of 'ctrl'. :) So it's 'ctrl' +
's' (or ^S) to open the cli menu.

- Dennis

2009/3/24 Jacob Coby :
>
> On Mar 24, 2009, at 11:04 AM, Dennis Benkert wrote:
>
>>
>> Hey all,
>>
>> I just wanted to inform you about the state of the bundle. I did some
>> refactoring on the tab shortcuts and they are much shorter now. To
>> give you a little teaser I will list some of them:
>>
>> 'gro' + tab: will produce $this->getRoute()->getObject();
>> 'gp' + tab: will produce $this->getRequest()-
>> >getRequestParameter('id');
>> 'rgp' + tab: will produce $request->getParameter('id');
>> 'user' + tab: will produce $this->getUser()
>
> Nice.  Much easier to invoke.  FWIW, I've mapped getRequestParameter()
> to ^P to match the Rails  bundle.  It's such a common thing that it
> deserves to be easy to insert.  Ideally, the bundle would detect sf >=
> 1.1 and automatically use $request->getParameter() instead of $this-
>  >getRequest()->getParameter().
>
>>
>> There are of course even more shortcuts for different parts of symfony
>> (actions, models, views, forms, etc.). Maybe i can give you a full
>> list of them after the next weekend.
>>
>>> How about some command to run sf command line from within Textmate?
>> I'm working on this already. My idea is to execute the common symfony
>> tasks within textmate (e.g. symfony cc) and show the output as a nice
>> html popup. As for now you can run 'cc', '-V', 'test:all',
>> 'propel:build-all', 'propel:build-model' and 'propel:build-forms' via
>> the key binding 'strg' + 's'.
>>
> strg?  is that command?
>
>>> Also, a larger task might be doing an autocomplete of model getter
>>> and
>>> setter functions.
>> I'm not sure if textmate has the functionality to do that and i'm also
>> not sure if textmate is the right editor for this feature. :)
>
> There is a php code completion bundle already available.  I've never
> used it though.  All in all, TM just doesn't seem to have very good
> support for code completion.
>>
>> To give you all access to my working copy I'm also thinking about
>> putting the bundle on github. Are there any concerns about this? If
>> you have any other suggestions (even for key bindings or tab
>> shortcuts) feel free to post them here.
>
> Please do.  I'll probably send a couple of pull requests your way.
> The other option is to try and get it into the macromates svn
> repository.  I don't know the process for that though.
>
>>
>> - Dennis
>>
>> 2009/3/24 Gareth McCumskey :
>>>
>>>
>>> On Mon, Mar 23, 2009 at 8:43 PM, hsteckylf  wrote:
>>>>
>>>>
>>>> Also, a larger task might be doing an autocomplete of model getter
>>>> and
>>>> setter functions.
>>>>
>>> You mean just like Eclipse PDT can already do? :P
>>>
>>>>
>>>
>>
>> >
>
> --
> Jacob Coby
>
>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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] Re: symfony textmate bundle

2009-03-24 Thread Dennis Benkert

Hey all,

I just wanted to inform you about the state of the bundle. I did some
refactoring on the tab shortcuts and they are much shorter now. To
give you a little teaser I will list some of them:

'gro' + tab: will produce $this->getRoute()->getObject();
'gp' + tab: will produce $this->getRequest()->getRequestParameter('id');
'rgp' + tab: will produce $request->getParameter('id');
'user' + tab: will produce $this->getUser()

There are of course even more shortcuts for different parts of symfony
(actions, models, views, forms, etc.). Maybe i can give you a full
list of them after the next weekend.

> How about some command to run sf command line from within Textmate?
I'm working on this already. My idea is to execute the common symfony
tasks within textmate (e.g. symfony cc) and show the output as a nice
html popup. As for now you can run 'cc', '-V', 'test:all',
'propel:build-all', 'propel:build-model' and 'propel:build-forms' via
the key binding 'strg' + 's'.

> Also, a larger task might be doing an autocomplete of model getter and
> setter functions.
I'm not sure if textmate has the functionality to do that and i'm also
not sure if textmate is the right editor for this feature. :)

To give you all access to my working copy I'm also thinking about
putting the bundle on github. Are there any concerns about this? If
you have any other suggestions (even for key bindings or tab
shortcuts) feel free to post them here.

- Dennis

2009/3/24 Gareth McCumskey :
>
>
> On Mon, Mar 23, 2009 at 8:43 PM, hsteckylf  wrote:
>>
>>
>> Also, a larger task might be doing an autocomplete of model getter and
>> setter functions.
>>
> You mean just like Eclipse PDT can already do? :P
>
> >
>

--~--~-~--~~~---~--~~
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] symfony textmate bundle

2009-03-12 Thread Dennis Benkert

I'm going to take over the maintenance of symfony's textmate bundle to
add and update some features. For this I would ask everybody who is
using textmate to give me some feature request.

>From the discussion on the developers list (http://groups.google.com/
group/symfony-devs/browse_thread/thread/8f10a6141df2427f) we already
have the following features:
 - add snippets for sfForms
 - support for common tasks
 - drop tif and tforeach. (already handled by the php bundle)
 - enhance the overall flow and shortcuts (i.e. the snippet shortcuts)

Feel free to add suggestions in this discussion.

- Dennis
--~--~-~--~~~---~--~~
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] Re: Remove a route generated by sfPropelRouteCollection

2009-02-26 Thread Dennis Benkert

You can use the 'actions' option to define which routes will be
created. The following configuration in routing.yml would create all
routes except 'list':

articles:
  class:   sfPropelRouteCollection
  options:
model: Article
module: article
actions: [new, create, edit, update, delete]

greetings

2009/2/26 Shinkan 
>
> Hi everybody !
>
> In my application routing.yml, I use some sfPropelRouteCollection.
> Like, say :
>
> user:
>  class: sfPropelRouteCollection
>  options: { model: User }
>
> For some of these, I would like an action to be unavailable.
> In fact, I do not use the standard listing feature, which is the
> "index" action, and I would like to know how can I remove it from
> generated routes ?
>
> Thanks in advance.
> >

--~--~-~--~~~---~--~~
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] Re: Please advise on sfGuard plugin

2008-08-18 Thread Dennis Benkert

On 18 Aug., 14:21, Sumedh <[EMAIL PROTECTED]> wrote:
> Anyone? :(
>
> I am really confused if I should use this plugin or do my own simple
> thing...
>
> Right now I am grappling with issues...just trying to figure out where
> is the code that compares user supplied credentials with DB data and
> decides this is a correct login...the executeSignin doesn't seem to
> have any code for this ??? :|

You'll find it in one of the validators bundeled with sfGuardPlugin.

> If I want to do my own simple thing, how can I make the $this->getUser() 
> object to point to a new object I'll create (that'll map to
> the new users table I'll create)?

maybe i misunderstand you but you can find it in your myUser class or
in the sfGuardSecurityUser class. Maybe take a closer look at the
sfGuardSecurityUser class. I think it bundles methods to log a user in
by hand.

- Dennis

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---