Re: [symfony-users] Symfony 2 Documentation or Tutorials

2010-05-02 Thread Fabian Lange
Yeah there are some books out on it. You'll find them next to the PHP 6 Documentation, or the Windows Server 2015 guides. I really appreciate that you folks want to stay up to date, but Symfony 2 has no shape that one could document yet Fabian On May 1, 2010, at 9:18 AM, jiggliemon wrote:

Re: [symfony-users] Where did Symfony 1.0 core config data move, after 1.1 was introduced?

2010-04-08 Thread Fabian Lange
Its in lib/config/config now and most of the files have been discontinued or integrated somewhere else Fabian On Apr 8, 2010, at 9:03 PM, martin wrote: On Symfony 1.0, if I go to the core data config folder: /usr/share/php/data/symfony/config I see: autoload.yml config_handlers.yml

Re: [symfony-users] Re: Question about Symfony 2.0

2010-02-23 Thread Fabian Lange
Sounds Like Matthias is volunteering to prototype something like that :-) Do not worry about the work needed to upgrade. Look at this: If you started with symfony 1.0, then with just minor work you got a supported platform for 4 years With a bit more you got it for 6 years. And you can use

Re: [symfony-users] Re: Error when checking out Symfony 2.0 SVN code

2010-02-19 Thread Fabian Lange
Hi, The directory was renamed in Git but obviously not on subversion correctly during the merge. I removed the directory by hand and it should now check out fine. I hope later merges from git do not bring it back up cheers Fabian On Fri, Feb 19, 2010 at 1:58 PM, Matt Robinson m...@lazycat.org

Re: [symfony-users] a way to change l10n .dat for a project?

2010-02-16 Thread Fabian Lange
Hi Danilo, this is not possible. If you have a copy of symfony per project you can hack this, but that is not intended. If you want to have a specific format I would recommend to ensure that yourself rather to take the I18N classes that use the official CLDR/ICU formatting Fabian -- You

Re: [symfony-users] Re: Sf 1.4 Doctrine memory leak with data-dump

2009-12-07 Thread Fabian Lange
You have to experiment. In general I would not recommend to dump such large tables through an orm. Especially not in PHP 5.3 Do you have 5.3? In 5.2 all objects will stay in memory, which is really a lot Fabian On Mon, Dec 7, 2009 at 2:28 PM, Frédéric Quié frederic.q...@gmail.com wrote: THX,

Re: [symfony-users] symfony 1.3 - propel build error

2009-11-18 Thread Fabian Lange
Is that using the latest RC/SVN? I think there has been a bug, but this should be fixed. I checked my project and it works Fabian On Wed, Nov 18, 2009 at 2:38 PM, Daniel Kucharski dan...@inspiran.be wrote: Here you are: BaseBloggableHasTagPeer.php à http://pastebin.org/54843 Schema.yml à

[symfony-users] Re: Symfony BugHuntDay - Who 's coming?

2009-11-16 Thread Fabian Lange
I will be there. And there are no flights London - Antwerp? Fabian On Thu, Nov 5, 2009 at 12:49 PM, Lee Bolding l...@leesbian.net wrote: I'd have come, had been at Sensio - Paris from London is fairly easy on the train, but Belgium isn't :-/ Oh well... I'll probably see you all at Symfony

[symfony-users] Re: Symfony 1.4

2009-11-16 Thread Fabian Lange
Hi Sid, there is no branch yet because there is still heavy development of 1.3 :) the deprecations are listed here: http://www.symfony-project.org/tutorial/1_3/en/deprecated Fabian On Tue, Nov 10, 2009 at 10:54 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, I want to use 1.4 but I can

[symfony-users] Re: Performance ORM for Symfony 1.3

2009-10-21 Thread Fabian Lange
Hi Roberto, I have a hard time understanding your numbers. You say you generate a benchmark file in the front controller which just writes how long the page took to load? Which unit is that time? Is it bad? Is there any change when invoking the pages a few more times? what are the specs of the

[symfony-users] Re: jobbet using sf 1.3

2009-10-15 Thread Fabian Lange
Hi, there is http://www.symfony-project.org/jobeet/1_3/Doctrine/en/ which is the 1.3 version of the tutorial. Changes will be made to that if required, but at the moment i think it is identical. Fabian On Thu, Oct 15, 2009 at 1:30 AM, Nei Rauni Santos nra...@gmail.com wrote: There is any

[symfony-users] Re: Performance isset vs strlen

