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 Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 161 All time: 8,956 This week: 36Up
Version License PHP version Categories
the-age-of-my-dog 1.0Proprietary License4.0HTML, Biology, AJAX
Description 

Author

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: 152 Down1 in Venezuela Venezuela Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  DemoExternal page  
  Files folder image Files (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:161
This week:0
All time:8,956
This week:36Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3047