The Most Awesome PHP Script to Highlight Your Code

The Most Awesome PHP Script to Highlight Your Code

Sometimes you might want to be able to take a quick look at your PHP files and view their code, syntax highlighted and all, without having to open your favorite IDE application. I know I like to have this ability but I couldn’t find an easy way to do this. Well I decided to create this cool script that will allow you to do just that.…

Build Your Own News Aggregator with Twitter Bootstrap and SimplePie

twitter-bootstrap-simple-pie

Wouldn’t it be cool to use two great technologies to create your very own news aggregating website? Well surely it would, and that is exactly what we’re going to do. Let’s grab ourselves a copy of the latest version of Twitter Bootstrap and SimplePie and get cookin!

The tools you will need

http://simplepie.org/

SimplePie is a PHP Library that is fast and easy to use for parsing syndication feeds.…

3 Easy Steps to Creating Awesome Twitter lists via the Twitter API

Creating lists in twitter is a fantastic way to curate tweets for your perusal based on the interests you have. It would be just as simple to follow any and all accounts you enjoy based on all of your interests but the problem here is, you probably have a lot of interests. Once you follow all the accounts related to all of your interests, you can no longer manage your own timeline.…

What are Functions in PHP

What are Functions in PHP

It’s good to encapsulate code you need to run over and over again inside of a function so you don’t have to type it out over and over. Code resuse and keeping it DRY (Don’t Repeat Yourself) is key to providing a maintainable application. A function is simply a piece of PHP code that you can call and it may or may not have parameters that you can send to it, and it also may or may not return a value.…

The Top 9 Most Popular PHP String Functions

The Top 9 Most Popular PHP String Functions

Strings are everywhere in our lives and in our programming. When we think of reading text, what we’re really doing is reading strings in a sense. In PHP a string is just an array of characters. There are several ways to define strings, and many ways to use the built in PHP functions to operate on them. Let’s take a look at the various ways we can define strings, and then we’ll cover The Top 9 Most Popular PHP String Functions, similar to our popular most used array functions in PHP blog post.…