Category Archive for: Handling Images and Complexity

Integrating Utilities, Views, and Messages

You’re finally ready to put all of this together. Let’s revisit src and the less refined messaging that started the entire journey that led to . This code is no longer needed, so you can remove it, now and forever. Time to get a lot more elegant. Calling Repeated Code from a View Script First, add in…

Read More →

Standardizing on Messaging

There’s another issue to consider Is a success message the only type of message you might need to display What if you have an error that doesn’t rise to the level of requiring handle_error What if you need a status message, perhaps something like Please log in before attempting to delete a user. These are all similar cases…

Read More →

Images Are Just Files

The big glaring omission in your work with users is that pesky pr~file image that you worked. You probably remember that the user’s profile is pretty incomplete right now. The difference between your mock-up from that and where your actual code is easy to spot: it’s all in that image To place a user image on the page, turn…

Read More →

Handling Images and Complexity

You’ve come to a watershed moment in your programming career, however .brief you feel that career has been. Up until this point in the book, you’ve been using a lot of PHP constructs-from if statements to some basic functions to constants and even error handling. You’ve also become familiar with the basic MySQL interactions you’ll need in most PHP…

Read More →

Handling Images and Complexity

You’ve come to a watershed moment in your programming career, however brief you feel that career has been. Up until this point in the book, you’ve been using a lot of PHP constructs-from if statements to some basic functions to constants and even error handling. You’ve also become familiar with the basic MySQL interactions you’ll need in most PHP…

Read More →

Back to Top