2009-10-14 Thread Fabian Lange
Hi, I am suprised that this is measurable that good. I can reproduce it. isset runs in 15% of the time as strlen. I tried wrapping this into a function: function hasXChars($string, $x){ return isset($string[$x-1]); } - speed boost gone. slower than strlen. The implication is that coders

[symfony-users] Re: sf1.1 propel admin gen. editable primary key

2009-10-14 Thread Fabian Lange
Hi, one of the drawbacks of all ORM is that they cannot edit PKs, but in fact this shows a design flaw. a PK represents identity and s not supposed to be changed. This, among others, is the reason I always put autogenerated integer ids as PK. Fabian 2009/10/14 Hofferek Attila h...@soka.co.hu:

[symfony-users] Re: Patch for sfWidgetFormInputFileEditable.class.php

2009-10-08 Thread Fabian Lange
Fixed in http://trac.symfony-project.org/changeset/22869 Could you open a ticket for such ting? I just spend 5 minutes searching in trac, because I thought there was one :) Fabian On Tue, Sep 29, 2009 at 2:24 PM, Bert-Jan i...@bert-jan.com wrote: Hi Folks, The password reminder e-mail

[symfony-users] Re: Upgrading to 1.2 on PHP 5.1

2009-10-02 Thread Fabian Lange
You dont need much of PEAR Fabian On Fri, Oct 2, 2009 at 1:40 PM, david da...@inspiredthinking.co.uk wrote: It would require some patching but you might be able to use 1.2 in conjunction with some of the PEAR libs. I know there's a PEAR compat lib that's designed to help with this type of

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

2009-09-28 Thread Fabian Lange
I personally dislike the php.net api comments they are full of junk. the solutions are untested, undocumented, not working or messy. Fabian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To

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

2009-09-28 Thread Fabian Lange
Hi Bruno On Mon, Sep 28, 2009 at 4:32 PM, Bruno Reis bruno.p.r...@gmail.com wrote: For me, there is one major reason for the popularity and spread of the php in the word: comments on the manual pages! For me the popularity and spread of really bad and crappy code are the comments on the

[symfony-users] Re: Is Doctrine (database) Timer OK ?

2009-09-22 Thread Fabian Lange
I don't have it, because I use Propel? Was this the intent of your repost? Fabian --~--~-~--~~~---~--~~ 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] Re: symfony 1.3-DEV Warning: preg_match()??

2009-09-22 Thread Fabian Lange
Might be a typo in a recent commit. Do not forget: There is no guarantee that the version will work while it is under development. If you cannot deal with such things you should use symfony 1.2 Fabian On Wed, Sep 23, 2009 at 2:54 AM, layanto laya...@yahoo.com wrote: Received this warning

[symfony-users] Re: Framework based PHP vs high level programming languages

2009-09-21 Thread Fabian Lange
Hi On Mon, Sep 21, 2009 at 3:28 PM, pcummins patwcumm...@gmail.com wrote: how far away is a good PHP framework from C / Java? incomparable. I do have my thoughts, but I cannot follow yours. First there is a difference between scripting and non-scripting languages. Which in reality is often: I

[symfony-users] Re: Framework based PHP vs high level programming languages

2009-09-21 Thread Fabian Lange
Hi On Mon, Sep 21, 2009 at 4:44 PM, Lee Bolding l...@leesbian.net wrote: The myth that PHP doesn't scale is old, and no longer plausible. I did not say say. I said that you can have java architectures that scale better than php architectures, and you can have php architectures that are better

[symfony-users] Re: Running out of memory when creating the cache

2009-09-10 Thread Fabian Lange
Hi Gavin, you might not know this, but your solution is not optimal :) The cache takes a serialized version of the routing data. So in order to use sfNoCache still serialisation is done. What is much better, and we are currently discussing to make this default in 1.2 as well is to set the cache

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-26 Thread Fabian Lange
On Tue, Aug 25, 2009 at 8:44 PM, rosbrbaraza...@gmail.com wrote: where package name is (applet) and my class name is Mysocket.class You should have told us before that applet is your package. because the package makes up the folder structure and your codebase needs to point at the path where

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread Fabian Lange
I wonder why noone checks the html documentation of choice before posting. The correct usage is: applet code=MySocket.class width=350 height=80 codebase=/applet/ /applet put MySocket.class to web/applet and no need to play with .htaccess, because there should be the rule that checks if the file

[symfony-users] Re: Memory leaks symfony + doctrine

