Today I finished the Laravel tutorial. I had to scramble to make some changes, as I was using Laravel 5.1 and the tutorial was 5.0, which caused a couple issues. Nevertheless, it’s a pretty straightforward looking system. For a CRUD heavy application, I can see some obvious advantages over ZF2. While pretty much everything you can do in Laravel is there in ZF2, it isn’t quite as intuitive, and there’s a bit more configuration required to tie everything up. I’m looking forward to giving it a test drive for real.
As for the CodeEval challenges, today was a light one so far*. I only did two easy (one in PHP and one in Ruby) and one moderate (PHP). The moderate challenge was figuring the largest sum of contiguous elements in an array. It’s challenges like this where my DIY background is at its least advantageous. I can usually get things like this by brute force solutions, which are expensive in terms of time and memory. I suspect this is because I don’t have much experience in mathematics and the creation of algorithms. It’s amazing how much faster your solutions can be when you get a good algorithm going. Once I looked around the internet and realized the optimal way to do it, it was almost head-smackingly obvious.
* I intend to do a hard challenge this evening, which will probably include a warm up easy one as well. As I’ve not yet done the challenges, I can’t count them.
Latest posts by Andrew (see all)
- On Developers and Von Moltke’s Leadership Matrix - November 9, 2015
- Andrew’s Coding Corner- Beware the Sunk Cost Fallacy - November 3, 2015
- Andrew’s Coding Corner – Unit Test, Young Man, and Grow Up With the Code - October 27, 2015