Hello, Usual Thursday newsletter, from unusual location - currently I'm having a "workation" at Corfu, Greece. Unlucky with weather (barely +20C) but still nice time to run away from routine and also think about global things, like "How is my business doing" and "Where do I want to go next".
On a personal level, I've concluded, that my ambitious 2019 goal to move revenue away from client work to product (QuickAdminPanel) and online courses will likely fail. It is still small amount of money there, not enough to sustain myself and family. QuickAdminPanel 2019 version still needs some polishing before it grows to significant revenue (also it went way over budget and I'm paying for it personally), and online-courses are not a passive income at all, you need to constantly launch new courses and do marketing for the old ones, only then it can bring you more money.
With that, I have no choice but to get back to client work with more speed, probably even expanding my local team with another 1-2 people. When I feel in good financial shape again, then will try to hit my "product income" goal again, investing more time/money in it. But for now - back to the lab, as they say. Weird feeling, like going full circle and back to the position of 2 years ago. But that's the beauty of it all - you can experiment, go back and forth or sideways, every week and month brings something new and challenging. Totally not a boring business life :)
Ok enough about me, let's get to this week's content. Only one article from me, and then a separate set of articles on testing at the end.
From LaravelDaily Team
Laravel Custom Validation Rule: Max Word Count
quickadminpanel.com
Laravel provides a lot of validation rules, but what if you need to add your own? We’ll show you how to do it, with the rule “max words count is 500”, and we will also make this 500 number as a parameter. We need to fill in our implementation of those methods above.
From Laravel community
Laravel: The Power of Authentication [Part 3]
itnext.io
As a kind of follow up of my article about how the Authentication works in Laravel, here I will write about the moving parts of the authentication mechanism, like the Authentication middleware, the Guard, the Driver, the User Provider and Authenticatable.
Laravel 5.8.17 Released With a “Tappable” Trait
laravel-news.com
The Laravel team released Laravel 5.8.17 yesterday with a new Tappable trait, a dumpHeaders test method, and quite a few other new features. First, a new dumpHeaders() method was added to the TestResponse class which helps you debug headers. Here’s the improvement over doing this manually:
PHP SQL Injection: All You Need To Know
link.medium.com
In the class of injection attacks, PHP SQL injection attack has come out highly prominent. The majority of websites are vulnerable to it. According to research, more than 50 % attacks were done on web using SQL injection.
Laravel: A single table for each Model type
medium.com
Sometimes we have in our application a 2 Models (or more) that share the same attributes, but they differ in some other attributes. Let’s say, taking into account my Podcast application that I still haven’t finished, that we need a Podcast model, a Song model, and a Soundtrack model.
PHP in 2019
stitcher.io
Do you remember the popular "PHP: a fractal of bad design" blog post? The first time I read it, I was working in a crappy place with lots of legacy PHP projects. This article got me wondering whether I should just quit and go do something entirely different than programming.
Reddit: What are the best chart packages out there ?
www.reddit.com
I've tried chartjs as well as charts by ConsoleTVs but it's not full filling my requirements. The requirements is I want to two filters on the bar chart. After clicking on it it'll change the graph or bar chart. Has an optional VueJS module, so it’s been a seemless use for me.
PHP Annotated Monthly – May 2019
blog.jetbrains.com
Please welcome the May edition of PHP Annotated Monthly. Inside we have all the latest news and material from the world of PHP. Read all about the PHP updates, Codeception, WordPress, and other releases. PHP 7.
Testing Your Code
Writing better tests
medium.com
In this last chapter of this series we will be discussing some tips to write better tests. You can check the previous posts of the series here and here.
That's it for this week, see you in the next newsletter issue!
Povilas Korop
LaravelDaily.com
|