Creating websites, web apps, tips on how to code them all
122 reads
Level: intermediate
Hey there. How are you? Good, not too cold? so much the better! This week's article is for my fellow developers, and we're going to talk about search ... but real search! I often see MYSQL used as a search engine ... It's a fact! In the projects I've worked on, I've often seen this database management system (or MariaDB or Postgresql) used as a search engine, with things like "where my_attribute LIKES '%blabla%". And this is a very bad practice... What's the real use of a relational...
114 reads
Level: Beginner
The what? What's this now? No, I'm sure you've already heard of it. Double authentication, often referred to under the acronym 2FA (for 2 Factors Authentication), is the principle of requiring 2 proofs of identity from a user to connect to a site, app or service. So here's a scoop: you've all used this before, and for a very long time. And yes, when you withdraw money from a cash dispenser (or make a contact payment with your bank card), it's 2FA. You use your card itself, with its number a...
110 reads
Level: Confirmed
This week's article is all about developers, yes ... there's something for everyone. How are you? Whit Monday and all that ... yeah well, that's no reason to get up and get to work. What's a slug? For the guys at the back, we'll remind you what a slug is. It's a "string" normalized so that it can be inserted into a URL, for example on the article you're reading in your address bar there's no "index.php?article=49" because well .... it's ugly (if it's ugly, that's all.), a nice URL that l...
101 reads
Level: Expert
Ahhhh, passwords ... I've already talked about them in a previous article, but in this one we're going to talk about a method for saving our dear little users from having to remember their passwords... Apple now makes it possible to "sign in with Apple", basically the same thing as Google, Facebbok and all the others. But! the Apple way... In this article, we'll look at how to integrate this feature into a Symfony application. You need Apple developer access to access "sign in with Apple...
89 reads
Level: Confirmed
Like any dev, I sometimes want to test small pieces of code, make an example landing page to test a service or API... In short, there are many cases where you just want to try something out, without it being a full-fledged project. To do this, of course, we run our development environment on our own machine, "locally". Let the world benefit from our local project Okay, that's all well and good, but what if we need to access this local code from the outside? And yes, it can happen...
101 reads
Level: Confirmed
Following my first article, I was now able to run a development environment to create Symfony projects. Okay, that was all well and good, but for the moment it was only running locally on my MacBook, and that's no way to host a site. Since shared servers are already a hell of a thing to configure for a simple site, I didn't dare imagine running Docker on them. So I opted for a dedicated server from Scaleway and once I'd placed the order, I installed Docker on Ubuntu 20.04. I organize...
91 reads
Level: Confirmed
Sharing resources is at the heart of the Internet, and social networking buttons can be found on all kinds of sites, making it easy to share content so that others can enjoy it. On Android, this has been possible for some time, but on IOS and macOS it's only been available since version 12.1 of Safari. This article will be very brief, showing how to use this API. window.navigator.share This is the name of the function for sharing via the native window of the operating system, iOS or Andro...
86 reads
Level: intermediate
Ah Docker! I've been hearing about it for years, but like many people (I think) I hadn't yet taken the plunge. I'd read several articles on this technology, and even looked at the official documentation to try and tweak a few things, but it was still too vague for me. First of all, what is Docker? It's (almost) magic in the sense that you don't need to worry about your server configuration, your OS or your version of PHP, Node, React ... in short. You just code on your machine, and miracu...
88 reads
Level: Beginner
There are several ways of creating a website, each with its own advantages and disadvantages. But first of all, you need to ask yourself the right questions? Why this site? What needs should it meet? Is it a store? Is it a blog? Is it a showcase site? Does it need to be highly interactive (like an application)? Does it need to be SEO-friendly? Once we've answered these questions, we have several options open to us, including two main ones: Custom development. In this case, we create th...