Meet the community: PHPUK 2018
– Edit
Allround awesome dude Frederick Vanbrabant and I recently were at the excellent PHP UK Conference. There Frederick did some nice interviews with Marcel Pociot, Jenny Wong, Rob Allen, James Titcumb and many more.
– Edit
Allround awesome dude Frederick Vanbrabant and I recently were at the excellent PHP UK Conference. There Frederick did some nice interviews with Marcel Pociot, Jenny Wong, Rob Allen, James Titcumb and many more.
– Edit
Nathan Dench, organiser of the Brisbane PHP meetup, wrote a good summary of what's been happening in PHP land recently
https://ndench.github.io/brisphp/brisphp-news
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
– Edit
Here's a video of an excellent talk by Chris Hartjens he recently gave at NomadPHP. Don't have time to watch and prefer to read a summary? This blogpost by Michael Heap has got you covered: https://michaelheap.com/how-to-ruin-a-career-in-10-easy-minutes/
– Edit
console.log isn't the only command that can help you debug JS. Yotam Kadis, Editor of AppsFlyer, shares 10 more ways.
For the past decade, one of my passions is front-end development (especially javascript). As a craftsman, I love learning new tools of the trade. In this story, I’m going to give you some awesome tips for debugging like a pro, using the good old console.
https://medium.com/appsflyer/10-tips-for-javascript-debugging-like-a-pro-with-console-7140027eb5f6
– Edit
On their mutual Medium blog, Adam Wathan & Steve Schoger published an excellent post that offers 7 actionable tips to make your stuff look better.
It’s easy to throw your hands up and say, “I’ll never be able to make this look good, I’m not an artist!” but it turns out there are a ton of tricks you can use to level up your work that don’t require a background in graphic design. Here are seven simple ideas you can use to improve your designs today.
https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c736799886
– Edit
iA writer is a great app to write text without any distractions (I'm not paid to say this ?). On their website the developers wrote an inspirational article that urges you to not only consume content, but also to create it.
You may have heard that the best way to deal with the “information overload” is to switch off your devices. To take a break from the Internet. Go for a run. Roll out the Yoga mat. Read a book. Talk to your friends. Switching off is good advice. But eventually, you’ll be back. How about changing? Changing from passive, to active. From scroll to search, from react to rethink, from like and retweet to write and link.
https://ia.net/topics/take-the-power-back/
– twitter.com – Edit
Blade components are pretty cool for scoped-slot-like stuff when you're not in a JS environment pic.twitter.com/pjp4ycOPKm
— Sebastian De Deyne (@sebdedeyne) March 2, 2018
Read more [twitter.com]
– Edit
On his blog Christoph Rumpel explains how you, using BotMan, can create a bot where users can subscribe to content updates.
Email has been a great channel for staying in touch with your audience for years. But times are changing and messengers are taking over communication. Let's see how I used Facebook Messenger to build a little newsletter bot for my upcoming book "Build Chatbots with PHP".
https://christoph-rumpel.com/2018/02/build-a-newsletter-chatbot-in-php-part-1
Pretty cool! I might add a bot to this very blog soon.
– Edit
Today at the JSConf in Iceland, React core developer Dan Abramov demonstrated some very cool features that will soon land in React.
We’ve built a generic way to ensure that high-priority updates don’t get blocked by a low-priority update. We call this time slicing. If my device is fast enough, it feels almost like it’s synchronous; if my device is slow, the app still feels responsive. We’ve also built a generic way for components to suspend rendering while they load async data. We call this feature suspense. You can pause any state update until the data is ready, and you can add async loading to any component deep in the tree without plumbing all the props and state through your app and hoisting the logic.
https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-16.html
– Edit
phpCE 2017 was held last november in Rawa Mazowiecka in Poland. The organisers recently released videos of all the talks. You'll can watch them all using this YouTube playlist: https://www.youtube.com/playlist?list=PLWKBHVGdyqQKjzraZqkQ69PJQmnGdXrVa
Here's the recording of Hannes Van de Vreken's talk on IoC containers.
– Edit
Simon Vrachliotis recorded a free Egghead.io video course on the kickass Tailwind CSS framework.
In this course, you'll learn how to handle responsive breakpoints, how to trigger specific element states, how to handle specificity, how to keep your bundle file size in check, and how to seamlessly extend Tailwind with your own custom utility classes. By the end of the course, you should have a firm understanding of how Tailwind works and be able to create your own tailor-made design system and utility class CSS toolkit for your next project!
https://egghead.io/courses/build-user-interfaces-by-composing-css-utility-classes-with-tailwind
– twitter.com – Edit
When the db structure changes, it's sometimes easy to perform the data migration inside a database migration.
— Freek Van der Herten (@freekmurze) February 24, 2018
Migration 1: do the db migration + restructure the data
Migration 2: drop the old columns
I'd only do this for simple stuff. pic.twitter.com/v2roA6OxBc
Read more [twitter.com]
– Edit
On the Hackernoon site Nicolò Pignatelli wrote a good guide on how to write Value objects in a good way.
This is the list you must always check it against:
https://hackernoon.com/value-objects-like-a-pro-f1bfc1548c72
– Edit
Sebastiaan Luca, a freelance Laravel developer from Antwerp, coded up a couple of functions that mimic a pipe operator.
An interesting RFC proposal by Sara Golemon submitted in April 2016 suggested the use of a pipe operator to enable method chaining for any value and method. Yet as of today, it's still being discussed and there's no saying if it will ever make its way into PHP. So in the meantime, here's a solution!
https://blog.sebastiaanluca.com/enabling-php-method-chaining-with-a-makeshift-pipe-operator
Let's hope a real pipe operator will land someday in PHP.
I'm hopeful. Done well, I think it needs partial function application first, so that no additional syntax is required for the rhs.
— SaraMG (@SaraMG) February 21, 2018
– Edit
In a new post on his blog Sebastian De Deyne shares a few services and tools he uses to help him with naming things.
One of the hardest (and sometimes frustrating) tasks in a programmer's day-to-day workload is naming things. When I have a hard time finding that perfect word, I generally wind up in one of two situations:
Luckily, there are tools out there that can be of help.
https://sebastiandedeyne.com/posts/2018/a-pair-of-helping-hands-when-naming-things
– twitter.com – Edit
? Fun tip: Use tap() in lodash chains for a window into your transformations ? pic.twitter.com/aF11Tlzuz7
— Caleb Porzio (@calebporzio) February 20, 2018
Read more [twitter.com]
by Freek Van der Herten – 5 minute read – Edit
By default all scripts on a webpage are allowed to send and fetch data from and to any site they want. If you think about it, that's kinda scary. Imagine that one of your JavaScript dependencies would send all keystrokes, including passwords, to a third party website. That would be pretty bad. In…
– Edit
Almost a year ago, Scott Helme, creator of securityheaders.io and report-uri.com, wrote a blogpost on a not well known http header: Referrer-Policy.
Regular readers will know how fond I am of the existing security headers so it's great to hear that we're getting another! Referrer Policy will allow a site to control the value of the referer header in links away from their pages.
https://scotthelme.co.uk/a-new-security-header-referrer-policy/
– twitter.com – Edit
? Ever wanted to use the same controller to serve multiple formats?
— Adam Wathan (@adamwathan) February 15, 2018
Check out this set of macros that let you hit a single endpoint with different extensions to request the format you want:https://t.co/2sFGNf97be pic.twitter.com/HMNdicUWAy
?? Here's what it looks like in use: pic.twitter.com/zHo0GlAU6w
— Adam Wathan (@adamwathan) February 15, 2018
Read more [twitter.com]
– twitter.com – Edit
???? Forgot about this little validation trick that had snuck by undocumented. pic.twitter.com/Hb5QUJY3ix
— Taylor Otwell ????♂️ (@taylorotwell) February 11, 2018
Read more [twitter.com]