Building Websites with PHP/Nuke
上QQ阅读APP看书,第一时间看更新

What PHP-Nuke Can Do for You

PHP-Nuke is ideal for creating community-driven websites.

The 'community' part of 'community-driven' means that the site is geared towards a particular group of people with similar interests. Maybe this community is concerned with wine making, flowers, programming, zombie films, or even dinosaurs. Maybe the community is actually a group of customers of a particular product. Of course, we are talking about an online community here.

Whatever the community is into, the site can be structured to hold information relevant to the members; maybe it will be news stories about a forthcoming zombie film, links to other zombie sites, reviews, or synopses of other zombie films.

The 'driven' part of 'community-driven' suggests that the information available on this site can be extended or enhanced by the members of the community. Members of the community may be able to shape what is on the site by posting comments, contributing or rating stories, and participating in discussions. After all, communities are made up of people, and people have views and opinions, and often like to express them!

This is exactly what PHP-Nuke enables. More than being just a website, a PHP-Nuke site provides a rich and interactive environment for its visitors.

The best bit is, you don't have to be an expert programmer to achieve all this. With only rudimentary knowledge of HTML, you can engineer a unique-looking PHP-Nuke website.

The Visitor Experience

The standard installation of PHP-Nuke provides many features for its visitors. Some of them are:

  • Searchable news articles, organized into topics
  • Ability of visitors to create an account on the site, and log in to their own personal area
  • Ability of visitors to rate articles, and create discussions about them
  • Straw polls and surveys
  • Ability of visitors to submit their own stories to be published on the site
  • An encyclopedia, in other words, a collection of entries organized alphabetically
  • A catalog of web links or downloadable files
  • Discussion forums
  • Ability of visitors to select their own look for the site from a list of different 'themes'
  • RSS syndication of your articles to share your content with other sites

This is not a complete list either. And these are only some of the features that come with the standard installation. PHP-Nuke is a modular system; it can be customized and extended, and there is a huge range of third-party customizations and extensions to be found on the Internet. Any of these can add to the range of features your site provides.

The Management Experience

As a potential 'manager' of a PHP-Nuke site, as you read through the list of features above you may think they sound rather attractive, but you might also wonder how you will handle all of that.

PHP-Nuke provides a web-based management interface. You, as the manager of the site, visit the site and log in with a special super user, or site administrator, account. After this, from the comfort of your web browser, you run the show:

  • You can add new information, and edit, delete, or move existing pieces of information.
  • You can approve articles submitted by the user to be shown on the site.
  • You can decide the features of the site.
  • You can control what is displayed on the pages.
  • You can control who is able to see what.

With the possibility of adding so much to the site, you might think it will be difficult to keep track of everything, and make sure that everything is linked. This is also done for you by PHP-Nuke, and it creates navigation menus for the visitor, and displays lists of articles and other information, automatically setting up the links for visitors to move from one place to another.

Of course, PHP-Nuke cannot do everything you imagine, and it has its limitations. For example, PHP-Nuke is very good for adding text content to the site. However, it is not so good (in the default setup) for adding images and other resources to the site; it supports them once they are available, but the management interface does not really help with adding them. To add images and other resources such as Flash movies or banners, you will need to access the web server directly using an FTP client.

However, the power and flexibility PHP-Nuke offers you to manage a complex website would be difficult to achieve without many, many hours of careful programming.