hi! have a look in the cache/*container*.php and look at the
getDoctrine_orm_*service methods. the Configuration class on
EntityManager gives you a way to configure the namespaces used in a
Dql query.
sorry, with ODM it's DocumentManager
On 13 sep, 08:11, Florian sideral.undergro...@gmail.com wrote:
hi! have a look in the cache/*container*.php and look at the
getDoctrine_orm_*service methods. the Configuration class on
EntityManager gives you a way to configure the namespaces used in a
Dql
Hello everyone,
Suppose we have a Project with three applications — A, B and C. Our
team: Jack, Susan and Martin. And one project leader — David. Each
programmer is working on their own application:
A - Jack
B - Susan
C - Martin
So, there is a problem with source code management. How to
hi for extjs, have a look at atollExt3Plugin
On 10 sep, 16:09, Daniel Toffetti dto...@gmail.com wrote:
Greg,
I've never heard of it and have to take a deeper look, but the
idea of sending all the business logic to the client sounds weird to
me, and besides we want to minimize the coding
I play Symfony2 and Doctrine2 for two weeks, and I came from
Java(5years) and Python/Django(3years). My questions:
1. Doctrine2 is so like Java Hibernate and is too heavy, I don't like
that, for example, why not use pulic properties directly instead of
setter and getter in the entity class.
2.
How do you manage the case which symfony actions are different between
mobile and not mobile website ?
Case Study : Home page
In the not mobile website, we could display 3 modules (each connected
to some data in database)
In the mobile, we could only display 1 module
Note: in this case, only
On Sun, Sep 12, 2010 at 2:20 PM, Davide Borsatto lloy...@gmail.com wrote:
Which generated file are you referring to? It may be a Propel or
Doctrine issue.
The tabs are indeed in the model files, auto generated by Propel 1.4.2.
Thanks for pointing me in the right direction. Now it would be nice
$alumnos_internos = $this-getObject()-getgetAlumnoInternos();
$alumno_interno = $alumnos_internos[0];
Debes hacer eso porque en schema.yml no definiste la relación como uno
a uno
basta que con sólo definas:
type: one
foreignType: one
y cambia el foreignAlias a AlumnoInterno
en las relaciones
Hi
I have been struggling with this functionality for more than a week
now and really hope someone can help me.
In the doctrine/schema.yml file, I specify a column code to be
unique. i.e.
code:
type: string(10)
fixed: false
unsigned: false
primary: false
default: ''
In Practical symfony for Propel, it says:
The /job/show/id/1 URL can be created from a template by using the
following call to the url_for() helper:
url_for('job/show?id='.$job-getId())
You can also use the route name by prefixing it by @:
You might have forgotten to output $form-renderHiddenFields(false); in your
template? Please check that the ID of your object is there in your edit
screen's HTML.
Cheers, Daniel
Sent from my iPhone4
On Sep 13, 2010, at 1:58 PM, corneliusparkin cornelius.par...@gmail.com wrote:
Hi
I have
Merci de votre message.
Je suis présentement absent du bureau. Je serai de retour le 25 septembre.
L'accès à mes courriels pourrait être limité durant cette période.
En cas d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un
courriel à l’adresse suivante:
...and ommit later on.
2010/9/13 Alan Bem alan@gmail.com
@default route specify module and action names as parameters, thats why
they are present in that internal uri you paste
default:
url: /:module/:action/*
but in the end you can hardcode them in routing.yml
--
If you want
Hi Daniel... Thank you so much!!
The problem was that I unset the id field in the form. I did not know that
it was supposed to be included in the form because it was present in the
URI. I hope this also helps someone else whom faces this problem...
Thanks again...
Regards
CAP
On Mon, Sep 13,
On 13 Set, 13:35, Felix E. Klee felix.k...@inka.de wrote:
On Sun, Sep 12, 2010 at 2:20 PM, Davide Borsatto lloy...@gmail.com wrote:
Which generated file are you referring to? It may be a Propel or
Doctrine issue.
The tabs are indeed in the model files, auto generated by Propel 1.4.2.
Thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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
Shouldn't the documentation then read as follows?
the module and action names may be omitted in the internal URI, if
hardcoded in routing.yml
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you
On 12 sep, 16:23, Fangzx fangzhoux...@gmail.com wrote:
I play Symfony2 and Doctrine2 for two weeks, and I came from
Java(5years) and Python/Django(3years). My questions:
1. Doctrine2 is so like Java Hibernate and is too heavy, I don't like
that, for example, why not use pulic properties
I'm interested in trying Doctrine 2, but the setters / getters thing that
the OP mentions concerns me a little.
In my own ORM, I use the __set and __get methods to have a consistent access
method for properties on my entities. e.g.
class Entity {
public function __set ($property, $value) {
Have you read this :
http://propel.posterous.com/propel2-will-be-an-activerecord-implementatio ?
Doctrine2 ensure performances of DBAL and provides ORM tools. Propel2 would
be an Active Record implementation over this.
These solutions are in development, you cannot yet get a full-featured
It's not matter of git, but rather the matter of your development
strategy.
If your apps are supposed to work within one project, then one repo is
what you need, if these apps are in fact three different projects,
then second idea is right.
You can always have different branches for each
Doctrine2 does provide this flexibility, the only snag is that there
is a PHP limitation on public properties (When using Proxies for
partial loads, a public property will misbehave). Any mapped
properties must be protected or private.
Thanks for the reply, but this is the configuration for Symfony1.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group,
On 9/12/10 4:23 PM, Fangzx wrote:
I play Symfony2 and Doctrine2 for two weeks, and I came from
Java(5years) and Python/Django(3years). My questions:
1. Doctrine2 is so like Java Hibernate and is too heavy, I don't like
that, for example, why not use pulic properties directly instead of
setter
Hey guys,
I've been eagerly awaiting Symfony 2, but I see that the public site
now says it's not expected until March. Unfortunate, but no big deal.
I'd rather have the team do it right than do it fast.
Anyway, I've was planning (and still am planning) to program my new
project with Symfony 2.
Glancing through the code, the default option(what setDefault() does
on a widget) doesn't seem to be used at all in the choice widgets.
At any rate, you should be using the form's default fields, instead
of the widget's.
$this-setDefault('priority', max(...));
The widget's default value(if used
On Sep 10, 10:51 pm, Alejandro Gómez
alejandro.go...@alejandrogomez.org wrote:
I don't know why but embedRelation('AlumnoInterno') did not work.
Maybe the Propel version?
Symfony throws me Call to undefined method
AlumnoForm::embedRelation.
Are you using Propel?
In the other hand, I used
On 9/14/10 1:59 AM, Craige wrote:
Hey guys,
I've been eagerly awaiting Symfony 2, but I see that the public site
now says it's not expected until March. Unfortunate, but no big deal.
I'd rather have the team do it right than do it fast.
Anyway, I've was planning (and still am planning) to
28 matches
Mail list logo