PradoSoft

Blog tutorial

From PRADO Wiki

This article is a draft under early authorship and is rapidly changing. Please consider suggesting your changes on the discussion page.

In this Step-by-Step tutorial, we are going to build the PRADO Demo Blog by ourself.

Every directory/file/class/function used in this tutorial will be explained.

Written by John Ripke

Contents

PRADO Basic

This step is similar to Helloworld from the QuickStart Tutorial

Creating the base directory structure required by PRADO.

  • Create a new directory, with the name blog.
  • Create two new subdirectories in the blog directory, with the names assets and protected.
  • Create two new subdirectories in the protected directory, with the names pages and runtime.

IMPORTANT: The directories assets and runtime must be writable by the Web server process.

Creating the PRADO base files required by PRADO.
- Create a new file named index.php, read the howto create a basic index.php file.

Planning Our Blog

Main Objectives of the Blog:

  1. Application designed using dynamically included files.
  2. List topics and articles from the database.
  3. The main page will list the latest articles in all topics in the database.
  4. Search the site for full word matches, in topics, articles and even comments.
  5. User authentication.

Additionally:

  1. provide WYSIWYG for post editing

Building the database

Textual database schema.

Building the Blog

  1. Creating the Application configurations.
  2. Creating the Main Layout.
  3. Creating the Portlets.
  4. Creating the Pages.
Personal tools
Your user name:

Your password:

MediaWiki