[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread bghost
As I said at the beginning: Symfony has become too complicated. Also, Symfony folder structure has become too complicated. Definitely, the learning of principles on which Symfony working is painful and unprofitable. If you really want to see, which means fast, easy and effective PHP framework,

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread bghost
As I said at the beginning: Symfony has become too complicated. Also, Symfony folder structure has become too complicated. Definitely, the learning of principles on which Symfony working is painful and unprofitable. If you really want to see, which means fast, easy and effective PHP framework,

[symfony-users] Is censorship necessary?

2009-09-23 Thread bghost
It seems that I disabled to write on the topic, which I opened. Fabien, why fear? Is censorship necessary? WBR, Ghost3D --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] Getting started w/ templating component

2009-09-23 Thread David Clark
Hi, I was excited to hear about the release of the templating component and I downloaded it yesterday. The thing that I have always valued about Symfony is the way that it gently guides you by building skelelons when creating new project, application or whatever. I have read the templating

[symfony-users] Re: the jquery date widget is killing a page in IE 7

2009-09-23 Thread zeek
fixed here: http://trac.symfony-project.org/changeset/15842 On Sep 21, 11:48 pm, Michael J. Stuart lkrub...@geocities.com wrote: I am using sfWidgetFormJQueryDate for a date widget on a form. This form works well in FireFox, Safari and Google Chrome. However, the page won't load in IE 7

[symfony-users] Re: Is censorship necessary?

2009-09-23 Thread Kieu Anh Tuan
Apprently you are not. Check if your computer is connected to the internet. On Sep 23, 2009 8:37 AM, bghost bggho...@gmail.com wrote: It seems that I disabled to write on the topic, which I opened. Fabien, why fear? Is censorship necessary? WBR, Ghost3D

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Sid Bachtiar
Feel free to use other framework if you think that Symfony isn't for you, but saying it is too complicated isn't doing yourself any favor. If you have specific ideas to improve Symfony, feel free to share them with the mailing list or join the dev mailing list. Symfony isn't perfect and there

[symfony-users] Re: Getting started w/ templating component

2009-09-23 Thread Alexandru-Emil Lupu
http://components.symfony-project.org/templating/trunk/book/03-Template-Helpers On Tue, Sep 22, 2009 at 10:05 PM, David Clark dmcl...@gmail.com wrote: Hi, I was excited to hear about the release of the templating component and I downloaded it yesterday. The thing that I have always

[symfony-users] Re: Is censorship necessary?

2009-09-23 Thread Fabien Potencier
What are you talking about? Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 bghost wrote: It seems that I disabled to write on the topic, which I opened. Fabien, why fear? Is censorship

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Fabien Potencier
Ok, I think we get the point. No need to be rude. Please, go away, use whatever framework you want, and stop writing nonsense emails. Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80

[symfony-users] Re: autocomplete in symfony and doctrine

2009-09-23 Thread Romain de Wolff
Hello, About the auto complete in the backend, I got it working. There is a french article that explain it, maybe you can translate it with google : http://symfonyguide.wordpress.com/2009/08/05/lautocompletion-sur-un-input-text-du-backend/ In a few words, you need : - check that the

[symfony-users] php 5.3

2009-09-23 Thread andrea cecchetto
Hi guys, Today on my archlinux, i upgraded php to the latest php 5.3, from php 5.2.10. I went to my application and i get this error PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused i didn't do anything. What can i do?? Thanks Andrea

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Kieu Anh Tuan
Yes. And somehow censorship is neccesary for those kinds of people. Please dont spam our mailboxes anymore. On Sep 23, 2009 9:19 AM, Fabien Potencier fabien.potenc...@symfony-project.com wrote: Ok, I think we get the point. No need to be rude. Please, go away, use whatever framework you want,

[symfony-users] Using different tester with sfBrowser

2009-09-23 Thread David Stendardi
Hi everyone ! Some days ago, i created the following ticket http://trac.symfony-project.org/ticket/7084. The proposal was to create an interface for lime_test, in order to let the user implements is one one (using phpunit for example). But Fabien replied me that it was not really clever because

[symfony-users] Re: php 5.3

2009-09-23 Thread Romain de Wolff
Did you enable mysql? Le 23 sept. 2009 à 10:41, andrea cecchetto a écrit : Hi guys, Today on my archlinux, i upgraded php to the latest php 5.3, from php 5.2.10. I went to my application and i get this error PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused i didn't do

[symfony-users] Re: php 5.3

