Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 46
  1. The ticket says "let customers export their statement."

  2. I needed to pull a few fields out of some JSON.

  3. You're building the kind of feature where the logic can't all live in your code.

  4. A while back I wrote about how Erlang's parser tools saved my DSMR library: the story of binning a pile of regex and letting leex and yecc read the telegrams that Dutch and Belgian smart meters spit out every second.

  5. You search for "regex postcode Nederland" because you need the small answer.

  6. I already wrote about why international address handling gets messy in Ruby.

  7. I've always been the type of developer who starts with the simplest solution.

  8. Handle international addresses in Ruby

    You're building an e-commerce site, and a customer from Japan reaches checkout.

  9. You're building a React app with server-side rendering, and the client needs a little data before it can do anything useful: user preferences, API endpoints, feature flags, that sort of thing.

  10. You're building a product page, and somebody asks for a carousel.

  11. My Obsidian setup

    I've rebuilt my notes too many times.

  12. Lazy loading images is just HTML now

    You're building a page with a long scroll.

  13. I've written changesets that were trying very hard to be impressive.

  14. You're building a small JSON API client in Elixir.

  15. Fetching data in a React component looks harmless at first.

  16. Use previous value through a React hook

    React Hooks took me a little while to get used to after they were introduced in React v16.8.0.

  17. You're adding Stripe to a Rails app.

  18. URL state is still state

    I've built this screen more times than I can count: a table of orders, a search field, a status filter, maybe a date range, a few tabs across the top, pagination at the bottom.

  19. A few years ago I wrote about how I started thinking about my styles.

  20. How to use Vim on Linux and macOS

    If you have ever tried to edit files on Linux through the terminal, you have probably run into Vim.

  21. How to capitalize strings in JavaScript

    To capitalize a JavaScript string, you do not need another npm dependency.

  22. How to use React Context

    React Context, introduced in React v16.3.0, lets components read values from a shared context instead of receiving everything through props.

  23. Trap focus in a React component

    Some interactions need to move focus into a specific part of the page and keep it there.

  24. Search inputs have a funny way of looking finished before they touch the network.

  25. Scroll a React component into view

    React refs give you access to the underlying DOM element when you need a browser API directly.

  26. A package for presenting person names

    Applications often need to show a person's name in more than one format: full name, first name, initials, mention handle, sorted name, and so on.

  27. You're reviewing a pull request and everything looks normal until one small line turns up in the diff: node_modules/ public/build/ + .idea/ Harmless enough, maybe.

  28. Going epic with Redux Observable tests

    The last few React projects I worked on used Redux Observable heavily.

  29. How I started thinking about my styles

    If I had received a dollar for every time I promised myself I was about to write the most maintainable CSS I had ever seen, I could have bought a lot of coffee by now.

  30. JavaScript rendering in PHP with Lambda

    As a web developer, you have probably run into polymorphic JavaScript, or universal JavaScript.

  31. One useful addition to PHP's testing tools is Behat.

  32. Running Hapi with Passenger on Heroku

    Before it changed its name to Passenger, the application server was called mod_rails and ran as a module inside Apache HTTPD for Ruby on Rails applications.

  33. After I tweeted about direnv, I noticed that a lot of people were dealing with the same problem in their Node.js projects: project-specific environment variables.

  34. Suppose you need to render something inside a Symfony template, like a toolbar.

  35. A spelling and grammar checker for Node

    When you write in a foreign language, you probably reach for Google Translate.

  36. Running Symfony on Heroku

    If you mostly work with PHP, Heroku may not be the first platform you reach for.

  37. Install the intl PHP extension in MAMP

    If you build Symfony applications, you will run into translations sooner or later.

  38. Mock Guzzle responses in Symfony tests

    Most web applications talk to at least one external service.

  39. Masking content in Drupal

    Today I released a small module for hiding parts of your content from everyone except specific roles, users, or organic groups.

  40. Using Drush in a MAMP environment

    Drush is one of those tools you want nearby when working on Drupal.

  41. As you may have guessed from my previous post, I was using MAMP on a Mac.

  42. From A to Z in PHP

    Today I found a small PHP helper I had somehow missed: range() can give you an array with every letter in the alphabet. <?

  43. Upgrade MAMP's phpMyAdmin

    My MAMP version shipped with phpMyAdmin 3.3.9.2, while phpMyAdmin 3.4.10.1 was already available.

  44. When you start building Drupal themes, you quickly find a lot of default stylesheets in the page.

  45. For a better editing experience on node forms, I installed the WYSIWYG module with the CKEditor plugin.

  46. Most web applications need more than one environment.