I was looking at job description for a web developer, and one of the big responsibilities was database maintenance. Now, I can do basic mySQL tasks and hack together some relatively complex queries, but I've never had a desire to be a Database Admin. Anyone have any advice/books/blogs/etc that might...
I consider myself an adequate coder. I try to follow best practices, and there's rarely been a problem I couldn't solve with some Google/Stackoverflow foo.... but unit testing just eludes me. I understand the mechanics - you pass in a test, an expected result, and it returns whether it passed or not...
Sifter I've got a couple of side-projects that use the standard Laravel registration form, and I noticed everyday would be a few users created where the name field was like "GEbCeZlhiT" and "XpNGxMfw"... obvious spam. My first step was a simple honeypot using a 'phone number' field... but no luck. T...
Exactly. Besides a few possible bug fixes and some additions/updates to some of the "core" packages, L4 pretty much mirrors L3 in functionality at the moment. You can get the pre-beta/alpha/whatever here : https://github.com/illuminate/app
As for docs, it's built very similar to L3, so the existing docs should be a good starting place. The big differences I see are using the PSR naming standards for methods (camelCase instead of under_score), and the way Models are structured, which you can see in the sample model... or just look at the source code.
I've read through many tutorials for both PHPUnit and SimpleTest and others, and something just doesn't "click". It's like 5 or 6 years ago, when I was trying to move away from functional to OO style programming... I didn't initially get it. Now, though, I can't imagine coding in a non-OO world.
Honestly, my biggest problems seem to be with oversites in my SQL queries. For example, in my "get_customers()" method, I initially forgot to add a "WHERE active = 1" to omit the deactivated accounts... so it returned everything in a well-formatted object, it was just the data that was incorrect. How is that testable?
Exactly. Besides a few possible bug fixes and some additions/updates to some of the "core" packages, L4 pretty much mirrors L3 in functionality at the moment. You can get the pre-beta/alpha/whatever here : https://github.com/illuminate/app
As for docs, it's built very similar to L3, so the existing docs should be a good starting place. The big differences I see are using the PSR naming standards for methods (camelCase instead of under_score), and the way Models are structured, which you can see in the sample model... or just look at the source code.
I've read through many tutorials for both PHPUnit and SimpleTest and others, and something just doesn't "click". It's like 5 or 6 years ago, when I was trying to move away from functional to OO style programming... I didn't initially get it. Now, though, I can't imagine coding in a non-OO world.
Honestly, my biggest problems seem to be with oversites in my SQL queries. For example, in my "get_customers()" method, I initially forgot to add a "WHERE active = 1" to omit the deactivated accounts... so it returned everything in a well-formatted object, it was just the data that was incorrect. How is that testable?
If anyone's curious, here's how I use it in my code. Since I want it return a 404 if it fails instead of a validation error:
I have no clue if it will deter bots from trying multiple times
Thanks for the honest review. And if you suger-coated some things, thanks for that, too! :)
I agree with pretty much everything. Things like no code highlighting, and not having the descriptions of the "steps" closer are all part of the Packt "process". It was... interesting. I wrote a bit about it here: http://www.terrymatula.com/development/2013/my-journey-writing-a-laravel-book/
I hope you have continued success with your book!
Really, each of Laravel.io's posts could be its own reddit post.