2009-09-23 Thread Romain de Wolff
check that your MySQL is running and that the user and password works. Le 23 sept. 2009 à 11:06, andrea cecchetto a écrit : I'm sorry, but i think yesterday with old php my webapp works.. today with the new php doesn't. .. I use doctrine as ORM on mysql Server version: 5.1.38. this

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
Yes :) I enabled mysql.. phpmyadmin works well!! :) 2009/9/23 Romain de Wolff rdewo...@gmail.com: Did you enable mysql? Le 23 sept. 2009 à 10:41, andrea cecchetto a écrit : Hi guys, Today on my archlinux, i upgraded php to the latest php 5.3, from php 5.2.10. I went to my application

[symfony-users] Re: php 5.3

2009-09-23 Thread Romain de Wolff
Try a phpinfo(), see if the PDO link with MySQL is enabled. Le 23 sept. 2009 à 11:14, andrea cecchetto a écrit : Yes :) I enabled mysql.. phpmyadmin works well!! :) 2009/9/23 Romain de Wolff rdewo...@gmail.com: Did you enable mysql? Le 23 sept. 2009 à 10:41, andrea cecchetto a écrit :

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
this is my phpinfo PDO PDO support enabled PDO drivers mysql, pgsql, sqlite pdo_mysql PDO Driver for MySQLenabled Client API version mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $ Persistent cacheenabled put_hits0 put_misses 0 get_hits0

[symfony-users] Re: php 5.3

2009-09-23 Thread Romain de Wolff
That seems okay. Maybe this thread can help : http://www.magentocommerce.com/boards/viewthread/7901/ Anyone else got an idea? Le 23 sept. 2009 à 11:22, andrea cecchetto a écrit : this is my phpinfo PDO PDO support enabled PDO drivers mysql, pgsql, sqlite pdo_mysql PDO Driver

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread dziobacz
http://www.google.com/trends?q=Zend+Framework%2C+CakePHP%2C+CodeIgniter%2C+Symfony%2C+yiictab=0geo=allgeor=alldate=allsort=0 Why if I write in google trends: Zend Framework, Symfony - the results are almost the same:

[symfony-users] sfGrid with Doctrine and a join how to get a field from a joint table

2009-09-23 Thread Iwan van Staveren
I have two tables. And when iterating with the sfGrid over the main table that is fine. But I am unable to select a field from the joint table. What is the right syntax to use in the array given to grid-setColumns to select the fields from the joint table? Kind regards,

[symfony-users] Re: newbie question - routing and actions

2009-09-23 Thread erikms
Hi all, In case you're reading this... it was my apache setup that was wrong. In the end, I made separate config files for each symfony project: copies of the jobeet setup with just the name of the project changed, and include the one I'm working on in httpd.conf restart the server, and there you

[symfony-users] generator.yml and custom field

2009-09-23 Thread Romain de Wolff
Hello all, I have a custom field in my config/list, which works and return the name of a customer. The field name is client_name and the value is taken from the method getClientName() which is in the model. Until here, everything is fine. Now, when I triy to use the same field client_name

[symfony-users] Different validation for update/insert

2009-09-23 Thread Simone Fumagalli
Hello. I need two different validations for my form. The scenario is quite easy. 1) The user subscribe to the site by providing few fields (name and email), others data are optionals. 2) The user get an email with an invitation to complete his data, in this case almost all the fields are

[symfony-users] stop cachig with _GET parameters

2009-09-23 Thread sde...@gmail.com
About cache system. As I understood, cache dont work if any _GET or _POST parameters are present. But why? I think it must be a configurable option, because, for example, i can generate any request with get parameters to cached page and it will stop caching(!) this is good way for hackers to

[symfony-users] enable E_NOTICE

2009-09-23 Thread peterreb
Hi list, I'm new to symfony an need help by configuring error_reporting to enable E_NOTICE. error_reporting is set to E_ALL | E_PARSE in php.ini and settings.yml (for dev environment) $configuration = ProjectConfiguration::getApplicationConfiguration ('frontend', 'dev', false); but there are no

[symfony-users] What does sfActions::processForm() do?

2009-09-23 Thread Hong Kil Dong
When I analyzed CRUD-generated actions I faced undocumented method processForm() - what does it do? Why it isn't documented? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] Re: What does sfActions::processForm() do?

2009-09-23 Thread Hong Kil Dong
On 23 сен, 13:52, Hong Kil Dong fetfru...@gmail.com wrote: When I analyzed CRUD-generated actions I faced undocumented method processForm() - what does it do? Why it isn't documented? Oops! I found it's declaration at the end of file ;) --~--~-~--~~~---~--~~

