Quantcast
Channel: A typical Developer Blog
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Change from Doctrine to Doctrine_Core with one command

To change all your code from Doctrine to Doctrine_Core you can use the following command 1 for fl in `find apps/ config/ lib/ test/ -name *.php`; do mv $fl $fl.old; sed 's/Doctrine::/Doctrine_Core::/g'...

View Article



Image may be NSFW.
Clik here to view.

How can i change the netbeans color schema to look like symfony documentations?

Simple extract this file into your netbeans-6.8/nb6.8 folder: SymfonyColorScheme.zip Thanks Ze Technology for the color schema http://www.ze-technology.com/2009/12/11/netbeans-aux-couleurs-de-symfony/...

View Article

Image may be NSFW.
Clik here to view.

How can i simple mark all required form fields in symfony 1.3?

Create a function in your BaseForm class 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 public static function listenToPostConfigure($event) { $form = $event->getSubject(); $widgetSchema =...

View Article

Image may be NSFW.
Clik here to view.

Where can i get “Pro Git” book as pdf?

First make step get the git repository git clone git://github.com/progit/progit.git when you use ubuntu you must install some packages sudo aptitude install ruby pandoc texlive-xetex...

View Article

Image may be NSFW.
Clik here to view.

GTUG Battle Hackathon

The event was at google here in munich. On which project we actual work would anounced at 15. march. It would be a chrome plugin Google Battle Hackathon 2010 No related posts. Related posts brought to...

View Article


Image may be NSFW.
Clik here to view.

How can i automatic add ids to my trans-unit nodes in my XML Xliff Tanslation...

When you validate you XML Xliff file you have often the problem that a trans-unit node has no or a already existing id. So i have wrote a small script for that problem. fix_id.php 1 2 3 4 5 6 7 8 9 10...

View Article

Image may be NSFW.
Clik here to view.

How can i use field credentials for symfony admin generator forms?

When you would restrict the display of a field or fieldset group on user credential. you must do the following 1. open the action class and add public function preExecute() { parent::preExecute();...

View Article

Image may be NSFW.
Clik here to view.

Simple script to find missing translation strings

No related posts. Related posts brought to you by Yet Another Related Posts Plugin.

View Article


Image may be NSFW.
Clik here to view.

Symfony and doctrine compiled version

In a new symfony project i have tested the doctrine compiled version. since 1.3.7 symfony support this. http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7 I have learned two things...

View Article


Image may be NSFW.
Clik here to view.

How can i override user attribute in my functional test?

Some times your code depend on a user attribute, so you want set the user attribute in your functional test. The Problem is that the doCall method in the sfBrowser class rebuild the context and in the...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images