Developers as a whole suck at API design. We don't suck at making APIs. We don't suck at implementing them. We don't suck at using them (well, some more than others). But we do suck at designing them. In fact, we suck so much that we've made entire discipli...
The other day, I was directed at an interesting question on StackOverflow asking if password_verify() was safe againt DoS attacks using extremely long passwords. Many hashing algorithms depend on the amount of data fed into them, which affects their runtime...
Start by exploring what makes a site responsive and how some common responsive design patterns work across different devices. From there, you’ll learn how to create your own responsive layout using the viewport tag and CSS media queries. As you proceed, you’ll experiment with major and minor breakpoints, and optimizing text for reading.
I think, because for the majority of applications out there this is enough. Simple apps with hardly any business logic. So you have a data centric model with getters and setters, CRUD operations around that, forms and views and you are done.
As you pointed out, there is more to an application than just interaction and presentation.
Once you have some business logic in your applications, problems and flaws with those "architectures" become visible. And you cannot solve those problems with MVC because you don't know exactly where business logic fits into MVC.
You have to view change the perspective to the core of the application - the problem you try to solve.
Great post. I hope the next post is going to the DDD direction. :)
There's one skill that I learned in College that I wish everyone would learn. I wish it was taught to everyone in elementary school, it's that useful. It's also deceptively simple. So without any more introduction, let's talk about Dimensional Analysis: Wha...
There's currently a proposal that's under vote to add Scalar Typing to PHP . It's been a fairly controversial post, but at this point in time it's currently passing with 67.8% of votes. If you want a simplified breakdown of the proposal, check out Pascal Ma...
I learned something rather disturbing yesterday. CodeIgniter 3.0 will support PHP 5.2 . To put that in context, there hasn't been a supported or secure version of PHP 5.2 since January, 2011. That's nearly 4 years. To me, that's beyond irresponsible... It's...
I have the honor today of writing a guest blog post on Igor Wiedler's Blog about Compilers . If you don't know @igorwhiletrue , he's pretty much the craziest developer that I know. And crazy in that genious sort of way. He's been doing a series of blog post...
ircmaxell's blog: A Beginner's Guide To MVC For The Web
There are a bunch of guides out there that claim to be a guide to MVC. It's almost like writing your own framework in that it's "one of thos
ircmaxell's blog: A Followup To An Open Letter To PHP-FIG
And while this may seem like it's a "strong item vs weak item" debate, it's not (whether get($key) should return the raw item, or an object
ircmaxell's blog: The Tale Of The Wrecked Fire Engine
A few of us were sitting around the station making fun of the driver (who had already left). We said things like "he shouldn't ever drive" a