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.…

The Top 17 Most Popular PHP Array Functions

Popular PHP Array Functions

You are going to run into PHP Arrays and PHP array functions with amazing regularity during the course of your web design and web development. It makes sense, because arrays are one of the most useful data types we can use. So it got us to thinking, what would you get if you combined the worlds most popular PHP CMS applications and dumped all of their source code into one bucket, then analyzed their most used array functions?…

Top 10 Websites for Social Networking

top 10 websites for social networking

There are a lot of different websites for social networking. In fact ‘a lot’ is a bit of an understatement! This post is about what I feel are the top 10 websites for social networking, a little bit about them, and the pros and cons of each. Let’s have a look, shall we?!

1: Facebook


Facebook is the leader on the online social networking space, coming in at number 1 on the VegiBit list of top websites for social networking.…

Codeigniter Model Tutorial

Codeigniter Model

So far we’ve looked at Controllers and Views in the MVC or Model View Controller paradigm. With just those two facets of MVC you can actually build some pretty cool, albeit simple, applications that have basic logic and features. Now we come to the Model. We save the best for last! The Model is really the workhorse in your MVC website. Most people will try to keep their controllers and views skinny while the model becomes fat.…