513 search results
Developer Tools
Blackfire.io: Revealing Performance Secrets with Profiling
…it will assert that the wall time is less than 100ms times whatever this speed_coefficient variable is. What is speed_coefficient? It's totally something I just made up and it is not set anywhere. Where do we set it? Inside our Blackfire environment…
…on this link, and so on. It can get fancier, but that's the gist of it. Let's create a our first Blackfire player file at the root of the project, though it could live anywhere. Call it, how about, scenario.bkf. That's…
Learn Symfony 5
Messenger! Queue work for Later
… We're returning a value from our handler! This is not something that we've done anywhere else. Commands do work but don't return any value. A query doesn't really do any work, its only point is to return a value. Before we…
Learn JS
Webpack Encore: Frontend like a Pro!
…amazing... let's add it! In webpack.config.js, anywhere, but how about below .enableSassLoader(), add .enablePostCssLoader(): PostCSS is a library that allows you to run things at the "end" of your CSS being processed. And it's the easiest way to integrate autoprefixer. Next…
…is already scanning all of our code. When you enable this feature, each time it finds a jQuery or $ variable- anywhere in any of the code that we use - that is uninitialized, it replaces it with require('jquery'). It basically rewrites the broken code…
…that we have this new article_show entry, inside show.html.twig, instead of our manual