PHP Classes
elePHPant
Icontem

PHP AJAX Calculator: Perform calculations and get the results via AJAX

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-06-06 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 283 This week: 4All time: 7,421 This week: 82Up
Version License PHP version Categories
ajaxcalculator 1.0.0GNU General Publi...5PHP 5, Math, AJAX
Description Author

This class can perform calculations and get the results via AJAX.

It can take parameters values from a form and perform simple calculations with those values like addition, subtraction, multiply, divide, logical_and, logical_or and power.

The class can return the results and a summary of the operation in XML format so it can be easily processed by client side JavaScript code that can update the user interface to the display the results.

Innovation Award
PHP Programming Innovation award nominee
June 2019
Number 2


Prize: 30 Days Free Access to O'Reilly Safari Learning Platform
AJAX requests are useful to develop applications on which the browser interacts with the server without reloading the current page.

This class can present a simple calculator that performs several types of operations and display the results using AJAX requests to perform the necessary calculations on the server side.

Manuel Lemos
  Performance   Level  
Name: Pierre-Henry Soria <contact>
Classes: 19 packages by
Country: United Kingdom United Kingdom
Age: 29
All time rank: 52927 in United Kingdom United Kingdom
Week rank: 21 Up1 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

 

Details

PHP Ajax Calculator

What is That?

Description

That Ajax Web application is an online PHP Ajax Calculator working with jQuery and OOP PHP (Calculator class).

P.S. This is a very simple project. You are free to improve it or change it! Good luck ;-)

Who is the Author?

Pierre-Henry Soria

How to Contact the Author?

By email at: pierrehenrysoria [[AT]] gmail [[D0T]] com

What is the License?

This script is under MIT License

  Files folder image Files  
File Role Description
Accessible without login Plain text file ajax.js Data Auxiliary data
Plain text file Calculator.php Class Class source
Accessible without login Plain text file call.php Example Example script
Accessible without login Plain text file common.css Data Auxiliary data
Accessible without login HTML file index.html Doc. Documentation
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:283
This week:4
All time:7,421
This week:82Up