Maxscape::Language::Maxscript Package
Synopsis
use Maxscape::Language::Maxscript;
Description
Maxscript is an interface to the Maxscape Server Software that can be embedded
within HTML pages. The syntax is similar to HTML, but case sensitive.
With Maxscape you can embed application code in pages and templates. Of course,
this cannot be granted to anonymous users, so Maxscript is an attempt to make
server objects and functions available, anyway. Please note, that the
syntax and implementation is questionable and that only very few features of the
Maxscape server software are available, so far.
Examples
<!-- Inserts a users's home directory into an HTML text --> ...<%HomeDir/>... <!-- Defines a variable with the name 'ProjectFolder'. --> <%Name="Define" Variable="ProjectFolder" Value="/User/Home/M/Max/Project"></%> <!-- Inserts the value of the 'ProjectFolder' variable into an HTML text. --> <%Name="Say" Variable="ProjectFolder"></%>
List of Member Functions
Member Functions
new
Synopsis
my $Maxscript = Maxscape::Language::Maxscript->new (%Parameter);
Description
Creates a new Maxscape::Language::Maxscript object.
Maxscript
Synopsis
my $interpretedText = $Page->Maxscript (Page => $Page, Text => $Text);
Description
A simple Maxscape text parser.
Examples
my $Page; # Maxscape $Page object. my $Text = qq(<%UserId/>' Pro-File. <%Lang="en">Example Video</%> <%Lang="de">Beispiel Video</%> ); my $interpretedText = $Page->Maxscript (Page => $Page, Text => $Text);
LoadMaxscriptInlineElements
Synopsis
my $InlineElements = $Page->LoadMaxscriptInlineElements ();
Description
Loads the 'InlineElements'. '$InlineElements' is a hashref.
1| Next ∙ Previous ∙ Top ∙ Join ∙ Contact | © Maxscape |
