Warning: Declaration of MyAuthPlugin::initUser(&$user) should be compatible with AuthPlugin::initUser(&$user, $autocreate = false) in /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php on line 37
Warning: session_name(): Cannot change session name when session is active in /home/tig/www/aalf/www/wiki/includes/Setup.php on line 222
Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /home/tig/www/aalf/www/wiki/includes/GlobalFunctions.php on line 2446
Warning: session_cache_limiter(): Cannot change cache limiter when session is active in /home/tig/www/aalf/www/wiki/includes/GlobalFunctions.php on line 2451
Warning: Parameter 1 to MediaWiki_TIGAutoAuthenticate() expected to be a reference, value given in /home/tig/www/aalf/www/wiki/includes/Hooks.php on line 117
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/Feed.php on line 125
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/WebResponse.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/WebResponse.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/WebResponse.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/WebResponse.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/tig/www/aalf/www/wiki/extensions/DDNAuthPlugin.php:4) in /home/tig/www/aalf/www/wiki/includes/WebResponse.php on line 10 User:EyreNeal565 - Revision history
http://beta.aalf.org/wiki/index.php?title=User:EyreNeal565&action=history
Revision history for this page on the wikienMediaWiki 1.13.3Sun, 01 Nov 2026 23:30:38 GMTEyreNeal565: New page: Making Your Private Online Calculator I recently made my own [http://calculator.pro/ calculator] and I was surprised just how difficult it was. Yes certainly a simple calculator that supp...
http://beta.aalf.org/wiki/index.php?title=User:EyreNeal565&diff=11860&oldid=prev
<p>New page: Making Your Private Online Calculator I recently made my own [http://calculator.pro/ calculator] and I was surprised just how difficult it was. Yes certainly a simple calculator that supp...</p>
<p><b>New page</b></p><div>Making Your Private Online Calculator<br />
<br />
I recently made my own [http://calculator.pro/ calculator] and I was surprised just how difficult it was. Yes certainly a simple calculator that supports an overview is not very difficult to perform. But I'd the next specification:<br />
<br />
Use PHP, HTML, CSS and javascript merely<br />
One input field<br />
Result history<br />
No radical the page<br />
Support trigonometric characteristics<br />
Support with regard to Pi, Sqrt in addition to logarithm<br />
<br />
The real challenge is the "one enter field"-thing. If a person let a computer owner write volumes and operators inside same input field you should separate these folks from each other later that you're performing the information. That is less of a challenge said that will done. For illustration, how do you determine the various meanings in the substring "-3" inside "sqrt(6-3+5)" in addition to "sqrt(-3+5)"? The response is frequent expressions.<br />
<br />
When you develop [http://calculator.pro/ online calculator] you should use a large number of regex to part ways numbers, operators and functions form each other. Take this specific string by way of example: "3+4. 2-1". You must break it into several parts and you have to know which pars that is operators along with which parts that is certainly numbers. When this is certainly done you just have to evaluate the expressions from the correct numerical order, put the results together in addition to evaluate your parts once again until there is just one part kept and (with luck ,) there is your response. The superior calculator stuff like Pi, square actual, trigonometric perform etc is actually solved with built in PHP functions.<br />
<br />
To solve the "no stimulating the page" you need to use Ajax. Ajax is a quite popular way to add content to a page that is certainly already rich. I would certainly recommend to use the javascript collection jQuery to send ajax-requests and to handle that response. The reaction data ought to be written to the page can certainly say that you will observe result history. Thanks to be able to jQuery there may be only need for 2 hundreds line of javascript and the code seriously isn't messy in any respect. jQuery are capable of doing greater than sending HTTP-requests. You can certainly animate DOM features, add occurrence listeners, manipulate by using CSS etc.<br />
<br />
When you're writing a plan or anything that may be used by others compared to yourself you should write analyze code. A large amount of test computer code. You requires approximately 50+ different expressions to test if your [http://calculator.pro/ calculator online] computes them correctly. You is likely to fail a lot of times prior to deciding to pass all of these books.<br />
<br />
When your functionality is actually finished it is advisable to add some design, some instructions and the calculator is wanting to be made use of.</div>Sun, 26 Feb 2012 20:27:55 GMTEyreNeal565http://beta.aalf.org/wiki/index.php?title=User_talk:EyreNeal565