PHP (17th October 2004)

So i bought this book Prgramming PHP I spent quite a long time in the book shop
deciding about which book to buy – for a while i was tempted by Perl but i read in one book that it had become a bit bloated
over the years as it does lots of different things aswell as script web pages so allthough it may be more powerful, its more difficult to use.
This kind of makes sense to me as im really a Jave developer so if i want a full blown language i would write a servlet, in the case of this website
i want something lightwieght that scripts my pages for me so PHP seems the way to go. Also WordPress uses PHP so it seems like a good choice.,
I also like the way you can just insert stuff in. SO for example ive made this page a .php document so here ive put “hello from jim” :

Which is a bit of php – i like that – kind of like JSP but without the hassle of a web container.
Sweet

So now i pretty much have the basics for my site architecture. I noticed that on Meyer’s site, you dont see files like someFile.php
so i realised you can call something index.php and then your URL is simply the directory name which looks a lot Sweeter
So this page is called index.php and thats all and how it works.

Share