On Tue, Mar 22, 2011 at 11:35 PM, Lixin Yu lixinf...@gmail.com wrote:
So, is 'return null' a good/bad practice in php?
If you return null consistently as a none value, it's not a bad one. If
you're inconsistent about it, or if you use it in places where it wouldn't
make much sense, it would
On Thu, Mar 24, 2011 at 11:28 AM, Tristan tristan.bessou...@gmail.comwrote:
Hello,
We've just released amazing stylesheets for Symfony2 and Doctrine2.
Don't hesitate to tell us what you think.
http://www.elao.org/symfony-2/doctrine-2/symfony-2-doctrine-2-cheat-sheets.html
I've been
On Thu, Apr 7, 2011 at 4:36 AM, OnDistantShores cameron.r...@gmail.comwrote:
I'm used to using MVC where models can serialise themselves (into an
array, which is easily JSON-able).
I'm trying to build an API app where multiple views in multiple
modules serialise the same object. I can easily
On Fri, Apr 8, 2011 at 4:09 AM, Ruben de Vries rubensay...@gmail.comwrote:
Maybe splitting up the google group for sf1 and sf2 would make it
easier to search for answers to
+1 . It would also be really nice if one of the forum or the group were a
mirror of the other -- I've seen some places
On Wed, Apr 13, 2011 at 9:48 AM, Helloise Smit
helloi...@miranetworks.netwrote:
i created a simlink:
helloises@helloise:/var/www$ sudo ln -s /home/elemental/webroot
/var/www/www-rainbowcode-mobi
when i ls -lah this simlink:
lrwxrwxrwx 1 root root 23 2011-04-13 15:23 www-rainbowcode-mobi -
On Sat, Apr 16, 2011 at 11:23 PM, Geoff G geoffreyfish...@gmail.com wrote:
Yes, but you can create that table in phpMyAdmin, so this is obviously a
bug in doctrine.
http://www.doctrine-project.org/docs/orm/2.0/en/reference/best-practices.html?highlight=reserved#don-t-use-identifier-quoting
On Sun, Apr 17, 2011 at 12:34 PM, A A kaupa...@gmail.com wrote:
Thank you, guys!
But maybe I'm too captious, but it doesn't seem to be convenient way to
implement 'beforeActionRun' for each controller. I registered
'onControllerRequest' listener. But what should I do further: making switch
On Sun, Apr 17, 2011 at 7:25 AM, Ruben de Vries rubensay...@gmail.comwrote:
So? Is it me? Or is Twig really getting the upper hand?
Twig rocks. Its code is clean and it has well-defined extension points, and
it's a pretty well designed library for its purposes. I can't say the same
about PHP
On Thu, Apr 21, 2011 at 1:41 PM, melopoeia epereira...@gmail.com wrote:
what's wrong ?
Do you have it defined in your config.yml? You should have something along
the lines of:
services:
my_twig_thing:
class: My\Twig\Thing
tags:
- { name: twig.extension }
--
If it helps anyone, here's what I've been doing for a project using symfony2
to keep up with PR releases:
I have my project in a git repo. When there's a new PR release, I download
that, extract it into a different directory, and copy the .git from my
project into it. Then I git
2011/4/25 Sebastian Göttschkes sebastian.goettsch...@googlemail.com
Hi,
I'm reading the docs about Testing right now, and I got confused over the
usage of count() and -count():
http://symfony.com/doc/2.0/book/testing.html
Under the headline Usefull Assertions it says in the first example
On Tue, May 3, 2011 at 6:32 PM, Laurus laurusgroup@gmail.com wrote:
I understand that GoDaddy is not the best webhosting but there are a
lot of clients who use them. It will be very nice if we are able to
solve this issue.
Solving it is godaddy updates their supported php versions to be
On Wed, May 4, 2011 at 9:58 AM, umpirsky umpir...@gmail.com wrote:
Looks like there is no doctrine:generate:repositories command in
Symfony2 beta1.
Is it removed? How can I generate repostories now?
All it did was make an empty class. If you're using YAML mapping, just put
repositoryClass:
On Thu, May 5, 2011 at 6:30 AM, Laurus laurusgroup@gmail.com wrote:
This problem is not caused by old PHP version. With phpinfo() I see
that they are running PHP 5.3.6. It is something else.. But still
don't know what :(
Weird, everything I can find on their site suggests that the latest
On Thu, May 12, 2011 at 6:00 AM, Fran franm...@gmail.com wrote:
Hi!
I have a Symfony project with Git and we are three developers, two of
us are working on a develop branch and the other one is working in a
new branch with new features, the problem is the changes in the
database and the
On Fri, May 13, 2011 at 2:52 AM, Fran franm...@gmail.com wrote:
Thanks for answering,
Yes, each developer works in his own database in his dev machine. The
problem is that if we are in migrate version 30 for example and each
developer makes changes in the database, each developer would have
On Mon, May 16, 2011 at 1:15 PM, keymaster ad...@optionosophy.com wrote:
Having all the symfony 1.x releases mixed in with Symfony 2 posts can
sometimes make it difficult to discern which Symfony people are talking
about in their posts.
Not everyone is explicit on whether they are referring
On Tue, May 17, 2011 at 2:45 AM, Gareth McCumskey gmccums...@gmail.comwrote:
I don't think this is a good idea. I often have a few minutes spare in my
busy day and can quickly browse my inbox to see if there are any people I
can help. Pushing everything to the forums will mean less people that
On Thu, Jun 9, 2011 at 4:20 PM, Chris Sedlmayr ch...@sedlmayr.co.uk wrote:
I can't say that i've ever found groups to be an easy way to find
information, and generally the posts I moderate seem to re-appear.
People are struggling to find what they are looking for and I don't
necessarily think
On Mon, Jun 13, 2011 at 9:47 AM, Insight Media Tech
culori.me...@gmail.comwrote:
. I however agree that the community should not be split, at least not by
creating 2 mailing lists.
The issue with this is that there are two distinct communities -- sf1.x and
sf2, and the vast majority of the
On Tue, Jun 14, 2011 at 12:52 PM, waldo2188 waldo2...@gmail.com wrote:
Hi,
I wish to know how i can execute some DQL(Doctrine Query Language)
from a unit test file.
I just want to have access to my Entity for test some function.
The unit test will be run with PHPUnit.
use
On Thu, Jun 16, 2011 at 4:24 AM, waldo2188 waldo2...@gmail.com wrote:
Thanks for your response, but, *$this* hasn't method named *getService* .
Oh, sorry about that. I forgot that I had defined the getService method :/.
From your other response, it looks like you figured it out though, sorry
On Tue, Jun 21, 2011 at 8:26 AM, Kaipi Yann ydani...@gmail.com wrote:
What solution we have ?
- Override the UserSecurityIdentity so the from account method of the
class...but how can I manage to override this class ?
- Update the UserSecurityIdentity when the user change his email : But I
On Tue, Jun 21, 2011 at 6:10 AM, keymaster ad...@optionosophy.com wrote:
On Tuesday, June 21, 2011 9:59:52 AM UTC+3, Christophe COEVOET wrote:
Each third party bundle provided by the SE will have its
own release lifecycle, not necessarily tied with Symfony release
schedules.
Will there
On Tue, Jun 21, 2011 at 5:00 AM, Vaibhav Rajput rajput...@gmail.com wrote:
Thanks for giving me quick reply Christophe
3) intl : with xampp, version of the intl is 3.6 and symfony 2 requires
4.* .. i have downloaded and configured intl 4.0 and all required dll... but
than also it's giving
On Tue, Jun 21, 2011 at 9:54 AM, Christophe COEVOET s...@notk.org wrote:
**
Le 21/06/2011 15:36, Jeremiah Dodds a écrit :
On Tue, Jun 21, 2011 at 6:10 AM, keymaster ad...@optionosophy.com wrote:
On Tuesday, June 21, 2011 9:59:52 AM UTC+3, Christophe COEVOET wrote:
Each third party
2011/6/21 Fabien Potencier fabien.potenc...@symfony-project.com
I've been thinking about this mailing-list issue a lot during the last few
months and I'm still convinced that creating more mailing-lists is not the
right solution. Anyway, as many people think the contrary, here is what I
On Tue, Jun 21, 2011 at 12:02 PM, Luis Cordova cordo...@gmail.com wrote:
splitting is counterproductive, we can always hit delete
I myself hit a ton of deletes even with sf2 and I am for sf2, so i
think people is having too thin of a skin.
If you think the use of a 1.x branch of a popular
On Tue, Jun 21, 2011 at 11:25 AM, keymaster ad...@optionosophy.com wrote:
*bin/vendors* script (the deps file that is used by this script is
intended to be modified to add your own dependencies if you want to use
this way to manage the dependencies).
Thanks, that's great to know.
Is
On Wed, Jun 22, 2011 at 11:41 AM, theinterned ned...@gmail.com wrote:
Hi,
I am looking around for a solution to load seed data into my project.
Until now, I have been using fixtures to load the data, but of course
this gets very dangerous when you have live, non static data on your
30 matches
Mail list logo