| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| informatique:javascript [27/11/2024 12:26] – [Destructuring] cyrille | informatique:javascript [11/06/2025 16:54] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. 114.119.143.104 |
|---|
| * [[http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/|Callbacks vs Events]] well presents the difference | * [[http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/|Callbacks vs Events]] well presents the difference |
| * [[https://jsperf.com/event-vs-callback|performance test]] | * [[https://jsperf.com/event-vs-callback|performance test]] |
| * [[https://developers.google.com/web/fundamentals/primers/promises/?hl=en#promise-terminology|About Promise]] et sur la page [[https://cyrille.giquello.fr/informatique/javascript/jquery|jquery]] (promise, deferred) | |
| |
| News, listes d'outils et librairies : | News, listes d'outils et librairies : |
| const displayName = username || "Guest"; | const displayName = username || "Guest"; |
| console.log(displayName); // Output: Guest | console.log(displayName); // Output: Guest |
| | </code> |
| | |
| | or **Use ||= Operator for Default Assignment** |
| | |
| | <code javascript> |
| | let count; |
| | count ||= 10; |
| | console.log(count); // 10 |
| </code> | </code> |
| |
| |
| More tips: | More tips: |
| * https://dev.to/hmpljs/10-javascript-tips-and-tricks-that-will-be-useful-47fa?context=digest | * https://dev.to/hmpljs/10-javascript-tips-and-tricks-that-will-be-useful-47fa |
| | * https://dev.to/jagroop2001/20-javascript-tricks-every-developer-must-know-4pcj |
| |
| ===== Tools ===== | ===== Tools ===== |
| |
| http://getcontenttools.com/ | http://getcontenttools.com/ |
| | |
| | ==== BlockNote ==== |
| | |
| | https://www.blocknotejs.org/ |
| | |
| | https://github.com/TypeCellOS/BlockNote |
| |
| ==== markItUp! ==== | ==== markItUp! ==== |
| |
| Voir aussi: | Voir aussi: |
| * [[/informatique/php/laravel#vuejs|Laravel & Vue.js]] | * UI Suite for Vue.js https://primevue.org compliant with [[/glossaire/WCAG|WCAG 2.0]], 80+ components |
| | * [[informatique:php:laravel_1#vuejs|Laravel & Vue.js]] |
| * collection de scripts et plugins : http://www.vuescript.com | * collection de scripts et plugins : http://www.vuescript.com |
| * [[https://vuetifyjs.com/|vuetify.js]] is a semantic component framework for Vue.js 2. It aims to provide clean, semantic and reusable components that make building your application a breeze. Vuetify.js uses Google's Material Design design pattern, taking cues from other popular frameworks such as Materialize.css, Material Design Lite, Semantic UI and Bootstrap 4. | * [[https://vuetifyjs.com/|vuetify.js]] is a semantic component framework for Vue.js 2. It aims to provide clean, semantic and reusable components that make building your application a breeze. Vuetify.js uses Google's Material Design design pattern, taking cues from other popular frameworks such as Materialize.css, Material Design Lite, Semantic UI and Bootstrap 4. |
| |
| ==== Promise ==== | ==== Promise ==== |
| | |
| | Sur la page [[/informatique/javascript/jquery|jquery]] (promise, deferred) |
| |
| * [[https://dev.to/kishan45/callbacks-vs-promises-vs-asyncawait-detailed-comparison-42np|Callbacks vs. Promises vs. Async/Await: Detailed Comparison]] | * [[https://dev.to/kishan45/callbacks-vs-promises-vs-asyncawait-detailed-comparison-42np|Callbacks vs. Promises vs. Async/Await: Detailed Comparison]] |
| * [[https://dev.to/afifsohaili/dealing-with-promises-in-an-array-with-async-await-5d7g|Dealing with Promises In an Array with async/await]] | * [[https://dev.to/afifsohaili/dealing-with-promises-in-an-array-with-async-await-5d7g|Dealing with Promises In an Array with async/await]] |
| | * [[https://developers.google.com/web/fundamentals/primers/promises/?hl=en#promise-terminology|About Promise]] |
| | |
| | |
| |
| ==== WebSockets ==== | ==== WebSockets ==== |