Hi,
Netbeans can launch xdebug for any php application. You have to configure
your project url and start page to launche xdebug process.
The watches does not work and make xdebug crash, but all variables view,
call stack, step by step execution and breakpoints work juste fine.
A good start point
Hi,
I would make it using a task which uses sfBrowser on the ajax urls,
eventually using DB queries to generate them. If you use html cache it
should do the job. The only thing is to run the task with the good env
argument so it generates cache for 'prod'.
Now if you use sfViewCacheManager, it se
I've done it by adding specific layout, templates and stylesheet to the
existing app.
You can trigger events in your project configuration upon user agent to change
templates and specific configuration.
The strategy to use another app depends wether your mobile app should have the
same functi
I think most javascript frameworks add this header to the request
automatically, I don't know if its done using plain javascript.
I once had this issue using mootools but it was a bug in our JS code
overwriting all http header instead of adding the needed one, and not a symfony
bug.
Regards
-
Hello,
If you use a form to generate CSRF token, juste put a method="get" attribute in
your form opening tag.
Otherwise I think you could use a specific route with named parameter, and use
a form only to generate and validate the token.
Benoit
-Original Message-
From: Super-OTR.de
You could achieve this with various commercial solutions, like those quoted by
Jochem. Others exists but as far as I know none for free or opensource.
Another option is to go with a redistribuale VM (appliance) or create a custom
ubuntu bootable cd that start servers and browser...
Good luck
Hi,
If you have to share functionnality accross multiple apps / customers / access
the best way imho is to put everithing in plugins.
As in symfony 1.4 the application is required to access plugins, you can use 3
kinds of plugins :
- Application plugins : direct port from the current app. It co
Hi,
It seems to search to __ calls only in template/partials.
You can add them manually in xliff file, as long as you keep IDs incremented.
Regards,
Benoit
-Original Message-
From: Tristan
Sent: lundi 9 août 2010 19:49
To: symfony users
Subject: [symfony-users] L18N helper not extra
Same problem for me, with little less data I guess.
I solved it using array with doctrine ORM instead of heavy objects API, it was
sufficient to what I needed. Using raw SQL will much likely use less memory.
As for php 5.2 I found using unset inside processing loops (even if the name is
reused
Hello,
What i've done to keep escaping globally enabled but allow html rendering in
one specific part if using getRawValue() method from sfOutputEscaper class,
in the template /partial juste like this :
echo $message->getRawValue()->getText()
I don't how it manages to keep doctrine (in my ex
Hi,
Sorry I've never seen such a diagram.
There is an UML picture of symfony imternals.
A module covers view and controller tiers in mvc, and yes you can
define filters and forms on each module, or overload the generated
ones, just pût them in module/lib folders.
To disable filters in an a
In your case it's a good to use web services to abstract database
model B as you know it'll be modified soon.
Where I disagree is putting all on the same SF project, you should
separate your app in 2 parts :
- The main project, embedding A database models and acting as web
service consumer
Hi,
Configuration files use an arborescent model,
Say you have a app.yml like this
all:
sf_doctrineguard_plugin:
form:sfGuardFormSigninByEmail
You should be able to retrieve the value using
$class = sfConfig::get('app_sf_doctrineguard_plugin_form');
All you have to do is replacin
Hi,
In your example, user class is a Doctrine_Record descendant, so it's a
row of the DB table.
Saving and deleting individual records are done within this class.
UserTable extends from Doctrine_Table and serve to execute queries,
typically to return user instances.
Mass operations, search
Look at doctrine event system.
It implement pseudo event methods (pre/postSave, preDelete,
postHydrate ,etc) in Doctrine_Record class, you can easily override
them, they are call at right time to modify values on object
Regards,
Benoit
Le 22 mars 2010 à 12:56, verox a écrit :
Any ideas
Hi,
I found this
http://trac.symfony-project.org/attachment/wiki/WikiStart/symfony_uml.zip .
It has 1 year old, so I think it is 1.0 or 1.2 framework.
2010/2/12 Maxim Tsepkov
> Does anyone have any sort of UML diagram of Symfony internals, interfaces,
> etc.
> It would be very helpful, if th
It's perfectly normal. These 2 field added by actAsTimestampable
Behavior are not to be editable by users.
You should remove them in your form class configure() method :
unset($this['created_at']);
unset($this['updated_at']);
Hope this helps
Regards,
Benoit
Le 20 janv. 2010 à 06:09, diog
Hi,
I think there may be at least 2 solutions :
1st)
- Make for form so user can upload one or more file
- Modify that file in php, this point may be though, as php excel writers
have generally limited support. You can try something like this
http://pear.php.net/package/Spreadsheet_Excel_Writer ,
2010/1/8 Benoit Montuelle
> Hi list,
>
> I am working with symfony 1.4 to build a simple registration form, I got 2
> models for this part : Registration and Person, which works with standalone
> generated modules.
>
> The registration model has 2 one to one relations with
Hi list,
I am working with symfony 1.4 to build a simple registration form, I got 2
models for this part : Registration and Person, which works with standalone
generated modules.
The registration model has 2 one to one relations with person for recording
2 contact information (respectively named
Hello,
Eclipse with PDT plugin does this too, what I do is writing first the empty
method with only its arguments and above its declaration type "/**" + RETURN
it will fill phpdoc with arguments and types.
You can also define empty class templates prefilled with phpdoc empty bloc
on top of it
Ch
This is true, but depends on context and client.
For instance here in France, for a contract employee it may be around
20€ per hour, once charges and taxes deducted.
A freelancer should charge at least twice to cover taxes, so almost
50USD.
Le 14 déc. 2009 à 15:21, Eno a écrit :
> On Sun
22 matches
Mail list logo