[symfony-users] eAccelerator settings

2009-09-23 Thread Sumedh
Hi All, I configured eAccecerator successfully on an ubuntu server... Now I wanted to know a little bit more about how to tweak default settings - http://www.eaccelerator.net/wiki/Settings I didn't find much around on web...can someone put some light? Following settings look interesting to

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread bghost
Hi Fabien, You say that I write nonsense and stupid e-mails? Well, seems that you did not understand me. So, I'll be here a little more detailed and specific: First: No offense Fabien, this is a well-meaning criticism. I know that you invested so much effort into Symfony. However, you are a

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Nick Winfield
Ghost3D, If you do not like the new form framework, then I recommend that you stick with the 1.0 branch of Symfony. I don't think there's anything wrong with the directory structure used in Symfony projects. Once you get used to the layout, it makes sense. Kind regards, Nick. 2009/9/23 bghost

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Phil Moorhouse
Because Zend's framework is named Zend Framework whereas the Symfony framework is just known as Symfony. On Sep 23, 10:26 am, dziobacz aaabbbcccda...@gmail.com wrote: http://www.google.com/trends?q=Zend+Framework%2C+CakePHP%2C+CodeIgnit... Why if I write in google trends: Zend Framework,

[symfony-users] symfony sign in problem

2009-09-23 Thread Steve Sanyal
Hi, I've been testing out my symfony 1.2 application and I am getting some random occurrences where a user signs in and is then seems to lose their authentication and so they are redirected to the signin page on their next request. Sometimes I even see content from a page with authenticated

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Phil Moorhouse
Ghost3D, Firstly, the reason for the move to OO forms has already been covered - it's to promote re-use and greater flexibility. This unavoidably comes with the cost of increased complexity, and I think from the answers above most people here are willing to make that trade-off. Secondly,

[symfony-users] backend forms

2009-09-23 Thread Relez
Hi there, I would like to customize my backend form. I have one field named image, this field is varchar(255) and stores the name of an image. In my backend application, I would like to use sfWidgetFormInputFileEditable to upload the image. How should I proceed? Bests regards!

[symfony-users] Re: php 5.3

2009-09-23 Thread Eno
On Wed, 23 Sep 2009, Romain de Wolff wrote: That seems okay. Maybe this thread can help : http://www.magentocommerce.com/boards/viewthread/7901/ Anyone else got an idea? When PHP was upgraded, was Apache restarted? The error says connection refused, so either MySQL isn't running,

[symfony-users] Re: symfony 1.3-DEV generating sf_guard_user_profileForm.class.php

2009-09-23 Thread Eno
On Tue, 22 Sep 2009, layanto wrote: Using latest checkout of 1.3-DEV On generating doctrine classes, two classes were generated for Guard User Profile sf_guard_user_profileForm.class.php sfGuardUserProfileForm.class.php The 1.3 branch is currently under development so expect things to be

[symfony-users] Re: php 5.3

2009-09-23 Thread Eno
On Wed, 23 Sep 2009, andrea cecchetto wrote: PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused i didn't do anything. What can i do?? Did you clear cache and rebuild your models? -- --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
i rechecked my phpinfo()... and i found this: Directive Local Value Master Value pdo_mysql.cache_size20002000 pdo_mysql.default_socketno valueno value no value?? 2009/9/23 andrea cecchetto andrea.cecche...@gmail.com: How I get this error:       PDO

[symfony-users] Re: php 5.3

2009-09-23 Thread Romain de Wolff
There seems to be a config problem. But your phpmyadmin works you said... so that could be in Symfony's Project Config. Rom Le 23 sept. 2009 à 15:42, andrea cecchetto a écrit : i rechecked my phpinfo()... and i found this: Directive Local Value Master Value pdo_mysql.cache_size

[symfony-users] Re: generator.yml and custom field

2009-09-23 Thread Alexandru-Emil Lupu
check the line where this occurs... also, you might share with us some code ... to help you out better, Alecs On Wed, Sep 23, 2009 at 1:10 PM, Romain de Wolff rdewo...@gmail.com wrote: Hello all, I have a custom field in my config/list, which works and return the name of a customer. The

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
How I get this error: PDO Connection Error: SQLSTATE[HY000] [2002] Invalid argument 2009/9/23 Eno symb...@gmail.com: On Wed, 23 Sep 2009, andrea cecchetto wrote: PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused i didn't do anything. What can i do?? Did you clear

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Farrukh Abbas
It has become a long thread ... As some one said before that noframework is perfect... But I guess what matters is how well does a framework hide all the complexitites of creating scalable web apps n let's the developer focus on the solution n business logic suberbly ... Yes it does take

