Math::SymbolicX::Calculator::Interface::Web - An AJAXy web interface to the calculator
# simplest form of usage: use Math::SymbolicX::Calculator::Interface::Web; my $interface = Math::SymbolicX::Calculator::Interface::Web->new(); # But you probably want to use # Math::SymbolicX::Calculator::Interface::Web::Server instead!
This module implements an AJAX-enabled web interface to the Math::SymbolicX::Calculator.
This is alpha software!
You probably want to look at the symbolic_calculator_web_server script or the Math::SymbolicX::Calculator::Interface::Web::Server module which come with this distribution instead!
symbolic_calculator_web_server
Returns a new web interface object.
Optional parameters: (default in parenthesis)
calc => a Math::SymbolicX::Calculator object to use
Runs a single expression.
Returns the Calculator object of this Web Interface.
Call this before stopping the web interface. It runs all cleanup actions such as those needed for a possible persistance.
This method doesn't actually kill your script, but returns after doing the cleanup.
Used to issue a warning to the user. First argument must be an error message to display. This is currently ignored for the web interface. Investigating methods to pass this to the client in a reliable fashion.
Parses generic commands such as exit and print.
This might change. (Name and implementation)
First argument: Expression to parse.
Generic output routine: Print Formulas and messages alike
Subject to change and refactoring.
Math::SymbolicX::Calculator::Interface::Web::Server
CGI::Ajax, HTTP::Server::Simple::CGI
Math::SymbolicX::Calculator, Math::SymbolicX::Calculator::Interface::Shell
Math::Symbolic, Math::Symbolic::Custom::Transformation
Steffen Müller, <smueller@cpan.org>
Copyright (C) 2007 by Steffen Müller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Müller,'. Assuming UTF-8
To install Math::SymbolicX::Calculator::Interface::Web, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::SymbolicX::Calculator::Interface::Web
CPAN shell
perl -MCPAN -e shell install Math::SymbolicX::Calculator::Interface::Web
For more information on module installation, please visit the detailed CPAN module installation guide.