2009-08-06 Thread Fabian Lange
Jon can comment on Doctrine internals. As far as I can say: wow 50k objects. Try PHP 5.3 because it finally has a GC that not only uses reference counting. Fabian On Thu, Aug 6, 2009 at 1:56 PM, Ken Golovinken.golo...@gmail.com wrote: Hi, I am processing a large XML, the module I created

[symfony-users] Re: select_country_tag - No Serbia but still Yugoslavia

2009-08-05 Thread Fabian Lange
Hello, The data comes from the CLDR (http://cldr.unicode.org/) and was converted by the prado project. There are some resource files in your data/i18 directory which contain this information. you can modify them, but is is not an easy task. We were not able to update the files for some time, so

[symfony-users] Re: Timeout loading yaml files 1MB

2009-07-30 Thread Fabian Lange
sfYaml neither uses spyc nor syck. If you can send me such an 1MB sample file that is slow I can run some benchmarks against it Fabian On Thu, Jul 30, 2009 at 10:06 AM, danielwinterspinw...@gmail.com wrote: Good advice for sure, thank you. Moving data queries of of loops is something I do

[symfony-users] Re: Timeout loading yaml files 1MB

2009-07-30 Thread Fabian Lange
Oh somehow didnt realize you are on 1.0 :) sorry Fabian On Thu, Jul 30, 2009 at 11:06 PM, danielwinterspinw...@gmail.com wrote: I am using Symfony 1.0 in this project and the sfYaml::load() function definitely uses spyc/syck. But perhaps that is a clue - and I should use sfYaml from symfony

[symfony-users] Re: Timeout loading yaml files 1MB

2009-07-29 Thread Fabian Lange
Good advice! I did something similar myself and found exactly the same improvements. Depending on how many objects you insert you might want to increase also the max_memory Fabian On Wed, Jul 29, 2009 at 11:52 AM, Crafty_Shadowvankat...@gmail.com wrote: I have loaded a 6mb yaml fixtures file

[symfony-users] Re: Doctrine Complete Reference

2009-07-28 Thread Fabian Lange
It looks like you are looking for this link: http://www.symfony-project.org/book/1_2/14-Generators --~--~-~--~~~---~--~~ 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] Re: Notice: Undefined Variable: ret

2009-07-28 Thread Fabian Lange
Hi, Looks like a corner case bug for me. Can you send me your sfConfig::get('sf_data_dir').'/sql/sqldb.map' Thanks Fabian On Tue, Jul 28, 2009 at 10:32 AM, MHK ONLYmhko...@gmail.com wrote: Helloo All, when I do symfony propel:build-all on Ubuntu 9 and windows xp both how this can be

[symfony-users] Re: Notice: Undefined Variable: ret

2009-07-28 Thread Fabian Lange
it before the foreach() statement to be sure that is always declared and returned at the end of the method. On 28 juil, 16:25, Fabian Lange fabian.la...@symfony-project.com wrote: Hi, Looks like a corner case bug for me. Can you send me your sfConfig::get('sf_data_dir').'/sql/sqldb.map' Thanks

[symfony-users] symfony 1.2.8 has been released

2009-07-13 Thread Fabian Lange
Dear users, I just released symfony 1.2.8. Please head over to my blog post for more details: http://www.symfony-project.org/blog/2009/07/13/symfony-1-2-8-rolling-back-our-security-fix Fabian --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Conditional forward404 performance