[symfony-users] Re: generator.yml and custom field

2009-09-23 Thread Abraham Montilla
Hello Romain, first i suppose you forgot to translate the last label (auteur_name to client_name), if not, then obviously there's the trouble. Now, for the forms, you have to create the widget in the your_modelForm.class.php with something like $this-wigetSchema-setWidget('client_name', new

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
But phpmyadmin use mysqli.. symfony uses pdo_mysql 2009/9/23 Romain de Wolff rdewo...@gmail.com: There seems to be a config problem. But your phpmyadmin works you said... so that could be in Symfony's Project Config. Rom Le 23 sept. 2009 à 15:42, andrea cecchetto a écrit : i

[symfony-users] Re: autocomplete in symfony and doctrine

2009-09-23 Thread Abraham Montilla
wow, thanks very much! i'll check it asap. 2009/9/23 Romain de Wolff rdewo...@gmail.com Hello, About the auto complete in the backend, I got it working. There is a french article that explain it, maybe you can translate it with google :

[symfony-users] Re: php 5.3

2009-09-23 Thread andrea cecchetto
I found the solution... in the new php.ini there is pdo_mysql.default_socket= I set it to my mysql socket.. and now it works!!! 2009/9/23 andrea cecchetto andrea.cecche...@gmail.com: But  phpmyadmin use mysqli.. symfony uses pdo_mysql 2009/9/23 Romain de Wolff rdewo...@gmail.com: There

[symfony-users] Re: enable E_NOTICE

2009-09-23 Thread nico
Hi, You need to enable debug mode to see them Change your application configuration to $configuration = ProjectConfiguration::getApplicationConfiguration ('frontend', 'dev', true); Nicolas On Sep 23, 12:18 pm, peterreb axel.zu...@gmail.com wrote: Hi list, I'm new to symfony an need help

[symfony-users] Re: enable E_NOTICE

2009-09-23 Thread Axel Zuzek
now it works! thx a lot 2009/9/23 nico nicolas.ri...@gmail.com Hi, You need to enable debug mode to see them Change your application configuration to $configuration = ProjectConfiguration::getApplicationConfiguration ('frontend', 'dev', true); Nicolas On Sep 23, 12:18 pm, peterreb

[symfony-users] Re: Different validation for update/insert

2009-09-23 Thread Richtermeister
Hey Simone, I would use the same form, but in the configure function you do something like: if($this - isNew()) { //add or configure validators for create } else { //add or configure validators for update } clean and easy to maintain. Daniel On Sep 23, 3:16 am, Simone Fumagalli

[symfony-users] Call For Information Re-organization [opinions needed]

2009-09-23 Thread fakingfantastic
I recently had a discussion with Fabien about this topic, and he suggested it would be best if I stage the debate here. Has anyone ever felt like the information they needed to get on Symfony was hard to find? Do you find that the information you need is very-well documented on the site, but it

[symfony-users] Doctrine and custom schemas

2009-09-23 Thread nervo
(Note: this post was previously written in developpers list : http://groups.google.fr/group/symfony-devs/t/9342dd69c5e9e5c3 ) Since v1.1, symfony handles a way to distantly customize a db schema. (see http://www.symfony-project.org/book/1_2/17-Extending-Symfony#chapter_... New in symfony 1.1).

[symfony-users] Add another item functionality

2009-09-23 Thread fakingfantastic
I am current building a quote system for a company so that they can make Quotes for customers. In it, they have and ability to add an (seemingly) endless amount of items to the quote. My idea is to have them presented with a dropdown of all the products and they can put in the quantity. Then they

[symfony-users] Symfony with integrated Wordpress

2009-09-23 Thread Nat
Does anyone know anything about Wordpress + Symfony together? Thanks in advance I've taken over development of a CMS built on symfony with Wordpress added on to manage the news (the CMS handles relatively static content, whereas the Wordpress handles day-to-day content.) The two systems run

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Farrukh Abbas
Yeah :) like plugins but one wouldn't have to spend the time making it into a plugin ... why not make that as a natural part of process while developing an app .. So modules r from the start build like plugins ... During the project the time spent on documentation is minimal so not every thing

[symfony-users] How to get ID of last object insert

2009-09-23 Thread ferdjuan
I have a method which inserts an entry into the database, and I am trying to retrieve it's ID immediately so I can return the data back to the screen with javascript: $this-ticketaddform = new TicketForm(); if ($r-isMethod('post') $this-ticketaddform-bindAndSave($r- getParameter('ticket'))) {

[symfony-users] Re: How to get ID of last object insert

2009-09-23 Thread Farrukh Abbas
i have always used the construct below if($this-form-isValid()){ $object = $this-form-save(); $id = $object-getId(); } seeing bindandsave for the first time... the save function of the form automatically sets the id of the object or in other words returns the recently saved object. On Thu,

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Sid Bachtiar
Yeah :) like plugins but one wouldn't have to spend the time making it into a plugin ... why not make that as a natural part of process while developing an app I think it is already natural. Plugin structure is almost identical apps. You can practically just create a plugin folder, copy your

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread zeek
Farrukh, The kind of re-use that you are talking about, from one project to the next, should be done with a plugin. It is the plugins that allow you to putting the schema model n peer classes in one folder so all one would need is to copy the folder n customize it . On Sep 23, 9:51 am,

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread zeek
Packaging and releasing plugin to Symfony repository takes a bit more time, but pluginizing module for your own use only takes minutes with benefit of reusability over multiple projects. Possibly a one page checklist should b given some prominence. The info is there in the book, but it gets a

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread zeek
What is the point and what the benefits of the code generated if 90% of the code must be re-written on the completely different way? You are free to write a plugin that auto-generates the CRUD forms in any way you wish. The result of all this is a complex directory structure, many empty

