If You Only Knew The PHP if statement is probably the first piece of code that you wrote. “If” statements are conditional statements, meaning that if the expression that they’re evaluating is true, the if statement will allow for the execution of the expressions inside of the if statement body. The anatomy of the if statement looks like this: <?php if ( boolean expression ) { expressions in body } ?> The if statement starts with the word if, followed by an expression enclosed by parentheses. The expression will evaluate to either true or false. If the expression evaluates to true, the expressions inside the
Articles
Which Operators Come First? PHP Operator precedence just looks at which operation will be performed first. You’ve seen operator precedence in mathematics. The multiplication and division operators are executed before the addition and subtraction operators. With all of the different operators that we have in PHP, the interpreter needs to know which operation to perform in what order. Let’s look at a basic example in math to get started: 2 + 3 * 5 If you were not aware of operator precedence in mathematics, you may start working from left to right. The answer that you would get would be
Is it possible for Non-Technical People Manage Software Projects? Yes. For it to be successful, there needs to be a separation of tasksYes. For it to be successful, there needs to be a separation of tasks and an understanding of the basics. Everything else is high level enough that the project manager can be successful enough without having any background in software development or software development projects. Is it easier for projects to be managed by technical project managers? Of course. Having a deep understanding of software development is extremely beneficial in a small team, but can be a
Business Leaders vs Software Developers: it’s time for the fight of the century. And both sides will lose. I walk a fine line between both teams and both need improvement. When the software development team is left unmonitored, that’s when real issues start to arise. From the Business Side A ticket is submitted and it takes days, sometimes weeks, for someone to respond to it. What are the software developers even doing? You hear that they’re busy, but busy with what? All you see is that your work is not getting done. You give it a couple of months, but
My Hands Aren’t Short! PHP shorthand operators are amazing! There, I said it. The shorthand operator combines the expression on the right with the assignment operator. The variable that appears on the left-side of the assignment operator needs to appear on the right-hand-side as well in order for you to be able to use the shorthand notation. Let’s take a look at the following code: <?php $x = 1; $x = $x + 1; echo $x; ?> PHP assigns the integer value 1 to the variable $x. In the second statement, $x + 1 is evaluated. $x contains
If you’re working for a company where the PM is the boss, run. You’re not going to work in a more toxic environment than that. Cross if off your career list and never reflect back on it. The Project Manager should not be viewed as the boss in a software development team. Software Development teams are functional teams with each person serving a specific role. The project manager manages the project, which means that it’s their responsibility to keep the project on track. What else do Project Managers do? Developer Support They support developers when they need information from the
Why is QA important? This is a cautionary tale. Having no defined QA process is a disaster waiting to happen. It won’t just occur once, it will constantly keep occurring. The only thing that will change is the severity of the disaster. Sometimes you’ll have a mini-disaster and other times you’ll bring down the entire production environment. Enough of the gloomy intro, let’s look at the tale from the IT crypt that I’ve actually been a part of. I’ve worked for a company that had no QA process whatsoever. It was left up to the developer to decide how much
You have your million dollar idea. You just need someone to build it. Partnering up with a software development agency seems simple enough. Finding the right software development company is a different story altogether. Research It starts with a Google search. Narrow your search to 10 development agencies. Look at their reviews and make sure that nothing stands out. Review their company page. An agency that doesn’t take pride in their work will reflect it on their portfolio. Review their work. Look for detailed customer testimonials. When a client is satisfied with the work produced, they are excited about providing
Any business that you start will go through a negative earnings period: you’ll spend a lot more than you earn. I started a business in 2012 called First Choice Wheels and Tires (Cyber Rims Inc.). The first month brought in a whopping $274: we sold 1 wheel. The second month brought in $5000.00. The third month $10,000. After 2 years, we were averaging $100,000 per month. I wont go into specifics here, since this is not what this article is about, but we closed the business in 2019. What is important to note is that we were breaking even and/or
How Many Operators do You Want Already? PHP Array operators are operators that are used on arrays. Who would have guessed? The first operator that we’ll look at is the + operator. You would think that this operator would be used to merge two arrays, taking elements from both arrays and merging them into a new array, but that is not the case. If you were to output the result of the code above, you would quickly see that the result is: The + operator creates a new array that combines key/value pairs. Elements with numeric