Scripting vs Programming: PHP and OOP
·
OOP doesn’t make much sense when we’re talking about a scripting language.
·
OOP doesn’t make much sense when we’re talking about a scripting language.
·
I wanted to take a moment to un-obfuscate a technique of mine for others so I can continue to use it in my code.
·
I advocate the proper use of Singletons, but that situations where Singletons are appropriate are few and far between.
·
Like in JavaScript, sometimes you want an object property in PHP to be read-only. This is pretty easy to set up!
·
One of the things I miss most from my C# coding days is output parameters.
·
Few PHP developers know how to manipulate arrays using PHP’s built-in functionality. Here are three powerful applications of this function set and why you should use them in your code.
·
If you’re writing PHP code and you want to use lambda functions, don’t use PHP’s create_function() method. It’s insecure, and will be flagged as such by security software and analysts.
·
What if a visitor uploads a file that’s too large for your system to handle?
·
We often leave one place for another, still harboring the hope that we can one day return and pick things up where we left them.
·
When I explain to people that I enjoy writing code in C# more than PHP, they scratch their collective heads and, with a quizzical look, always respond, “why?” My biggest reason: I really enjoy working with parallel processing.