[symfony-users] Re: Symfony with integrated Wordpress

2009-09-23 Thread zeek
Theodo integreated Wordpress and Symfony: http://www.theodo.fr/blog/2009/03/integrate-wordpress-into-symfony/comment-page-1/ On Sep 23, 4:14 pm, Nat nattay...@gmail.com wrote: Does anyone know anything about Wordpress + Symfony together?  Thanks in advance I've taken over development of a

[symfony-users] Re: Symfony with integrated Wordpress

2009-09-23 Thread zeek
What error appears in the PHP error logs? If there are none, and you're dealing with a fatal error, that would mean there is an error somewhere that is being suppressed with the use of the @ operator. On Sep 23, 4:14 pm, Nat nattay...@gmail.com wrote: Does anyone know anything about

[symfony-users] Re: Symfony with integrated Wordpress

2009-09-23 Thread zeek
Why do you try to include wp-blog-header.php in Symfony? Any risk of name collisions between Symfony variables and WordPress variables? Or constants? On Sep 23, 4:14 pm, Nat nattay...@gmail.com wrote: Does anyone know anything about Wordpress + Symfony together?  Thanks in advance I've

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-23 Thread zeek
On Sep 23, 8:10 am, fakingfantastic lakatos.fr...@gmail.com wrote: I recently had a discussion with Fabien about this topic, and he suggested it would be best if I stage the debate here. Has anyone ever felt like the information they needed to get on Symfony was hard to find? Do you find

[symfony-users] Re: Different validation for update/insert

2009-09-23 Thread zeek
The Symfony form framework is maybe too complicated (Symfony is now an MVCF architecture), but if you are going to use it at all, you have to stick with one form class for each model. You are inviting a lot of pain if you start using multiple form classes. On Sep 23, 6:16 am, Simone Fumagalli

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Farrukh Abbas
Yeah never really got the time to look into creating plugins Just used a few.. Will look into it... Thanks Any how symfony is doing a great... N it a piece of work well done! Thanks to the team building it. -- Kind regards Farrukh Abbas On 24 Sep 2009, at 03:48, zeek z...@thesecondroad.org

[symfony-users] Server has gone away

2009-09-23 Thread Tom Haskins-Vaughan
sf1.2/Doctrine/MySQL/Ubuntu Hi, I have a problem of losing the doctrine connection. This is what I'm doing: 1. create a log entry for a file 2. download the large file (can take many minutes) 3. update log entry with download completed at time But the problem is, by the time I've

[symfony-users] Re: Server has gone away

2009-09-23 Thread Eno
On Wed, 23 Sep 2009, Tom Haskins-Vaughan wrote: But the problem is, by the time I've downloaded the file, I've lost the connection (SQLSTATE[HY000]: General error: 2006 MySQL server has gone away) Is there any way to reconnect the database? What does a file download have to do with your

[symfony-users] Re: Add another item functionality

2009-09-23 Thread Eno
On Wed, 23 Sep 2009, fakingfantastic wrote: I am current building a quote system for a company so that they can make Quotes for customers. In it, they have and ability to add an (seemingly) endless amount of items to the quote. My idea is to have them presented with a dropdown of all the