[symfony-users] Realtime Applications using Comet and Symfony

2009-10-12 Thread kayoone
I have been researching alot of realtime web technologies to a point where i am just pretty confused on how everything should work together, so i wonder if anyone has any experience in this field yet ? When you dig around google and read up on that topic you find alot of new technologies and

[symfony-users] Getting large amounts of realtime Data into a symfony application

2009-09-28 Thread kayoone
Hello, in the last days i have been thinking alot about some kind of architecture for an upcoming project, but my limited experience in that field makes it really hard to decide on possible solutions, so i thought that id ask the symfony community for help :) The basic setup is this: On the one

[symfony-users] Re: symfony template vs smarty

2009-09-28 Thread kayoone
not too much difference since both compile to php files. Smarty has its own syntax though which you have to learn and which has limits, while the symfonys template component uses standard php which can do anything you want it todo without writing workarounds in smarty... also one could argue

[symfony-users] Symfony 1.2 sfDoctrineGuardPlugin saves related rows twice

2008-11-18 Thread kayoone
So i have the the latest version of symfony 1.2 and sfDoctrineGuardPlugin. I already has this working in 1.1 but now in 1.2 its giving me headaches... This is what happens: Form Validation etc all works perfect, all the data gets created, also related table data gets created. It creates a

[symfony-users] Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-11-13 Thread kayoone
so i upgraded to sf 1.2 today and have this register form that worked in 1.1 but in 1.2 it gives me the following error that doesnt say much: 500 | Internal Server Error | Doctrine_Validator_Exception Validation error in class sfGuardUser stack trace * at () in

[symfony-users] Re: embed propel forms

2008-10-30 Thread kayoone
Hi Jonathan, that doesnt make a difference :/ there are atleast 3 other people on irc/the forums curious about this i am using sf 1.1 with the latest doctrine 1.1 branch from the repo --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: embed propel forms

2008-10-30 Thread kayoone
, Oct 30, 2008 at 8:53 AM, kayoone [EMAIL PROTECTED] wrote: Hi Jonathan, that doesnt make a difference :/ there are atleast 3 other people on irc/the forums curious about this i am using sf 1.1 with the latest doctrine 1.1 branch from the repo -- Jonathan H. Wage Open Source Software

[symfony-users] Re: embed propel forms

2008-10-30 Thread kayoone
complete and updated code: http://nopaste.php-q.net/66370 --~--~-~--~~~---~--~~ 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

[symfony-users] Re: embed propel forms

2008-10-30 Thread kayoone
'); ? method=POST   table     ?php echo $form; ?   /table   input type=submit name=save value=save / /form On Thu, Oct 30, 2008 at 9:49 AM, kayoone [EMAIL PROTECTED] wrote: complete and updated code: http://nopaste.php-q.net/66370 -- Jonathan H. Wage Open Source Software Developer

[symfony-users] Re: embed propel forms

2008-10-29 Thread kayoone
embedded forms drive me mad... i dont get what you guys are mean... in the BasesfGuardUserForm Classes that get generates, there is nothing regarding an embedded form... i have my schema setup to link to a profile like this: UserProfile: actAs: [Sluggable, Timestampable] tableName:

[symfony-users] Re: embed propel forms

2008-10-29 Thread kayoone
thank you, but i figured that out already. In the posts above they said to look at the sfGuard Forms to get a hang of form embedding, its just that i cant find anything... I got my embedded profile form together with the sfGuardForm, but when processing and calling $this-form-save() only the

[symfony-users] Re: embed propel forms

2008-10-29 Thread kayoone
you can view my code here, quite simple, just testing http://nopaste.php-q.net/66103 the profile is saved, but there is no new guarduser being created with it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] symfony 1.1 : how to set global errors

2008-10-27 Thread kayoone
Hi there, i have recently started playing around with symfony 1.1 for a new project and really like it. I even like the new form system quite alot. However, i ran into a problem where i dont know how to solve it in a good way... In my older symfony 1.0 applications i used to have an area where

[symfony-users] Re: Sub domains

2008-07-04 Thread kayoone
@Mark i think what he means is that if he is using url_for() or link_to() in the templates, that it wont produce Urls with the subdomains... is there a way to solve that ? Maybe the simplest solution would be to make a link helper that wraps around the basic symfony link helpers On 4 Jul.,

