Re: [symfony-users] Social network with symfony ?

2011-02-16 Thread Macvek
I think symfony is a great tool for fast development, and this is the main purpose I'm using it. In case of building social network, there are better technologies like Java or .NET which can outperform PHP and are not bound to request->processing->responce model. It is possible to build large soci

Re: [symfony-users] Netbeans with sudo root permission problem

2011-02-16 Thread Macvek
Hi, You can always make directory in /var/www/UserName which belongs to user and servers only php scripts, which should be read-only for apache and have a directory /var/www/UserName/share, with mask 777 (or owned by www-data) for files used by scripts. On the other hand Symfony doesn't have to b

Re: [symfony-users] Best practice to use Eclipse PDT and symfony?

2010-12-13 Thread Macvek
I've recently worked on a small project using PDT. For errors: I didn't figured how to remove error checking from symfony directory. It wasn't a problem, cause Eclipse shows an icon on files which have errors. Eclipse should index your code, and it will propably check the lib/vendor/symfony, so i

Re: [symfony-users] Re: Memory size in a task

2010-11-30 Thread Macvek
t; Can I configure this in the .htaccess as well? > > On 30 nov, 17:31, Macvek wrote: >> Hi, >> >> You should edit 'memory_limit' in your php.ini. I've set it to 128M >> and every task works well. >> >> Regards, >> Maciej Aleksandrowicz

Re: [symfony-users] Memory size in a task

2010-11-30 Thread Macvek
Hi, You should edit 'memory_limit' in your php.ini. I've set it to 128M and every task works well. Regards, Maciej Aleksandrowicz 2010/11/30 HAUSa : > If I run a task created in my lib/task folder, I get this error: > > PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted > (tried

Re: [symfony-users] Execute code after deliverig content to the user

2010-11-10 Thread Macvek
Hi, You can invoke php code by using ajax from rendered page. As far as I know, php is processed during time of connection and after its exit, apache closes connection. Regards, Maciej Aleksandrowicz 2010/11/10 torok84 : > I am developping a site in wichi I use PHP Lucene for full text > indexi

Re: [symfony-users] Question: The best way to embed javascript : in parial or in js files

2010-11-04 Thread Macvek
> Yup except you missed one point. His problem is that he wants to load > javascript on request when specific partials/templatea are > loaded into the > layout, possibly even through ajax requests. My answer for this is to create a object for holding actions. When I load some html through ajax,

Re: [symfony-users] Question: The best way to embed javascript : in parial or in js files

2010-11-04 Thread Macvek
If JS is not generated dynamically and it doesn't generate html (document.write) then the best way is to put it in file and refer by js helper ( use_javascript() ). Then to run the code, you bind to DOM Load event to execute js. In jQuery it is $(document).ready( ... ). Encapsulating js in file l

Re: [symfony-users] Day 3 output does not show graphically

2010-10-22 Thread Macvek
If it is a problem with alias, then You should copy aliased contents to htdocs/sf which will solve it. Also try to get css files in browser by direct access. BTW. At the end of day 3 you are not suppose to see /job with graphical contents, which is configured in day 4: The Stylesheets, Images, an

Re: [symfony-users] Remove column through schema.yml (Doctrine)

2010-10-22 Thread Macvek
... MY BAD ... it is for propel ... 2010/10/22 Macvek : > Hi, > > I've found it in 5 secounds and never tried, but this plugins should > do the trick. > > http://www.symfony-project.org/plugins/sfPropelSqlDiffPlugin/0_1_6 > > IN THEORY: > Just create a new schema

Re: [symfony-users] Remove column through schema.yml (Doctrine)

2010-10-22 Thread Macvek
Hi, I've found it in 5 secounds and never tried, but this plugins should do the trick. http://www.symfony-project.org/plugins/sfPropelSqlDiffPlugin/0_1_6 IN THEORY: Just create a new schema with column removed and then use plugin to create a sql diff database. The diff should create an alter sta

Re: [symfony-users] Different types of admins

2010-10-20 Thread Macvek
I've worked on a similar project. As the system required authentication for every possible action, I've created every module in the frontend. Then there was a login module which, after positive authentication, set a variable in the $this->getUser() property indicating rights the user had. Then in

Re: [symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread Macvek
You should look for university projects where they give free accounts for testing. But I've never heard of the professional hosting company with free ssh access. There are many security issues with shell access and administrators don't give such a service for free. AFTER GOOGLE SEARCH: I've foun

Re: [symfony-users] Re: Form Submition

2010-10-13 Thread Macvek
In Jobeet tutorial : http://www.symfony-project.org/jobeet/1_4/Doctrine/en/10 There is an example in "Job Activation and Publication" Regards, Maciej Aleksandrowicz 2010/10/12 guiguiboy > > As Christopher Schnell said, you have to use flash messages. > > Guillaume B. > > On 12 oct, 05:49, farha