Vincent Faliès - Artisan Codeur

In development, when you updates records in database through a form, it's very interesting to known what have changed and what have not changed.

If you use Doctrine with entities, these informations are easily to determined. For instance with an user entity :

        $uow = $this->em->getUnitO...

Continue reading...

Git cheat sheet

web Git

With GIT, a great cheat sheet is more efficient than a long text !

Continue reading...

Few easy steps to moving GIT repository content to another repository preserving history

  1. Fetch all of the remote branches and tags to local index:
git fetch origin
  1. Create a new remote on local repository
git remote add new-origin git@github.com:vfac/newrepo.git
  1. To push all local branches a...

Continue reading...

The database classicaly used with Symfony 4 is MySQL / MariaDB throught Doctrine project. However, some projects need a NoSQL database like MongoDB in replacement of the relational database. It's not a reason to not develop them with Symfony 4 !

The DoctrineMongoDBBundle is a project that allows...

Continue reading...

Sometimes, you can have an internal server error (500) but you don't have any information in logs on it.

To determine and resolve this type of problem, the simplier way is to display directly the error on screen.

Be careful, this solution is not secured ! It can be used only for debuging.

...

Continue reading...