|
|
|
Acknowledgments
I'd like to
|
|
|
|
|
|
|
Part I: PHP-Nuke Quick Start
|
|||||||||||||||||||||||||||
|
|
|
|
|
|
Chapter 1. What Is PHP-Nuke?
Let's start by ignoring the
Nuke
part of PHP-Nuke; it isn't
Language lesson aside, PHP-Nuke is what we in
the biz call a
It's probably more accurate to say that PHP-Nuke
started
as a content-management
system. Today's PHP-Nuke has grown into a full-fledged "Web site in
a box" software package that contains everything but the kitchen
sink. And I'm pretty sure I saw a kitchen sink add-in somewhere on
the Internet. You (or, better yet, someone else) can install
PHP-Nuke and get a Web site up and running in a few seconds. And
that Web site won't be some weak-looking site that you put together
in FrontPage; no, it'll be a
complete
Web site, with discussion
Okay, bottom line: What is PHP-Nuke, anyway?
It's a tool for building Web sites that do what you want, look like
what you want, and behave like you want. Like a big box of Legos,
PHP-Nuke gives you a lot of
|
|
|
|
|
|
|
Yeah, but What Is It?Bear with me for some technical background material. PHP is a separate technology, designed for server-side scripting. Essentially, you make normal Web pages, which are formatted using the Hypertext Markup Language, or HTML. PHP then adds programming code right in with the HTML. When a Web browser asks a Web server for a PHP page, the Web server takes a moment to execute all that PHP code. The code runs on the server and does stuff like access the database, output text, and so forth. The practical upshot of all this is that you get a dynamic Web page , one which might look a bit different each time it's sent to a Web browser. For a simple example, point your Web browser to www.ScriptingAnswers.com/cms2. Each time you look at this page, it'll be slightly different: Perhaps a different survey will be shown or the login security code will change. That's all the result of PHP code, or scripts, being executed on the Web server as the page is being transmitted to your Web browser. PHP-Nuke is written entirely in PHP. So PHP-Nuke is basically a big bucket of Web pages with PHP scripts embedded in them. PHP, by the way, is completely free. Most of the databases used by PHP-Nuke (MySQL is a popular choice) are free. PHP-Nuke is free. The Apache Web server software usually used to host PHP-Nuke sites is free. The Linux operating system usually used on PHP-Nuke Web servers iswait for itfree. You can see how software would become popular with that pricing model.
So PHP-Nuke uses all of the PHP magic to create
a Web site. How much do you need to know about PHP to use PHP-Nuke?
Nada. Sure, a little bit of knowledge can go a long way if you
really want to dive into PHP-Nuke and tweak it, but you don't
need
to do that. Most of the
customization you do with PHP-Nuke is all done from a Web-based
administrative interface, where you just click
|
|
|
|