How to show a Cookie usage message using JavaScript?

Posted on Leave a commentPosted in Javascript, Object oriented programming, Tip of the day

Reading Time: 3 minutes We all had seen sites showing a small pop up message regarding usage of cookies on their sites. Some used to show to it while others did not take it seriously. In other words it was kinda optional. But since the introduction of GDPR(General data protection regulation) by the European Union, it’s been made mandatory […]

How to avoid adding number to slugs in Doctrine?

Posted on 1 CommentPosted in Doctrine, Symfony

Reading Time: 2 minutes   Those of us who have worked with Symfony and Doctrine know that we can generate automated slugs using Doctrine’s Sluggify extension. We set it once per entity definition and we are done. Sluggify extension does the heavy lifting of creating slugs for us. Suppose we have a Page entity which contains a title column. The definition for this […]