Woke up around 6:30 on Sunday and decided to spend the day starting my work with PHP. The problem with PHP is that it can be a bit difficult to jump into as it is a server side programming language. Basically, unlike HTML and jScript, PHP demands a bit of setup in regards to establishing a web server, FTP (file transfer protocol) client and installing MySQL (server query language).
Note: spelling out the acronyms are not for your benefit necessarily. I need to learn this shit.
Easier said than done apparently. As a user who is finally understanding that the internet actually has a bit of logic behind it and is not, as James Boman puts it, "fucking magic,"setting up an Apache web server is a pain in the ass. After about 2 hours of getting Apache working, but not SQL and then vice versa, Zach decides to key me in on XAMPP.
Zach has been working on getting a media server set up with Apache and purchasing some domain space. Apparently he was having some similar problems that I was having and found XAMPP. XAMPP (www.apachefriends.org/en/xampp.html) is a program that installs and sets up all of these resources for you.
X(cross-platform)
A(Apache)
M(MySQL)
P(Perl)
P(PHP)
If you ever want to feel like a moron, attempt to set up all of these resources individually, uninstall them, then run XAMPP. Nothing makes you feel dumber than the window that pops up with each resource listed out, a run button, and a light that changes from red to green when XAMPP automates all of these processes for you. I jest, its a genius program for a first-time user and I simply can't recommend it enough.
So far in PHP, I've learned the basics of the language and some simple syntax. I got my Hello World initiation over with, and have learned simple HTML/PHP integration coding and how this integration manifests on both the client and server side. I'm hoping to move along in my book this week and learn more about the syntax of variables and what all the language can perform.
No comments:
Post a Comment