Nom de l’auteur/autrice :admin

Quelle est la différence entre Vuejs 2 et Vuejs 3 ?

Vue.js a solidifié sa place en tant que l’une des bibliothèques JavaScript les plus populaires pour le développement d’applications web interactives. Avec la récente sortie de Vue.js 3, de nombreux développeurs se demandent : quelles sont les différences fondamentales entre Vue.js 2 et sa version la plus récente ? Dans cet article, nous plongerons dans […]

Quelle est la différence entre Vuejs 2 et Vuejs 3 ? Lire la suite »

CRUD Laravel, le guide complet pour créer, lire, modifier et supprimer des données.

Le CRUD est la base d’une application qui stocke des données, nous avons besoin de les créer, les lires, modifier et supprimer pour faire vivre l’application. Je vais vous montrer dans un exemple simple d’une application todo list comment réaliser ces opérations par le biais de l’ORM Eloquent directement intégré à Laravel. Les requêtes HTTP

CRUD Laravel, le guide complet pour créer, lire, modifier et supprimer des données. Lire la suite »

jQuery, Webpack and Symfony | Call jQuery in your twig files

Uncaught ReferenceError: jQuery is not defined If you encountered this error message in your console of a Symfony project using Webpack, it is very likely that you are using jQuery in the following way in your project :  Your case In the app.js file you probably called jQuery like this : And then you wanted to call in your twig jQuery file this way

jQuery, Webpack and Symfony | Call jQuery in your twig files Lire la suite »

Symfony, Doctrine | Retrieve old data of FormType

Method for recovering old data from a FormType under Symfony You need to recover old data from an Entity in Symfony to do some processing such as managing a history or other? I will present you a method that uses Unit Of Work to compare old data of data sent via the form created by FormType. Use Unit Of Work from Doctrine To retrieve old data it is

Symfony, Doctrine | Retrieve old data of FormType Lire la suite »

JavaScript, jQuery et Regex | Secure a password in real time with JS

Here is how to secure a password in front with JavaScript coupled with jQuery and regular expressions (Regex) : Do you want to check in front that the user has entered 8 characters, a number and or a capital letter? I will guide you through the procedure to follow. To follow this procedure you need to have jQuery installed, it is not mandatory,

JavaScript, jQuery et Regex | Secure a password in real time with JS Lire la suite »

Doctrine, Symfony | Difference between two dates in MySQL (Day, month, year…)

How do I know the difference between two dates in MySQL and Doctrine? You have to use the TimeStampDiff method which takes 3 parameters (the unit, the first date, the second date) and returns a number corresponding to the difference in unit between the dates. For example:  See more details on this link which explains in detail the SQL function TIMESTAMPDIFF How to

Doctrine, Symfony | Difference between two dates in MySQL (Day, month, year…) Lire la suite »