2009-06-24 Thread Fabian Lange
Hello, Yes PHP will process the whole instruction, because it needs to gather all information before making the method call. You need to split this yourself if you have expensive calculations in the second argument. if ( $action-getUser()-getProviderId() != $action-reservProvider-getProviderId()

[symfony-users] Re: symfony version and svn

2009-06-10 Thread Fabian Lange
This is correct. Being on branches means that you are on the development version. If you want to have a specific release just use: http://svn.symfony-project.com/tags/RELEASE_1_2_7 you cannot svn up to update there. if you want to switch release you actually need to svn switch Fabian On

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Fabian Lange
The problem is that PHP has no garbage collector. Once allocated all propel objects stay in memory. And propel has tons of them. The last time I had to load I built my load script by hand, squeezing out everything which was not needed I set the limit to 1gb and after a long time i could import

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Fabian Lange
. I also see the provider is running PHP 5.2.9, whereas I'm running 5.2.8 on my laptop. Cheers, Steve On Jun 10, 2:53 pm, Fabian Lange fabian.la...@symfony-project.com wrote: The problem is that PHP has no garbage collector. Once allocated all propel objects stay in memory. And propel has

[symfony-users] Re: [17794] breaks inclusion of js/css in components

2009-06-03 Thread Fabian Lange
Hi Dennis, You can just include include_stylesheets() and include_javascripts() calls where you want the stuff to go to. if you want to have exactly the same behaviour as before, just put them before the end of the head tag. I dont understand why you think the common filter did something

[symfony-users] Re: [17794] breaks inclusion of js/css in components

2009-06-03 Thread Fabian Lange
:53, Fabian Lange fabian.la...@symfony-project.com wrote: Hi Dennis, You can just include include_stylesheets() and include_javascripts() calls where you want the stuff to go to. if you want to have exactly the same behaviour as before, just put them before the end of the head tag. I

[symfony-users] Re: Symfony website broken

2009-05-31 Thread Fabian Lange
Thanks for the report. I just fixed the installation page Fabian On May 31, 2009, at 2:06 PM, alvaro wrote: Google cache don't work in China :) I tried already On May 31, 2009, at 8:01 PM, Gábor Fási wrote: Googe cache ;)

[symfony-users] Re: Alternative to # as dummy href

2009-05-29 Thread Fabian Lange
Hi, div onClick=javascriptFunction()Link Text/div the link_to is a helper specifically designed to work with links using routes. You actually neither want a link nor a route. so you shouldn't bother using the link _to helper Fabian On May 29, 2009, at 2:08 PM, Gareth McCumskey wrote: Hi

[symfony-users] Re: Symfony with Comet

2009-05-05 Thread Fabian Lange
Hi, there problem is not symfony, but PHP. I made some experiments, and sleeping php threads were way too much hassle. And because there is no scope larger than request where you could exchange data, I gave it up. Fabian 2009/5/5 Daniel González ikar...@gmail.com 2009/5/5 Calvin Jeong

[symfony-users] Re: pear install symfony/symfony fails

2009-05-02 Thread Fabian Lange
Just as side note: we are not very happy with pear, because it causes a lot of troubles, and the recommended way now is to just use a subversion tag checkout :-) Fabian On May 2, 2009, at 10:33 PM, David Ashwood wrote: Try first: pear upgrade PEAR pear upgrade Pear installs aren't

[symfony-users] Re: Can Symfony works with PHP 5.3RC1

2009-05-01 Thread Fabian Lange
And in case you encounter something, let us know so that we can fix it asap Fabian On May 2, 2009, at 12:12 AM, Dustin Whittle wrote: All, Yes, symfony works with PHP5.3 with no problems. - Dustin On 5/1/09 2:19 PM, Eno symb...@gmail.com wrote: On Fri, 1 May 2009, Reynier Perez

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-04-02 Thread Fabian Lange
Fabian Lange wrote: Hi, I added the file_exists. http://trac.symfony-project.org/changeset/16847 Actually the root of all evil is rename() because it doesn't work on windows. PHP Devs ignore that: http://bugs.php.net/bug.php?id=44805 claims it is fixed, but it is not http://bugs.php.net

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-04-01 Thread Fabian Lange
... -J On Tue, Mar 31, 2009 at 7:44 AM, Fabian Lange fabian.la...@symfony-project.com wrote: Hi, could be error reporting. The four digit file exists, because it is the new file that shall replace the old one. Due to the way it is implemented in PHP we need to remove

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-03-31 Thread Fabian Lange
based on the line of code listed in the Exception Stack Trace but it is not. I wonder if this a problem with the error reporting level in PHP? Fabian Lange wrote: Hi, is it this line? http://trac.symfony-project.org/browser/branches/1.2/lib/config/sfConfigCache.class.php#L352 I am a bit

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-03-30 Thread Fabian Lange
Hi, is it this line? http://trac.symfony-project.org/browser/branches/1.2/lib/config/sfConfigCache.class.php#L352 I am a bit confused that you receive an error, because the warning should be suppressed by the preceding @ and the unlink just shouldn't do anything. Clues anyone? Fabian On

[symfony-users] Re: How to access sfWebRequest object from the model

2009-03-21 Thread Fabian Lange
I would do neither! The is the model. It knows about its data, but id does not know where to get it from. It should not. No models should read data from outside themselves. It might be finde to do recalculation of own data, but where should it get the information from? This is exactly the problem

[symfony-users] Re: How to access sfWebRequest object from the model

2009-03-21 Thread Fabian Lange
on another platform like Quercus (Javas PHP implementation) where existence of $_SERVER, $_GET, $_POST is not rock solid. Remember, always supply outside data to model, model shouldn't do that. Cheers, Alan On Sat, Mar 21, 2009 at 11:16 AM, Fabian Lange fabian.la...@symfony

