Développer avec plus de plaisir grâce à 7 astuces. Aujourd'hui, c'est la Journée des Développeurs.
Non ? Si. La journée des développeurs - ou des programmeurs -, ça existe vraiment. Elle a été instaurée en Russie en 2009 et est fêtée tous les ans le 256e jour de l'année. Comme on est un vendredi 13, c'est également votre jour de chance (à défaut d'être en congé). 1. Faire de la veille peut paraître fastidieux mais contrairement aux apparences, c'est loin d'être une perte de temps. Pour la veille technique générale humancoders.com : Human Coders fédère une large communauté de développeurs qui proposent notamment leur veille technique en plus des Human Talks et des discussions sur le forum (en français). lafermeduweb.net : La Ferme du Web est une plateforme de veille technique quotidienne dédiée au partage de connaissances, astuces et outils tech, design, webmarketing... Une bonne pratique de veille est d’utiliser ces sources pour repérer les blogs/magazines qui traitent de sujets qui nous intéressent le plus. 2. 3. 4. 5. 6. 7.
Développer avec plus de plaisir grâce à 7 astuces. L'aventure commence ici. Git : Astuces et productivité #2. Functional JavaScript: What are higher-order functions, and why should anyone care? “Higher-order function” is one of those phrases people throw around a lot.
But it’s rare for anyone to stop to explain what that means. Perhaps you already know what a higher-order function is. But how do we use them in the real world? What are some practical examples of when and how they’re useful? Git Aliases I Use (Because I'm Lazy) - victorzhou.com. September 16, 2019 | UPDATED September 17, 2019 I finally started using Git more heavily a few years ago when I first began building some of my bigger side projects.
Now, it’s true that typing git status and git push is pretty easy, but if you’ve got some Git experience you know some commands can get rather long. Practical Ways to Write Better JavaScript - cdevn. Is don't see enough people talking about practical ways to improve your JavaScript holistcally.
Here are some of the top methods I use to write better JS. The number one thing you can do to improve your JS, is by not writing JS. For the unitiated, TypeScript (TS) is a "compiled" superset of JS (anything that runs in JS runs in TS). TS adds a comprehensive optional typing system on top of the vanilla JS experience. Where did CSS named colours come from? Talk.CSS, which is Singapore’s monthly CSS meetup, has a segment called CSS colour of the month, where we mention 1 of the 148 named CSS colours.
This works out to more than 12 years worth of meetups, and I figured we’d run out of meetups before we ran out of colours. Since Wei became a co-organiser, we’ve each been taking turns picking the CSS colour of the month, and for the August edition, she picked snow. The hex code for snow is #fffafa, which works out to a RGB value of rgb(255, 250, 250). Some of you who are familiar with the notation may already have realised that this gives us a gentle tinge of red.
Very, very slight, but still, red. Markrogoyski/math-php: Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; How to use Data Providers in PHPUnit — Martin Hujer blog. I think that even if you are already using Data Providers, you will find some of those tips useful.
Data Providers are a handy feature of PHPUnit which allows you to run the same test with different inputs and expected results. This is useful when you are writing some text filtering, transformations, URL generation, price calculations, etc. Let's say you are implementing your own trim function and you need to test it with lots of tests like the following one: Instead of duplicating the test method and just changing the inputs, you can use Data Providers: Data Provider is just a regular public method in the test case class which returns an array of arrays.
You link it to the test method with a @dataProvider annotation followed by the method name.Parameters returned from the data provider are added to the method definition. Laravel 6.0 : qu'est ce que propose cette nouvelle version LTS majeure ? - Apprendre le développement Web. Deno : le nouveau NodeJS ? API request builder. PHP Is Best? The creator of PHP speaks out to explain and defend his creation.
If you have ever criticized PHP, or have avoided it because others have, it might be time to give it a second chance. PHP is an old language - not as old as Fortran say, but a year older than Java at 25 and yet we do not think of PHP as being an innovator or important like Java. Part of the reason is that early versions of PHP were focused on easy-to-use scripting and not on building "big" programs. Of course, as the web developed we needed more than scripts that added dates dynamically or animated a ticker tape. Slowly PHP acquired a full block-structured syntax, complete with functions, then objects and today it even has optional typing. Language purity aside, what always amazes me when I work with PHP is the way that there is always a function that does what you want. Now I have a question for you. Stop Using Else in Your Programs - Better Programming - Medium.
Gothinkster/realworld: "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more □ Conseils pour développeur(euse) junior. En dehors du titre, le générique masculin est utilisé sans aucune discrimination et uniquement dans le but d'alléger le texte.
Les développeur(euse)s juniors sont ceux qui prennent le plus cher. Et pourtant y’a des choses simples à savoir pour limiter la casse. Use Regex and JavaScript to Improve Search Results - Level Up Coding. Being able to accurately and efficiently filter search results based on a user’s input is vital for ensuring a positive and effective user experience.
For this post, we will create a search bar using JavaScript, HTML and CSS. Given a list of names, we should be able to filter out names based on the user’s input. A common way to achieve this is simply to use JavaScript’s .filter() function and check if any of the elements .includes() the user’s input. filterFunction = (userInput) =>{ var filteredNames = names.filter((x)=>{ return x.includes(userInput) } return filteredNames} This function checks if the user’s input matches any part of any of the names in the array. This method is pretty effective, but it’s a bit restrictive because the user has to type the exact order of letters, otherwise no results will be returned. Understand the Basics of Git in 8 Minutes - Theodo. Welcome stranger!
It is a pleasure meeting you.When I began using git, I didn’t really understand how it worked: I considered it as a riskier alternative to sharing code by good old reliable USB key. Staying Motivated by Sending Status Updates to Nobody - mtlynch.io. What does debugging a program look like? I was debugging with a friend who’s a relatively new programmer yesterday, and showed them a few debugging tips. Then I was thinking about how to teach debugging this morning, and mentioned on Twitter that I’d never seen a really good guide to debugging your code. (there are a ton of really great replies by Anne Ogborn to that tweet if you are interested in debugging tips) As usual, I got a lot of helpful answers and now I have a few ideas about how to teach debugging skills / describe the process of debugging. The finest (and free) ligature code fonts - Andreas Rein.
Sweet ligatures. They make the code more expressive and easier to read. I can’t go back anymore now. There are gorgeous arrows and sassy comparisons all over my lizard brain. I welcome you to the world of open source code fonts with well-made ligatures and finely tuned spacing. The editor used in the making of the screenshot is the open source editor from Microsoft, Visual Studio Code. Git is eating the world. The inception of Git (2005) is more or less the halfway point between the inception of Linux (1991) and today (2019). A lot has happened since. One thing is clear however: software is eating the world and Git is the fork with which it is being eaten.
(Yes, pun intended). Linux and Git In 2005, as far as Linus Torvalds’ legacy was concerned, he didn’t need to worry. And now, with the creation of Git in 2005, Linus Torvalds can stake the claim that he is responsible for not one, but two of the most important software revolutions ever. An overview of classes in JavaScript - Level Up Coding. In this article, I will talk about the class in JavaScript. We will cover the following topics: Classes HighlightHoistingSubclassing / InheritanceMixinsGetters and Setters JavaScript classes, introduced in ECMAScript 2015, are primarily syntactical sugar over JavaScript’s existing prototype-based inheritance.
Classes are actually just a special function. La notation Big O - Junior Gantin - Medium. Cet article introduit la notation Big O. REX, d’étudiant à developpeur web. Cet article, j’aurais personnellement aimé le lire quelques années plus tôt quand je pensais que savoir écrire du code était le but ultime du développeur. C'est quoi la fusion de marge en CSS ? - Zen Devs. La Bible de l’Admin NGINX. Si vous aimez paramétrer votre serveur aux petits oignons et que vous cherchez à vous rapprocher le plus possible de la perfection en termes de performances, j’ai ce qu’il vous faut pour peu que vous utilisiez le serveur NGINX ! Il s’agit d’un dépôt Github créé par le développeur Lord Deruyter, sur lequel vous trouverez une Bible de l’Admin NGINX avec tout ce qu’il y a à savoir pour configurer et optimiser votre serveur comme il se doit. Elegant code in PHP. BladeOne Blade Template Engine BladeOne is a standalone version of Blade Template Engine that uses a single PHP file and can be ported and used in different projects.
It allows you to use blade template outside Laravel. Бладеоне-это отдельная версия ядра Blade-шаблонов, которая использует один PHP-файл и может быть портирована и использована в различных проектах. Он позволяет использовать шаблон Blade за пределами laravel. NOTE: So far it's apparently the only one project that it's updated with the latest version of Blade 5.8 (March 2019). Примечание: до сих пор это, видимо, только один проект, который обновляется с последней версией ** Blade 5,8 (2019 Марта) **.
NOTE about questions, reports, doubts or suggestings: Writing a Simple MVC App in Plain JavaScript. I wanted to write a simple application in plain JavaScript using the model-view-controller architectural pattern. So I did, and here it is. Hopefully it helps you understand MVC, as it's a difficult concept to wrap your head around when you're first starting out. I made this todo app, which is a simple little browser app that allows you to CRUD (create, read, update, and delete) todos. It just consists of an index.html, style.css, and script.js, so nice and simple and dependency/framework-free for learning purposes. The Real Dark Web.
We rarely acknowledge the vast majority of web developers. Dark matter permeates the universe. In fact it does more than permeate. It is the universe. 85% percent of everything that exists is actually dark matter. List of 300 CSS properties. There are more than 500 CSS properties but the browsers only support around 300+ properties.
That's why we have prepared the list of 300 CSS properties with values which the current browsers support. This is not just a list. Les Dark Patterns et le Product Ownership. What's new in PHP 7.4 - stitcher.io. Cloud native, container-ready PHP. Relearn CSS layout: Every Layout. HTML can do that? HTML can do that? Popups: 10 Problematic Trends and Alternatives. Open Source Security Platform. Cjss-group/CJSS: A CSS based web framework. Quand refactorer et pourquoi ? - Blog Arolla. Survivre avec du code legacy - Je suis un dev. Les bases de l’agilité avec Maître Splinter. Retours sur 6 ans dans une asso de devs - Pierre-Yves Lapersonne - Medium.
Comprendre Javascript en 5 minutes - Je suis un dev. Configurer son environnement de développement avec les dotfiles. Cinq façons de concevoir le pair programming - Captain Contrat Tech - Medium. Touch & Sell - Quand le code legacy devient un boulet pour notre stack technique... - Human Coders Blog. Comment j’ai changé de carrière pour devenir développeur. Drawing Realistic Clouds with SVG and CSS. Using isset() and empty() hurts your code.
Bureaux à partager - Quand notre stack fait une overdose de techno... - Human Coders Blog. MVP ou MVP ? 5 Practices For Developers to Speed up Your Learning. Building the most inaccessible site possible with a perfect Lighthouse score - Manuel Matuzović. Algorithm-visualizer/algorithm-visualizer: Interactive Online Platform that Visualizes Algorithms from Code. All my best programming tips - Code with Jason. 7 steps that take you from Junior to Senior developer. CSS Tic-Tac-Toe... now with AI! CSS can do that? GitFlow : la méthodologie et la pratique. 4 reasons your z-index isn’t working (and how to fix it) — Coder Coder. Applying the Gestalt Principles to your code. Accueillir un débutant au sein d’une équipe dev – Captain Contrat Tech. Peltoche/lsd: The next gen ls command. Comment faire des triangles CSS ou des flèches CSS - Zen Devs.
Learn React For Free - An Interactive Tutorial. Au revoir Google. Les stratégies de test. Lean Startup : Guide de base pour les entrepreneurs - jedeviensmeilleur.fr. Un développeur efficace est un développeur en bonne santé. Learn to change history with git rebase! Kkuchta/css-only-chat: A truly monstrous async web chat using no JS whatsoever on the frontend. Short closures in PHP - stitcher.io. TDD Changed My Life – JavaScript Scene. UX Responsibilities in Scrum Ceremonies. Git : Astuces et productivité #1. Don’t trust agile alone to build successful products.
Programming: doing it more vs doing it better – Kevin Martin Jose. Domnikl/DesignPatternsPHP: sample code for several design patterns in PHP. Unit Testing Doesn't Affect Codebases the Way You Would Think - DZone Performance. Azdanov/php-interview-exercises: Some exercises to practice whiteboard interview questions in PHP. JQuery et Ajax - code snippets pour tous les jours - Zen Devs.
Devenez un meilleur développeur grâce aux bonnes pratiques. Interfaces in PHP don’t make complete sense – Max. You-Dont-Need-jQuery/README-fr.md at master · nefe/You-Dont-Need-jQuery. Qu'est ce que le Shadow DOM ? - Zen Devs. Pourquoi les développeur(euse)s codent avec le cul - Je suis un dev. Apprendre à développer en équipe. 7 astuces pour améliorer le design de vos interfaces.
Bien marier tests utilisateurs et gestion de projets. Testing for Visual Regressions with Percy. Comment Améliorer Le Temps De Chargement D'une Page Web - La Revue Technique. How To Align Things In CSS. Les fat arrow function en Javascript. Team Estimation. WTF is Big O Notation? – Rob Conery. Les meilleurs commentaires ne s'écrivent pas.