Until now, I use proecedural functions to divide all my code into functions. Sure, i had a few classes such as database class, form validation, etc which I would reuse again and again, but for the code used in 1 script only, i used procedural functions to divide the code.

E.g if there was a script used to add users to the database: its processing would be like this:

PHP Code:
<?php
if (isset($_POST['submit']))
{
 
validate();
 
addUser();
 
sendActivationEmail();
 
displayConfirmation();
} else {
 
showForm();
}
 die;
?>
But now I want to change the way I code and use classes even for normal/ single scripts. For example, instead of the previous processing method, i want to use something like:

PHP Code:
<?php
$userAdder
=&new UserAdder;
if (! 
$userAdder->isSubmitted())
{
 
$userAdder->validate();
 
$userAdder->add();
 
$userAdder->sendConfirmationEmail();
 
$userAdder->displayConfirmation;
 
} else {
 
$userAdder->showForm();
}
die;

?>
I know there is no technical advantage of doing this.. but I want to do it simply because I enjoy OO coding more than procedural.

Do any of you guys also make your scripts this way? Are their any potential disadvantages of this method?