[symfony-users] Re: Company Intranet System on symfony.

2009-02-23 Thread Fabian Lange
10k Employee Company having IT staff asking such questions on a PHP framework mailing list? Strange things happen in this world :-) Fabian PS: you should consider giving money to a company that claims to solve such problems for those who cannot. and hope you are not in such a company already On

[symfony-users] Re: select_country_tag problem on language Hebrew

2009-02-02 Thread Fabian Lange
Hi again, sorry, was the wrong question: why is your language or locale il if it is hebrew, what you were saying it should be he. or if you suffix IL: he_IL Then it should work. Fabian 2009/2/2 Fabian Lange fabian.la...@symfony-project.com Hello, why symfony version were you using? Fabian

[symfony-users] Re: New Print Version of Symfony 1.2 Manual for Doctrine

2009-01-22 Thread Fabian Lange
Hi, the print version in lulu will be updated at least once a week with the corrections. If you however have it on paper on your desk we cannot update your copy anymore :-) Fabian On Thu, Jan 22, 2009 at 5:03 PM, Dean Farrell dfarr...@horizon-research.com wrote: I've been looking at the

[symfony-users] Re: Symfony 1.2 is there a replacement of remote_function in the JavascriptHelper from 1.0?

2009-01-13 Thread Fabian Lange
It is still there. It is just in the sfProtoculousPlugin Fabian On Wed, Jan 14, 2009 at 2:31 AM, James thenet...@gmail.com wrote: Subject says it all. James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Primary key: is varchar ok?

2009-01-12 Thread Fabian Lange
Hi Daniele, you are not on the wrong approach, but let me give you some more information to think about. While I think using the license plate as PK might sound ok in first place, doesn't that mean that the same license plate can NEVER be reused? I dont think that is the case. To identify a

[symfony-users] Re: Column of type ARRAY the Database

2009-01-12 Thread Fabian Lange
Hello, The purpose of an ORM is to support standard SQL datatypes. This ensures that you can switch to a different database. Some ORMs provide functionality for bypassing this abstraction layers, so do Propel and Doctrine. you can always write PDO queries. However the default tooling, like

[symfony-users] symfony 1.2.2 released with Doctrine 1.0.6

2009-01-08 Thread Fabian Lange
Dear symfony community, I am happy to announce the availability of symfony 1.2.2 including tons of Doctrine goodies. Check out my blog posting and the included links for more details: http://www.symfony-project.org/blog/2009/01/08/symfony-1-2-2-doctrine-service-release Enjoy! Fabian the symfony

[symfony-users] Re: new-to-me oop concepts in symfony

2009-01-06 Thread Fabian Lange
Hello, getParameterHolder() returns an object (an instance of sfParameterHolder) Of course you can call methods on the object returned. Here get() or set(). This pattern is called method chaining, and for some people it is good style, for others its bad style. I think it is fine for many short

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Fabian Lange
Hi, Although you'll be able to deploy, you won't be able to build your database from the command line, or clear your cache. You can clear the cache, just delete the cache directory using an FTP tool However you should have all the DB setup deployed from your dev machine as you can't run

[symfony-users] Re: New form framework: displaying non-editable fields

2008-12-28 Thread Fabian Lange
Hi, there is a Ticket about this as well, http://trac.symfony-project.org/ticket/5296 however I think the description at the end of this topic might be good enough: http://www.symfony-project.org/forum/index.php/m/65161/ If you have a simple Plain implementation we might talk fabien in

[symfony-users] Re: Jobeet: Doctrine: Day 3

2008-12-16 Thread Fabian Lange
Hello you have a schema.yml for doctrine in config/doctrine? It looks liek you are building from an empty schema Fabian On Tue, Dec 16, 2008 at 8:48 AM, t...@soe taylor@gmail.com wrote: I am following the tutorial for Jobeet/Doctrine on Day 3. After I created the schema.yml and run

[symfony-users] Re: sfModalBoxPlugin and _options_for_javascript()

2008-12-10 Thread Fabian Lange
Hi, the _options_for_select was an internal method for the Helper, denoted by the leading underscore, we made it a public method by removing the underscore and changed all symfony internal references. However we did not check if anybody else was using the method. So the plugin should be fixed :-)

[symfony-users] Re: Will compat10 be taken out of symfony 1.2?

