Why build all your pages in PHP?

May 15th, 2008 by Stefan Mischook

I recently had this question put to me by a web designer who was considering the idea of using PHP pages in her websites:

“Why build all your pages in PHP … Why not use standard .html pages?”

She then expanded the question to:

“What I mean is…… what’s the benefit to building ALL sites in PHP?”

The Answer:

By making all your web pages PHP pages from the start, you are basically leaving open the possibility of using PHP in your web pages at any time.

… You don’t want to (at some later date) have to go back and change your .html pages to .php. For example:

  1. my-product-list.html
  2.  
  3. … becomes:
  4.  
  5. my-product-list.php

Beginners should note, that you need to have .php extension on any web pages where you want to use PHP. Check out my basic PHP videos for details.

-

PHP can do a lot more than just talk to MySQL. One very common use of PHP is to create ‘includes’ … this will allow you to insert snippets of code in your pages from separate files. This is kinda like using external CSS files. So you can use PHP includes to say create your page footers.

You can learn more about PHP includes in my free videos.

In the end, by making all your pages php pages from the start, you will just have a more flexible website to work with since you will be able to access PHP’s power.

Stefan Mischook

www.killersites.com

Aprenda Programacion Orientada a Objetos en PHP

May 12th, 2008 by Stefan Mischook

Hi,

I’ve released my tutorial on Object Oriented PHP in Spanish.

php logo

You can download the PDF:

Aprenda Programacion Orientada a Objetos en PHP.pdf

Many thanks to Javier W. Barbieri from Iquitos Peru.

PS: I have new PHP tutorials coming out soon.

Stefan Mischook

www.killerphp.com

Managing Clients - draw the line and hold your ground.

April 14th, 2008 by Stefan Mischook

One of the most frustrating aspects of being a web application developer (a Web nerd) is found in the dynamics of dealing with clients.

I’ve been known to say: “I love everything about programming … except for the clients!”

This aspect of the web business (managing clients,) falls under the umbrella of project management - something every web developer, must learn at least a little bit about.

Read the rest of this entry »

Connecting PHP to MYSQL Video Tutorial

April 14th, 2008 by Stefan Mischook

Hi,

I was just looking over killerphp.com and noticed that I hadn’t posted any new content for a little while - it’s been about two weeks!

… That can happen when your busy removing your teeth.

:)

Anyway, I’ve gotten around to releasing a new set of beginners video tutorials on PHP. This time around, I have a four part video on how to get PHP to talk to MySQL.

PHP Video Tutorial

Besides actually walking through the code of connecting PHP to MySQL, we learn a few other things along the way:

  • We learn about the multiple ways that PHP provides for us, in terms of being able to work with MySQL.
  • We learn about the importance of understanding error messages in programming in general. We look at a couple of specific errors that you can run across when working with MySQL.
  • We learn about the die() function and how it can be used when working with MySQL.

As with all my beginners videos, beyond teaching the task at hand (meaning the main point of the video) I also try to introduce other things along the way - things like new functions and good programming practices.

The videos have a total running time of about 27 minutes and are presented in a new format. Let me know what you think.

Thanks,

Stefan Mischook

www.killerphp.com
www.killersites.com

NEW BASIC SQL TUTORIALS

April 1st, 2008 by Stefan Mischook

Hi,

I’ve managed to upload new video tutorials on SQL basics. At this point, I’ve covered the four big SQL statments:

  1. INSERT
  2. SELECT
  3. UPDATE
  4. DELETE

You can view the videos here: Basic SQL Statements Video Tutorials.

Now that we have that covered, my next videos will be on using PHP to connect to and work with MySQL.

Thanks,

Stefan Mischook

www.killerphp.com