Packages are great. For PHP, Composer has made modularising your code and managing dependencies within your app easy peasy.
The topic of this blog post, however, is about what exactly constitutes a package, and where things do and don't belong. I will be talking in the context of the Laravel, as this is what we use at work, but these points should be roughly relatable to any modern framework that utilises Composer.
Almost 3 years ago, I started my "Day Zero" challenge, or as knew it as, the "101 things in 1001 days" challenge.
I hadn't realised, but 1001 days was up over 70 days ago, and I finished on the grand total of 33 tasks complete. Not quite a third of the list.
A suitably ambiguous title I know, but it will become clear soon enough. On a slow evening earlier this week, after a brief perusal of the latest goings-on on Twitter, I found myself on the 37signals website. More specifically, reading their free downloadable "Getting Real" book. Flicking through it, I stumbled upon a brief excerpt from (I assume) a book called The Pragmatic Programmers. This particular page caught my attention the most.
I've never really *got* web development frameworks. Sure, I understand what they're trying to achieve and I can appreciate they can save you a lot of time. But I don't see the benefit of them in the long term.
I'm a web developer by trade; concerning myself more with how stuff works, rather than how it looks. It's somewhat of a cliche, but, as with a lot of people, I don't feel I chose my career, it sort of chose me. I simply did what I found interesting. I liked computers, so I did 3 years at University studying them; got myself an internship, followed by a job, and since then haven't really looked back since.
It's been some time since I've had to produce a design from scratch. In my day job I'm mainly a back-end developer, and recently I've been getting my hands dirty with the command line and a little sys admin duty. I'm occasionally tasked with putting together a page, to produce a visually pleasing combination of elements. This, I have no problem with. I've noticed lately though, that my ability to simply sit down and produce a design from scratch has been lacking.
Legs. You've been pretty supportive of me so far in my life. You've grown with me, you've held me up when i've needed it, and you've gone the extra mile when it was demanded of you. Now, though, now I really need a big favour.