2008-12-04 Thread Fabian Lange
symfony 1.2 is released and compat10 is still included Fabian On Thu, Dec 4, 2008 at 11:11 AM, roland cruse [EMAIL PROTECTED] wrote: Hi Its reasonable to think that compat10 will stay in symfony 1.2 when it upgrades from Beta, but I am unable to get a definitive answer after a lot of

[symfony-users] Re: Questions related to the new admin generator (sf 1.2.0 + Propel 1.3)

2008-12-02 Thread Fabian Lange
Hi Rytis, somehow the sorting broke recently, I am sorry about this. There is already a ticket and it will be fixed in 1.2.1 http://trac.symfony-project.org/ticket/5123 Fabian On Tue, Dec 2, 2008 at 12:14 PM, Rytis Daugirdas [EMAIL PROTECTED]wrote: Hello, I have the following questions

[symfony-users] Re: tutorial for Symfony 1.1.x

2008-12-02 Thread Fabian Lange
Hi, Even when I would recommend to start with 1.2, I can understand that you might want to go with the older (=more stable) version. If you go with 1.1 you will have no dedicated tutorial, but a lot of documentation. There is however some stuff from 1.2 that fits better to 1.1 than 1.0 stuff from

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Fabian Lange
There are plenty of examples on the site that work, in the blog and in chapter 14 of the book. Which doesnt work? Fabian On Mon, Dec 1, 2008 at 3:05 PM, PaulM [EMAIL PROTECTED] wrote: Does someone have any example that works with the admin generator? I followed the documentation for 1.2 from

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Fabian Lange
Hi, it is not: This chapter describes the way forms were implemented in symfony 1.0. For compatibility reason and because of the admin generator feature still uses this system, this information is also valuable for symfony 1.1. However, if you start a new project with symfony 1.1, you also

[symfony-users] symfony 1.2 has been released

2008-11-30 Thread Fabian Lange
Dear symfony community, I do not want you to miss our symfony 1.2 release. So head over to our blog and check my posting: http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already-available Read it, try the release and tell everybody that it is great, via Twitter, Blogs, Forums,

[symfony-users] Re: sfPropelRouteCollection

2008-11-25 Thread Fabian Lange
Hi Fabien, it is the: with_wildcard_routes option :-) http://trac.symfony-project.org/ticket/5065 Fabian On Nov 25, 2008, at 3:59 PM, Fabien Potencier wrote: It allows you to add some new routes for objects. You can also use the collection_actions to add routes for actions that manages

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread Fabian Lange
Hi, It looks like as the symfony.php you are executing is an 1.0 symfony. Your command works only for 1.1 or better Greetings Fabian On Mon, Nov 24, 2008 at 10:13 AM, lir [EMAIL PROTECTED] wrote: Hey everyone, I'm a new-comer to the Symfony framework and I've started my share of reading of

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread Fabian Lange
://www.symfony-project.com/get/sf_sandbox.tgz refres to the latest stable (1.1). Is there an easy way to upgrade from a symfony 1.0.18 to 1.1 for the sandbox? Regards, Liran. On Nov 24, 11:23 am, Fabian Lange [EMAIL PROTECTED] wrote: Hi, It looks like as the symfony.php you are executing

[symfony-users] Symfony 1.2 beta release available

2008-11-01 Thread Fabian Lange
Ladies and Gentlemen, I am happy to announce that we could release the first beta for symfony 1.2 today. There was already a lot of buzz on this so were are especially happy that we could deliver on time, well one day late :-) Read all the details on

[symfony-users] Re: Setting Javascripts by Environment

2008-10-11 Thread Fabian Lange
Hi Dan, I set a different directory for compressed and uncompressed JS. In Dev this could point to a loader.js which loads all your modules and in prod just loads the one big js file. The directory variable could be set in the settings.yml Regards Fabian From:

[symfony-users] Re: isFirstCall() not working in Symfony 1.0?

2008-10-01 Thread Fabian Lange
Thie isFirstCall() checks if this is the first call to this filter in this request. The next request this will be executed again. If you want to persist some information between requests you are on your own. Put data into the session, create a cookie, check you database, do whatever you like but

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Fabian Lange
Hi David, its very great to see someone actually used tooling to reproduce such measuring. Many people currently just use the Web Debug toolbar to tweak while development. As you asked for further reference, I would like to invite you to check if my slides here give any value for you:

[symfony-users] Re: Best way to switch to Symfony 1.2 and Propel 1.3 during development?

2008-09-29 Thread Fabian Lange
Hi Eddie, If you really have some more months, I would prefer you working on the trunk. That's selfish, because more testers is always better :-) If you don't want to be the guinea pig, then you should think about how much propel 1.2 hurts you already now. It might be easier for you to migrate

