ToDo

v.1. (1970-01-01)

Description

ToDo screenshot Basic PHP app to learn from and to use as your ToDo-list.
The documentation in middle of writing, so some things might not be 100% clear yet, but we're expanding the docs as soon as possible. See it yourself, visit our demo! (v.1.20081221)

Download

SVN access is limited to web-based only at the time, but from there you can find the newest revisions. Just locate your browser to our svn-repositories browser and select todo from the list, then grab your copy in a nice package.

Latest copy from our Subversion repository as .tar.gz Browse the repository Download old version: ToDo/v.1.20081221 (336kb)

Installation

...is easy as eating bread!

  1. Locate yourself a webserver and host that knows PHP (5-version is nicest) and MySQL.
  2. Download the todo.zip package and extract it.
  3. Locate the todo.php-file and configure the needed values.
  4. Upload the files to your webserver and browse to the ToDo installation.
  5. If your configurations were ok, the database table has been created and the site should work like charm, in other cases, check your configurations.
  6. Add your first ToDo-item to confirm it worked fine.

The next part goes into more detail of what is everything does and isn't required to be read.

Most things explained

index.php explained

require_once("todo.php");

From line 3; includes the needed functions and database access for the interface.

$listall = listall();
if( is_array($listall) )
{
	echo "<ol id=\"thelist\">\n\n";
		formatlist( $listall );
	echo "</ol>\n";
} else {
	echo "<p class=\"noentries\">Nothing found!</p>";
}	

From lines 33—41; fetches the list using listall()-function writing the results to $listall-variable. Then the $listall-variable is checked so it really contains something.

If the variable contains an array, we write <ol> elements around it and set the ordered list id as "thelist" and send it to simple formatlist()-function that loops through the array and echoes nice <li>-elements with the delete link.

todo.php explained

Coming soon...

Database table


CREATE TABLE h13_todo (
  id int(55) NOT NULL auto_increment,
  w timestamp NULL default NULL,
  todo text collate utf8_swedish_ci,
  PRIMARY KEY  (id),
  UNIQUE KEY `when` (w)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_swedish_ci;

Creates a MySQL database table with 3 columns.

The table will be written into utf8_swedish_ci-collation and UTF8-charset for best compatibility with everything.

Development

People

Created as joint project between Hollow13.net members Mr. Penttinen (dommend), who did the graphics and design work and Mr. Vuorinen (darkmind) who build the code and now does the upkeeping.

Development feed

The news are live feed from our lovely svn repository of the project.
back to apps.hollow13.net