,

A Little Taste of Inspiration

Like all widely-used programming languages, PHP has the very useful ability to read data from, and write data to, files on the system. But the language doesn’t just stop there – PHP comes with a full-featured file-and-directory-manipulation API that allows you (among other things) to view and modify file attributes, read and list directory contents, alter file permissions, retrieve file contents into a variety of native data structures, and search for files based on specific patterns. This file manipulation API is both powerful and flexible – two characteristics that will endear it to any developer who’s ever had to work with file manipulation commands.

Where is the Inspriation?

For me, the inspiration lies in the author’s matter-of-fact point of view on what PHP is: a VERY useful programming language. It is inspiring to know that with a little study, most anyone can learn to do some really amazing stuff with PHP. It inspires me because, as a self-taught programmer, it’s precisely how I focus my learning– to recognize the inherent power of the language– and to maintain the integrity to try to learn, not just by memorizing code snippets, but by actually learning to use the language.

Believe in honest research and a commitment to the learning process. Establish a habit of notetaking, and take time to review your notes on occasion, just to see how much you’ve forgotten, and what you’ve actually been putting into your work. How much have you learned, only to never use it again after it was no longer fresh in your mind?

If I were going to advise someone who is setting out to learn PHP for web development, I might quote the age-old saying: “If you’re going do learn something, learn to do it the right way!”. Don’t take shortcuts for quick results. Instead, take your time whenever possible, so in the end you’ll truly know what you’re doing, and maybe even gain some respect for the genius behind the programming language itself!

The quote at the beginning of this post, i’ve taken from an The article on PHP File and Directory Manipulation at devshed.com. I’ve referenced it more than once in my own strategies.

If I succeeded at all in inspiring the reader, then take a look at this timeline. It’s an interesting snapshot of the origins of dynamic scripting languages. Having wondered over it a bit, I realized how incredible some of the capabilities we have today. A breif look at this chronology, and you may gain more respect for the origins of modern web technology. Consider learning as much as you can, without shortcuts, if you’re going to use the gifts they’ve given.

 icarus. File And Directory Manipulation In PHP (part 1). © Melonfire! 2003. Available at: http://www.devshed.com/c/a/PHP/File-And-Directory-Manipulation-In-PHP-part-1/ (Accessed: 2006-07-24)
 IBM.com. History Making Components, an article by James Durham

Whatchu do


Leave a Reply

Your email address will not be published. Required fields are marked *