[symfony-users] Re: Thinking on documentation and RAD

2008-09-28 Thread Fabian Lange
Hey Saganxis, I agree with you, the new form framework is great but you must remember or keep reading the form API to write code. Are you saying that you think developers should not use APIs to write code? I think those developers produce great 0 LOC per day .: Fabian

[symfony-users] Re: isFirstCall() not working in Symfony 1.0?

2008-09-13 Thread Fabian Lange
Hi, the isFirstCall() is designed to prevent double execution in a single request due to action forwarding. You need to find this out in a different way, for example try to load your cookie and see if you get it. Regards .: Fabian On Sat, Sep 13, 2008 at 2:11 PM, brajesh [EMAIL PROTECTED]

[symfony-users] Re: Using Routing API for parsing

2008-09-11 Thread Fabian Lange
Hi, in 1.0 you cannot do this cleanly, works only with some very ugly hacks that involve overriding the routing class to get access to private methods and manually modifiing current route state. From 1.1 on you can do so by invoking $route =

[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Fabian Lange
Hi, there are quite many threads, topic, and tickets on this :-) You must have found one when searching for it. The point is that you use symfony .htaccess which detcts the period and routes directly to the ressource. you should remove that section. Regards .: Fabian On Thu, Sep 11, 2008 at 2:38

[symfony-users] AW: [symfony-users] Integrating FirePHP in Symfony Core

2008-09-04 Thread Fabian Lange
Hi, I have looked into this. I guess you were the one who made the FirePHP comment in the blog. The main issue I see at the moment is that the debug information is sent in the header. But yes I think that could be integrated. However what do you think is the main benefit of using FirePHP? The Web

[symfony-users] Re: get_partial (string , vars)?

2008-08-30 Thread Fabian Lange
Hi, you mean something like: http://php.net/manual/en/function.sprintf.php Anyway it is recommended to use template files to prevent mixing too much html into php files .: Fabian On Fri, Aug 29, 2008 at 2:01 AM, Mohammad Ali Safari [EMAIL PROTECTED] wrote: One solution is to use the code of

[symfony-users] AW: [symfony-users] DB Column starts with Integer.

2008-08-29 Thread Fabian Lange
Hi Alex, the easiest solution is to create a Read/Write View of that table and give it a different name. Or perhaps your dbms can give a table also an alias using a different mechanism. For usage in PHP Tables and columns have to be valid php names. This also excludes table names like class

[symfony-users] Re: Deleting from database by click

2008-08-27 Thread Fabian Lange
What I like is that this usage is intuitive: foreach($records as $record) { echo link_to_code($record,'delete()', 'Delete'.$recod-getName()); } if the the framework would expose the requested method of the object automatically as an webservice and could inject automatically the correct instance

[symfony-users] Re: Prototype/Script.ac.ul.ous/Javascript in Symfony 1.1.1

2008-08-26 Thread Fabian Lange
is due very soon from what I have read? On Aug 24, 8:21 pm, Fabian Lange [EMAIL PROTECTED] wrote: Hi, Prototype has not been removed. It will be moved to a plugin for symfony 1.2. In 1.1 it is there as it has been in 1.0: Via symlink /sf/prototype/js It was never installed

[symfony-users] AW: [symfony-users] Prototype/Script.ac.ul.ous/Javascript in Symfony 1.1.1

2008-08-24 Thread Fabian Lange
Hi, Prototype has not been removed. It will be moved to a plugin for symfony 1.2. In 1.1 it is there as it has been in 1.0: Via symlink /sf/prototype/js It was never installed by symfony itself into web/js/prototype, but actually many users did so to upgrade manually Best regards .: Fabian

[symfony-users] Re: Symfony database connection problem

2008-07-11 Thread Fabian Lange
Well, as symfony only opens the connection when it needs it (e.g. when you coded it) There is nothing you can do. Thats a limitation of PHP you cant do resource pooling. You need to allow as many connections as you need. .:Fabian On Fri, Jul 11, 2008 at 9:24 AM, Ridvan Lakas ng Bayan S. Baluyos

[symfony-users] Re: Full library of freeze

2008-07-11 Thread Fabian Lange
I have as well, cause its easier to upgrade :-) .: Fabian On Fri, Jul 11, 2008 at 3:50 AM, James [EMAIL PROTECTED] wrote: I have he full library installed, though I know it's not needed. James On Jul 10, 2008, at 9:27 PM, Tom Haskins-Vaughan wrote: Hi, I'm not sure if this has