[symfony-users] Re: Multiple Front end servers and sflucene.

2008-06-09 Thread kayoone
another option would be to sync the index data between the servers with rsync, which would also lead to better load balance for the index files. On Jun 8, 5:10 pm, James [EMAIL PROTECTED] wrote: Is there a better answer, NFS is not an option I want to explore. Part of the reason is security.

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-08 Thread kayoone
having every user ping the server every X seconds with an ajay request is not that good performance wise... imagine you have 2000 concurrent users on the site, that would result in bazillion more requests per minute (if you ping every 15sec for example). You have to save the time of the last

[symfony-users] Re: How do you sync your production db ?

2008-05-22 Thread kayoone
thanks for all the informative answers, good stuff! --~--~-~--~~~---~--~~ 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

[symfony-users] Re: How do you sync your production db ?

2008-05-21 Thread kayoone
such a subjet ^^ On 20 mai, 18:42, kayoone [EMAIL PROTECTED] wrote: symfony has nice features to deploy your applications and to create the database from the schema files etc. However, once you got data on your production machine its not that easy to keep the database layout in sync, so

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-20 Thread kayoone
got it now... the problem was that I use DbDesigner to model the database where i cant make a relationship to a table thats not in the current layout, so no way to make a relationship to a table of a plugin. This however works when i use the yml file for editing the db layout, so i think

[symfony-users] How do you sync your production db ?

2008-05-20 Thread kayoone
symfony has nice features to deploy your applications and to create the database from the schema files etc. However, once you got data on your production machine its not that easy to keep the database layout in sync, so how do you do it ? Since my symfony project is not production ready i am

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-20 Thread kayoone
[mailto:symfony- [EMAIL PROTECTED] On Behalf Of kayoone Sent: Tuesday, May 20, 2008 3:28 PM To: symfony users Subject: [symfony-users] Re: sfGuardPlugin DB Layout Question got it now... the problem was that I use DbDesigner to model the database where i cant make a relationship to a table thats

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-19 Thread kayoone
nobody using sfGuard for complex projects? Common :) I dont see a problem i using the profile_id to link it with site content, but it would need 2 joins then to get the username. eg: $article-getMemberProfile()-getsfGuardUser()-getUsername() That would result in more complex queries, which

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-19 Thread kayoone
[EMAIL PROTECTED] wrote: Yes, but with a 1:1 relationship they'll both be the same number. They should never be different unless you've manually altered your database. But you can use constraints to further enforce this :) On 19 May 2008, at 13:31, kayoone wrote: but propel objects need

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-19 Thread kayoone
need to modfiy the data in sf_guard_user table... so it doesn't make sense to be working with user objects directly. I'm not sure if that's the *correct* way of doing it, but it's efficient, and it works for me :) On 19 May 2008, at 16:08, kayoone wrote: mmh...the thing is, i dont want

[symfony-users] Re: Modules vs Plugins

2008-05-18 Thread kayoone
thx for your answer! On 17 Mai, 20:26, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: For your first question : modules should be specific to a project, plugins are made for reusability. Of course you can svn:externals a module, and it will be the same, but : - whenever you have to make a

[symfony-users] sfGuardPlugin DB Layout Question

2008-05-18 Thread kayoone
Hi there, i use sfGuard in a recent project for the first time and am pretty happy with it, however i ran into an issue id like to sahre with you / hear your opinion on. sfGuard has a basic user table and a profile table which i can link with the user table, for that sfGuard has its own

[symfony-users] Modules vs Plugins

2008-05-17 Thread kayoone
Hi all, i am wondering what the benefits are in using plugins vs moduls, or if there are any at all. Many of the modules which are developed for an application cant be reused in future projects, atleast thats what i plan to do, so that when you have 4-5 Projects which all use most of the same

[symfony-users] Re: Best way to test sending of emails in development?

2008-05-16 Thread kayoone
i use the Swift SMTP Class for sending emails, there also is a plugin called sfSwift to easily install everything ready for symfony. As the smtp server i just use my regular mail hosts server. On May 15, 10:19 am, markchicobaby [EMAIL PROTECTED] wrote: Does anyone test sending of emails in a