So you’ve decided that you want to learn a new language and PHP is your language of choice. Now that you’ve made your decision, I’m going to walk you through how to get PHP running on your system and how to begin learning a new language.
Articles
10|05
How to Include All Your Functions In 3 Lines of Code
Functions are amazing. Working with huge function files is not.
I like to group all my functions into different “function files” to keep everything nice and clean. For example, I’ll keep all my functions that clean up various strings or elements in a clean.php file.
This is great because I don’t have to scan a 50000 line PHP file to find the function that I’m looking for.
As your application grows, the number of function files may grow with it. This can pose a problem. Did you remember to include the new function file in all necessary scripts?
10|01
A Crash Course in CSS
I have a friend who is wanting to get into HTML and CSS. He has a good understanding of HTML tags, but didn’t know anything about CSS.
I wrote up this quick HTML file as a crash course in CSS. I’ve decided to share it with everyone, maybe it’ll help at least one person.
Not bad for a 1 minute tutorial, should be a new record!
09|30
Partially Functional
PHP functions can be extremely useful if you have a chunk of code that you plan on using multiple times in your scripts. Functions keep everything all neat and tidy and in the case you have to make a change, you only have to edit one place instead of multiple places.
09|28
Combine Your CSS Files with PHP
I like to work with multiple CSS files. I also like to limit the number of HTTP request my site/app is making.
I’ve seen a couple methods on the Internet of using PHP to combine your files and decided to use some of those methods in my own little script.
Basically this script lives in your CSS folder. It grabs every file, opens it up, takes the content and then mashes it all together. It also takes our new content and strips any comment and white space to create a new compressed file.
09|26
Slim WordPress Stylesheet
The wordpress style-sheet can be a little bit daunting/confusing especially if you’re new to wordpress. It’s broken up into multiple sections with repeating blocks of elements.
I’ve stripped it down and this is the CSS I use when starting with a wordpress site.
It’s valid CSS but take it with a grain of salt as it’s not for everyone. It’s helped me and I hope it helps you!
09|23
How to Code a Signup Form with Email Confirmation
No one likes spam and what’s worse is fake users falsifying your stats.
In this tutorial we are going to use PHP and MySQL as well as the Swift Mailer class to deal with user signups and email confirmation.
This tutorial is now owned by NetTuts+, I’m just the author.
09|22
Injection with Mootools – Part 3: Saving
We’ve got our list adding items and now everything can be sorted.
Lets wrap up the tutorial and add the ability to save the list!
09|21
Injection with Mootools – Part 2: Sorting
Alright, so we’ve created our list and can add items to it.
What if you want the apples to come before the oranges? You’re stuck, right?! Wrong.
09|21
Injection with Mootools – Part 1: Creating Elements
So you have a grocery list that you need to add items to. The only thing at your disposal is Mootools. I think we can work with this.