[symfony-users] Volunteer wanted for updating i18n files

2008-07-02 Thread Fabian Lange
Hello everybody, as some of you might now the I18N data files that are used by symfony come from the Prado project. However The latest update from Prado on this files is 2 years old. The source of those prado files comes from: http://bugs.icu-project.org/trac/browser/icu/trunk/source/data/locales

[symfony-users] Re: API docs down

2008-07-02 Thread Fabian Lange
They do work on my end here On Wed, Jul 2, 2008 at 2:40 AM, Charles Hilditch [EMAIL PROTECTED] wrote: Hi list, The API docs are down: http://www.symfony-project.org/api/1_0/ Just displaying a blank page. Is someone able to fix this? -- Charles Hilditch Web Developer

[symfony-users] Re: DOMElement::setAttribute() error in sfFillInForm.class

2008-06-19 Thread Fabian Lange
? On Jun 18, 9:35 pm, Fabian Lange [EMAIL PROTECTED] wrote: Hi, are you sure? Can you run the unit test in test\unit\util\sfFillinFormTest.php ? This has multiple tests for this and they do work for me. .: Fabian On Wed, Jun 18, 2008 at 3:28 PM, gestadieu [EMAIL PROTECTED

[symfony-users] Fixed broken sfDatabaseSessionStorage (hopefully)

2008-06-19 Thread Fabian Lange
Hi Guys, there have been recently some bugs raised about storing sessions in database in symfony 1.1 Reason for this was a refactoring that made all of the different types of SessionStorage use the same class hierarchy and common functionality. However there have been tiny bits that needed to be

[symfony-users] Re: DOMElement::setAttribute() error in sfFillInForm.class

2008-06-18 Thread Fabian Lange
Hi, are you sure? Can you run the unit test in test\unit\util\sfFillinFormTest.php ? This has multiple tests for this and they do work for me. .: Fabian On Wed, Jun 18, 2008 at 3:28 PM, gestadieu [EMAIL PROTECTED] wrote: Hi all, I've been looking all around to fix this problem...no luck!

[symfony-users] Re: a _partial rant

2008-06-18 Thread Fabian Lange
Hi Daevid, you are missing the design concept of partials. They are not intended to throw in arbitrary code you don't know what it does into the global namespace. Imagine a partial that does this User/_display.php: ?php echo link_to($user-getName(),$user-getMail()) ? Now you want to display

[symfony-users] Re: sfPropelPlugin (Propel 1.3) and Logging

2008-05-31 Thread Fabian Lange
Hi Michael, I guess there is a small issue with inheriting the log level in the Aggregate logger, New 1.1 projects created will already have the levels defined in the nested loggers. .: Fabian -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[symfony-users] Re: Rich date field is diabled when using AJAX

2008-05-29 Thread Fabian Lange
That is because you are using a helper, that as side effect would make javascript and css available to the browser. but as you are returning ajax stuff only this isnt added to the response that has been already rendered in the browser. in short: on every page that uses ajax that could return some

[symfony-users] Re: redirect() and http header

2008-05-23 Thread Fabian Lange
The nonbonus answer is: It is by default a 302 status code .: Fabian -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Rabaix Sent: Freitag, 23. Mai 2008 18:10 To: symfony-users@googlegroups.com Subject: [symfony-users] Re: redirect()

[symfony-users] Re: Some pages rendering as non-XHTML

2008-05-18 Thread Fabian Lange
Hi, Make sure that you specify xml content type for your pages on the fillin filter: http://www.symfony-project.org/book/1_0/10-Forms#Repopulating%20the%20Form There are pros and cons with both, just caused by the way the fillin works. It will fail when specified xml but the document has even

[symfony-users] Re: SO: Documentation about new Symfony 1.1 Features

2008-04-29 Thread Fabian Lange
Hey, you might want to take a look at: http://www.symfony-project.org/blog/2008/03/25/symfony-1-1-beta-2-released-w hat-s-new a quite compact listing of all major changes from 1.0 to 1.1 Regards .:Fabian -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]

[symfony-users] Re: Upgrading to symfony 1.1: Slowness and slots

2008-04-22 Thread Fabian Lange
Just an addition in Propel 1.2 especially, and in Propel 1.3 to some extend the whole model classes are deeply interlinked. Putting the user into session will put many more objects into the session. I haven't checked the new Debug Toolbar code yet, but if that would go through all the objects and

  1   2   >