PHP Classes

The age of my dog: Calculate dog relative age based on age and size

Recommend this page to a friend!
  Info   Demos   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 161 All time: 8,952 This week: 488Up
Version License PHP version Categories
the-age-of-my-dog 1.0Proprietary License4.0HTML, Biology, AJAX


This class can calculate the relative age of a dog based on real age and size.

It generates HTML and JavaScript to show a form asking the user to select several ranges of ages of dogs and their sizes. The form can be submitted using AJAX requests.

The class takes the selected option and displays a message showing the relative age of the dog compared to human years based on a table used by veterinarians.

Innovation Award
PHP Programming Innovation award nominee
March 2015
Number 6

Prize: SourceGuarding PHP encoder tool
There is a calculation that can be done to compare the age of a dog to the age of a man, so you can determine if the dog is young or old.

However, the correct calculation depends not only on the real age of the dog, but also on the size of the dog.

This class can perform the correct calculation of the age of a dog based on the dog size according to tables used by veterinarians.

Manuel Lemos
Picture of Roberto Aleman
  Performance   Level  
Name: Roberto Aleman <contact>
Classes: 19 packages by
Country: Venezuela Venezuela
Age: 50
All time rank: 1391 in Venezuela Venezuela
Week rank: 85 Up1 in Venezuela Venezuela Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  DemoExternal page  
  Files folder image Files  
File Role Description
Image file BIG.jpg Icon picture
Plain text file index.php Example example
Image file myage.jpg Icon picture
Plain text file process.php Example process the calls
Image file SMALL.jpg Icon picture
Plain text file the_age_of_my_dog.php Class main class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,952
This week:488Up
 User Ratings  
 All time