Showing posts with label page. Show all posts
Showing posts with label page. Show all posts

Friday, December 04, 2009

What are the content types associated with core Drupal modules?



Blog Entry
A Blog (short for weblog) is an online journal or diary, and the core Blog module allows registered users on your site to create their own blogs.
Book Page
Book pages are designed to be part of a collaborative book, enabled by the core Book module.
Comment
Comments actually aren't nodes, so Comment is technically not a "content type". Enabling the Comment module allows site visitors to add comments (typically short notes and replies to other comments) to nodes on the site.
Forum
A Forum node defines a topic for a forum discussion; people can reply to the topic by using comments. Forum nodes are organized into subject areas via a Taxonomy (list of categories).
Page
The Page content type is enabled in Drupal in the default installation profile. Typically Pages are used for static content that can (but are not required to) be linked into the main navigation bar.
Poll
A poll is where a multiple choice question is asked, and users can answer and see other people's answers to questions.
Story
The Story content type is enabled in Drupal in the default installation profile. Stories are generally used for information whose relevance decreases as time passes (such as news items), so that newer Stories will typically be placed higher on the page than older Stories.

Monday, August 17, 2009

Caching your pages with PhP

In the modern days, most of the sites are database driven. That means that your site is actually an application which retrieves data from a DBMS ( database managment system, eg MySQL) , parses the data and shows the result to the user. Most of these data are usually don't change frequently or don't change at all, and the reason that we use the database is that we can easilly update the site and the content.

A problem that this process creates is the server overhead. Every time we execute a query in the database, the instance of our script will call the DBMS, and then the DBMS will send the results of the query. This is time consuming, and especcially for sites with heavy traffic is a real big problem.