What can I make with PHP?

What can I make with PHP?

During my time as a PHP developer, I’ve been asked many times the same question.

What can I make with PHP?

There are literally numerous things you can develop using PHP, however PHP alone isn’t going to make your applications functional. We need more, such as HTML, CSS and Jquery/Javascript to aid us along the way.

So, what exactly is it that we can do with PHP and NOT use any other languages? PHP is a back end programming language for creating interactive web applications that can store and manipulate data as well as other things. Without using at least HTML, you really limit yourself as to what you can do. You can create PHP files that can output information using “echo” or “printf” but that is about what you’re going to be left with at least when it comes to what your users are going to be able to do with your application. You’ll need to be able to at least input some sort of data, which can be done by either accessing a SQL database or through HTML forms. So long story short, you’re going to want to have some basic knowledge of HTML and CSS to really do anything major.

 

On to our real question and giving you some ideas. What can you really do with PHP today? So you’re scouring the web trying to find an idea to create an application to test your PHP skills. Here’s a couple ideas to get you started on your way.

 

  1. Create a log in script. While this seems to be a very basic thing to start with and probably the most comment thing people start making. Sometimes these are developed incorrectly. It’s one thing to create a log in script using PHP and HTML/CSS but it’s another thing to secure your log in script from SQL or javascript injection. Take the time to learn about these two injection techniques and what can come as a result to someone being able to use them on your form/php scripts. Making things as simple as not allowing users to use special characters such as <>/ can go a long way. Plus, it’s always a great idea to use prepared statements in your PHP if you’ll be working with a database. Don’t ever just take someones input and insert it in to your database. Bad choices!
  2. Simple redirect script. Very simple redirect script, however what is the point of this? Use this as an idea for the future. You may come to a point in your life where you’ll be working with a client and they’ll have a pre-existing site. They may want to change folders, or eliminate pages. Taking the pages that show up in Google and putting redirect scripts on them can send them to the proper pages without losing potential customers. Learn a bit more about SEO as you look into this.
  3. E-Mail form. Again, this is some where you’ll want to double check on your SQL Injection prevention, but make a simple HTML form, use the provided mail() function that PHP has, or take it a step further and learn SMTP. Take a look at things such as the PEAR Mailer PAckage and Swift Mail package to get started with this.
  4. Check out some sites that have an API and learn to interact. You’ll learn about things such as cURL when going into this. A great place to start is with Twitter. They have a decent API and you’ll learn how to interact with another site. Take a look at things such as REST API(twitter). There are over 15,000 sites with active APIs. Search around.
  5. Build your OWN API. I’m not going to go into much detail here, but learn about the htaccess file.
  6. Create a config file. Make your site easy to update by creating a config file and learning about GLOBAL variables. These can make your site so much easier to update.

 

If you have ideas on what you think people should start building first, please leave them in the comment section. I’d really love to hear your thoughts and connect with us on Facebook and Twitter

Author Description

Nerdiot

PHP developer, Nerd.. whatever. Been doing design and development for over 15 years.

No comments yet.

Join the Conversation