text based
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 8881
Tartan text parser 0.1.0
Tartan is a text parsing engine targeted at wiki text. more>>
Tartan is a text parsing engine targeted at wiki text. The syntax specification is defined in YAML in the form of regex-based rules.
It supports layering and multiple output types. Rules for Markdown to HTML are included, with optional layered extensions for tables. Tartan text parser is implemented in Ruby, but looking to have implementations in other languages.
<<lessIt supports layering and multiple output types. Rules for Markdown to HTML are included, with optional layered extensions for tables. Tartan text parser is implemented in Ruby, but looking to have implementations in other languages.
Download (0.047MB)
Added: 2006-08-21 License: MIT/X Consortium License Price:
1159 downloads
UltraText 0.1
UltraText is a library that fills the almost empty niche of user interface frameworks for text-based terminal applications. more>>
UltraText is a library that fills the almost empty niche of user interface frameworks for text-based terminal applications. While graphical user interfaces have proliferated dramatically, their terminal equivalents have been largely left behind, creating a shift to graphical interfaces in pretty much all applications currently under development.
This is rather unfortunate, as the graphical frameworks are considerably larger and slower. There is also the concern of being locked in to the continued use of X11, a large beast by itself, and whatever GUI framework has been chosen. Finally, most applications do not really need the advanced capabilities of graphical display and could just as easily be ran from the text console without launching X at all.
Back in the "good old days" of DOS, there were numerous text-based applications; word processors, spreadsheets, file managers, finance trackers, telnet clients, and even games. These applications demonstrated that usable and attractive interfaces are entirely possible to implement in text mode. In Linux, things have not gone quite so well. Due to a lack of a decent terminal output library (curses is not one of those), text mode applications look and act rather poorly under Linux. Some support only monochrome output, most accept only alphanumeric keys as input, and all keep a flashing cursor around even when nothing is focused.
In the UltraText library you will find the necessary tools for creating beautiful and usable text-mode application in the prevalent visual style of the last days of DOS. That style is typified by Borlands TurboVision toolkit, although only a few applications actually used that toolkit. It features a look similar to what we find in GUIs today; windows, menu bars, dialogs, interactive input fields and other UI elements.
From a programmers point of view, I have tried to create an interface similar to that of Microsoft Foundation Classes, with the document-view architecture and an event-driven environment that takes care of the low-level details of output rendering, focus management, event routing, and error reporting.
<<lessThis is rather unfortunate, as the graphical frameworks are considerably larger and slower. There is also the concern of being locked in to the continued use of X11, a large beast by itself, and whatever GUI framework has been chosen. Finally, most applications do not really need the advanced capabilities of graphical display and could just as easily be ran from the text console without launching X at all.
Back in the "good old days" of DOS, there were numerous text-based applications; word processors, spreadsheets, file managers, finance trackers, telnet clients, and even games. These applications demonstrated that usable and attractive interfaces are entirely possible to implement in text mode. In Linux, things have not gone quite so well. Due to a lack of a decent terminal output library (curses is not one of those), text mode applications look and act rather poorly under Linux. Some support only monochrome output, most accept only alphanumeric keys as input, and all keep a flashing cursor around even when nothing is focused.
In the UltraText library you will find the necessary tools for creating beautiful and usable text-mode application in the prevalent visual style of the last days of DOS. That style is typified by Borlands TurboVision toolkit, although only a few applications actually used that toolkit. It features a look similar to what we find in GUIs today; windows, menu bars, dialogs, interactive input fields and other UI elements.
From a programmers point of view, I have tried to create an interface similar to that of Microsoft Foundation Classes, with the document-view architecture and an event-driven environment that takes care of the low-level details of output rendering, focus management, event routing, and error reporting.
Download (0.002MB)
Added: 2006-11-21 License: GPL (GNU General Public License) Price:
1067 downloads
textTHaCAA 0.4
textTHaCAA is a system for Computers Apart Automatically and Telling Humans. more>>
textTHaCAA is a system for Computers Apart Automatically and Telling Humans that was inspired by CAPTCHA from Carnegie Mellon.
Unlike image-based problems which can be difficult for people with certain disabilities, it is designed to be accessible to all users.
It achieves this by asking simple randomly generated text-based multiple choice questions where the user has to select the members of one group from a list randomly selected from members of a series of different groups.
Enhancements:
- The way the system is seeded was optimized.
<<lessUnlike image-based problems which can be difficult for people with certain disabilities, it is designed to be accessible to all users.
It achieves this by asking simple randomly generated text-based multiple choice questions where the user has to select the members of one group from a list randomly selected from members of a series of different groups.
Enhancements:
- The way the system is seeded was optimized.
Download (0.011MB)
Added: 2006-11-09 License: LGPL (GNU Lesser General Public License) Price:
1080 downloads
Text::Graph 0.23
Text::Graph is a Perl extension for generating text-based graphs. more>>
Text::Graph is a Perl extension for generating text-based graphs.
SYNOPSIS
use Text::Graph;
blah blah blah
Some data is easier to analyze graphically than in its raw form. In many cases, however, a full-blown multicolor graphic representation is overkill. In these cases, a simple graph can provide an appropriate graphical representation.
The Text::Graph module provides a simple text-based graph of a dataset. Although this approach is not appropriate for all data analysis, it can be useful in some cases.
<<lessSYNOPSIS
use Text::Graph;
blah blah blah
Some data is easier to analyze graphically than in its raw form. In many cases, however, a full-blown multicolor graphic representation is overkill. In these cases, a simple graph can provide an appropriate graphical representation.
The Text::Graph module provides a simple text-based graph of a dataset. Although this approach is not appropriate for all data analysis, it can be useful in some cases.
Download (0.009MB)
Added: 2006-08-28 License: Perl Artistic License Price:
1153 downloads
VietPad 1.4
VietPad is a full-featured Java/.NET Vietnamese Unicode text editor. more>>
VietPad is a full-featured Java/.NET Vietnamese Unicode text editor. Open, edit, convert, print, and save Vietnamese text-based files in Unicode formats.
Main features:
- Multi-platform
- Windows
- Solaris
- Linux/Unix
- Mac OS X
- Others
- Unicode compatibility
- Read/Write UTF-8 and UTF-16 formats
- Common Vietnamese input methods
- VNI
- VIQR
- Telex
- Unicode Precomposed (NFC) conversion support for Vietnamese legacy (VNI, VPS, VISCII, VIQR, or TCVN3), Numeric Character References (NCR), UTF-8, and Unicode Composite (Decomposed or NFD) formats
- Full localization
- Sort Vietnamese words
- Vietnamese spell check
- Add/Strip/Normalize diacritics
- Undo/Redo edit
- Find/Replace
- Change case
- Remove line breaks
- Shorthand
- Auto-detect file encoding
- Font preview
- Printing
- File & Text Drag-and-Drop capability
- Look & Feel for different operating systems
<<lessMain features:
- Multi-platform
- Windows
- Solaris
- Linux/Unix
- Mac OS X
- Others
- Unicode compatibility
- Read/Write UTF-8 and UTF-16 formats
- Common Vietnamese input methods
- VNI
- VIQR
- Telex
- Unicode Precomposed (NFC) conversion support for Vietnamese legacy (VNI, VPS, VISCII, VIQR, or TCVN3), Numeric Character References (NCR), UTF-8, and Unicode Composite (Decomposed or NFD) formats
- Full localization
- Sort Vietnamese words
- Vietnamese spell check
- Add/Strip/Normalize diacritics
- Undo/Redo edit
- Find/Replace
- Change case
- Remove line breaks
- Shorthand
- Auto-detect file encoding
- Font preview
- Printing
- File & Text Drag-and-Drop capability
- Look & Feel for different operating systems
Download (MB)
Added: 2007-06-22 License: GPL (GNU General Public License) Price:
859 downloads
PatternText Creator 1.1
For volume editing of text base or text containing file(s). more>> PatternText Creator is a program for volume editing of text base or text containing file(s). This is ideal for work where a professional may need to replace the same sentence or word in multiple file(s). This program also offers additional features instead of just simple find and replace. The user can choose find and append, prepend with a custom string; find and remove the target find text string; find and reverse the order of the target find text string.<<less
Download (400KB)
Added: 2009-04-22 License: Freeware Price: Free
192 downloads
OpenTranscribe 0.2
OpenTranscribe is software to aid musicians in transcribing music. more>>
OpenTranscribe is software to aid musicians in transcribing music. It lets you slow down a part of the music without affecting pitch.
It also lets you loop over a section which has some tricky parts. OpenTranscribe was inspired by the Transcribe! software published by Seventh String Software.
The software provides looping and slowing down function that eases the process of transcribing music.
At first I planned for a GUI application, but lack the skills for it. So I have created a "library" on top of some other libraries that enables the basic functionality required. And I have coded a text based client which is adequate for my own use on top of the library. The text based client is named "tot" (Text Open Transcribe).
Check the INSTALL file for dependancies and TODO file for stuffs that I have in mind but have no time to implement.
Enhancements:
- MP3 is supported.
<<lessIt also lets you loop over a section which has some tricky parts. OpenTranscribe was inspired by the Transcribe! software published by Seventh String Software.
The software provides looping and slowing down function that eases the process of transcribing music.
At first I planned for a GUI application, but lack the skills for it. So I have created a "library" on top of some other libraries that enables the basic functionality required. And I have coded a text based client which is adequate for my own use on top of the library. The text based client is named "tot" (Text Open Transcribe).
Check the INSTALL file for dependancies and TODO file for stuffs that I have in mind but have no time to implement.
Enhancements:
- MP3 is supported.
Download (0.097MB)
Added: 2006-10-03 License: GPL (GNU General Public License) Price:
1116 downloads
Text Text Revolution 0.11
Text Text Revolution project is a text-based ncurses DDR clone. more>>
Text Text Revolution project is a text-based ncurses DDR clone.
Text Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
<<lessText Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
Download (0.044MB)
Added: 2006-12-08 License: GPL (GNU General Public License) Price:
1054 downloads
HTML Entity Based Codepage Inference 0.01
HEBCI is a technique that allows a Web form handler to transparently detect the character set with which its data was encoded. more>> <<less
Download (0.005MB)
Added: 2005-07-05 License: GPL (GNU General Public License) Price:
1575 downloads
Text::Starfish 1.06
Text::Starfish.pm and starfish is a Perl-based System for Text-Embedded Programming and Preprocessing. more>>
Text::Starfish.pm and starfish is a Perl-based System for Text-Embedded Programming and Preprocessing.
SYNOPSIS
starfish [ -o=outputfile ] [ -e=initialcode ] [ -replace ] [ -mode=mode ] file...
where files usually contain some Perl code, delimited by < ? and ! >. To produce output to be inserted into the file, use variable $O or function echo.
(The documentation is probably not up to date.)
Starfish is a system for Perl-based text-embedded programming and preprocessing, which relies on a unifying regular expression rewriting methodology. If you know Perl and php, you probably know the basic idea: embed Perl code inside the text, execute it is some way, and interleave the output with the text. Very similar projects exist and some of them are listed in "SEE ALSO". Starfish is, however, unique in several ways. One important difference between starfish and similar programs (e.g. php) is that the output does not necessarily replace the code, but it follows the code by default. It is attempted with Starfish to provide a universal text-embedded programming language, which can be used with different types of textual files.
There are two files in this package: a module (Starfish.pm) and a small script (starfish) that provides a command-line interface to the module. The options for the script are described in subsection ""starfish_cmd list of file names and options"".
The earlier name of this module was SLePerl (Something Like ePerl), but it was changed it to starfish -- sounds better and easier to type. One option was `oyster, but some people are thinking about using it for Perl beans, and there is a (yet another) Perl module for embedded Perl Text::Oyster, so it was not used.
The idea with the `starfish name is: the Perl code is embedded into a text, so the text is equivalent to a shellfish containing pearls. A starfish comes by and eats the shellfish... Unlike a natural starfish, this starfish is interested in pearls and does not normally touch most of the surrounding meat.
<<lessSYNOPSIS
starfish [ -o=outputfile ] [ -e=initialcode ] [ -replace ] [ -mode=mode ] file...
where files usually contain some Perl code, delimited by < ? and ! >. To produce output to be inserted into the file, use variable $O or function echo.
(The documentation is probably not up to date.)
Starfish is a system for Perl-based text-embedded programming and preprocessing, which relies on a unifying regular expression rewriting methodology. If you know Perl and php, you probably know the basic idea: embed Perl code inside the text, execute it is some way, and interleave the output with the text. Very similar projects exist and some of them are listed in "SEE ALSO". Starfish is, however, unique in several ways. One important difference between starfish and similar programs (e.g. php) is that the output does not necessarily replace the code, but it follows the code by default. It is attempted with Starfish to provide a universal text-embedded programming language, which can be used with different types of textual files.
There are two files in this package: a module (Starfish.pm) and a small script (starfish) that provides a command-line interface to the module. The options for the script are described in subsection ""starfish_cmd list of file names and options"".
The earlier name of this module was SLePerl (Something Like ePerl), but it was changed it to starfish -- sounds better and easier to type. One option was `oyster, but some people are thinking about using it for Perl beans, and there is a (yet another) Perl module for embedded Perl Text::Oyster, so it was not used.
The idea with the `starfish name is: the Perl code is embedded into a text, so the text is equivalent to a shellfish containing pearls. A starfish comes by and eats the shellfish... Unlike a natural starfish, this starfish is interested in pearls and does not normally touch most of the surrounding meat.
Download (0.022MB)
Added: 2007-06-06 License: Perl Artistic License Price:
871 downloads
Text::ScriptTemplate 0.08
Text::ScriptTemplate is a standalone ASP/JSP/PHP-style template processor. more>>
Text::ScriptTemplate is a standalone ASP/JSP/PHP-style template processor.
SYNOPSIS
use Text::ScriptTemplate;
$text = . # - also supports variable expansion
< % } % >
EOF
$tmpl = new Text::ScriptTemplate; # create processor object
$tmpl->setq(TEXT => "hello, world"); # export data to template
# load, fill, and print expanded result in single action
print $tmpl->pack($text)->fill;
This is a successor of Text::SimpleTemplate, a module for template- based text generation.
Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.
The idea of this module is simple. Whenever a block of text surrounded by (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be handled specially by template processing engine. With this module, Perl script and text can be intermixed closely.
Major goal of this library is to provide support of powerful PHP-style template with smaller resource. This is useful when PHP, Java/JSP, or Apache::ASP is overkill, but their template style is still desired.
<<lessSYNOPSIS
use Text::ScriptTemplate;
$text = . # - also supports variable expansion
< % } % >
EOF
$tmpl = new Text::ScriptTemplate; # create processor object
$tmpl->setq(TEXT => "hello, world"); # export data to template
# load, fill, and print expanded result in single action
print $tmpl->pack($text)->fill;
This is a successor of Text::SimpleTemplate, a module for template- based text generation.
Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.
The idea of this module is simple. Whenever a block of text surrounded by (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be handled specially by template processing engine. With this module, Perl script and text can be intermixed closely.
Major goal of this library is to provide support of powerful PHP-style template with smaller resource. This is useful when PHP, Java/JSP, or Apache::ASP is overkill, but their template style is still desired.
Download (0.009MB)
Added: 2007-06-14 License: Perl Artistic License Price:
863 downloads
Term::TUI 1.20
Term::TUI is a simple tool for building text-based user interfaces. more>>
Term::TUI is a simple tool for building text-based user interfaces.
SYNOPSIS
If TUI_Run is the only routine being used:
use Term::TUI;
$flag=&TUI_Run($command,%desc);
$version=&Term::TUI::TUI_Version;
If other TUI subroutines are used:
use Term::TUI qw(:all);
$flag=&TUI_Run($command,%desc);
&TUI_Out($message);
$flag=&TUI_Script(%desc,$script,$sep);
Many times, Ive wanted to quickly write a nice text-based user interface around a set of perl routines only to end up writing the full (though simple) parser and interface to make it nice enough, and friendly enough, to be usable.
This module creates a simple but powerful text based user interface around perl routines, adding such features as command line history, command line editing, and online help (command completion will also be implemented), while hiding all details of the interface from the programmer.
The interface is described in a simple hash which is passed to the TUI_Run command. This routine exits only when the user has exited the program (returning a flag signalling any special exit conditions).
<<lessSYNOPSIS
If TUI_Run is the only routine being used:
use Term::TUI;
$flag=&TUI_Run($command,%desc);
$version=&Term::TUI::TUI_Version;
If other TUI subroutines are used:
use Term::TUI qw(:all);
$flag=&TUI_Run($command,%desc);
&TUI_Out($message);
$flag=&TUI_Script(%desc,$script,$sep);
Many times, Ive wanted to quickly write a nice text-based user interface around a set of perl routines only to end up writing the full (though simple) parser and interface to make it nice enough, and friendly enough, to be usable.
This module creates a simple but powerful text based user interface around perl routines, adding such features as command line history, command line editing, and online help (command completion will also be implemented), while hiding all details of the interface from the programmer.
The interface is described in a simple hash which is passed to the TUI_Run command. This routine exits only when the user has exited the program (returning a flag signalling any special exit conditions).
Download (0.007MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1144 downloads
Text::Query::BuildSQL 0.09
Text::Query::BuildSQL is a base class for SQL query builders. more>>
Text::Query::BuildSQL is a base class for SQL query builders.
SYNOPSIS
package Text::Query::BuildSQLsqldb;
use Text::Query::BuildSQL;
use vars qw(@ISA);
@ISA = qw(Text::Query::BuildSQL);
Defines all the build_* functions to build a syntax tree. The tree nodes are [ operator scope operand operand... ]. The build_final_expression function translate the syntax tree in a where clause using the resolve method. If the scope of the search is not specified (simple query or advanced query without scope operator), the scope is set to the list of comma separated fields provided by the -fields_searched option. The resulting where clause is placed in the select order provided with the -select option, if any.
SYNTAX TREE
The string enclosed in single quotes must match exactly. The < string > token stands for an arbitrary string. A description enclosed in [something ...] means repeated 0 or N times.
expr: or scope expr [expr ...]
and scope expr [expr ...]
not scope expr
near scope expr_literal expr_literal
forbiden scope expr_literal [expr_literal ...]
mandatory scope expr_literal [expr_literal ...]
optional scope expr_literal [expr_literal ...]
literal scope < string >
expr_literal: literal scope < string >
scope: < string >
METHODS
resolve([], Q1)
Returns a where clause string corresponding to the Q1 syntax tree.
sortplusminus([], Q1)
Translate the mandatory and forbiden syntactic nodes to their boolean equivalents. If it has_relevance returns false and there is at least one mandatory word, the first mandatory word is added to the list of optional words.
has_relevance()
Returns true if relevance ranking is possible, false if not. It is used by the sortplusminus function. Returns false by default.
If relevance ranking is not possible, the semantic of the simple search is slighthly modified. When asking for +a b c it shows all the documents containing a and (b or c).
The normal behaviour is to return all the documents containing a and to sort them to show first those containing (b or c). When relevance ranking is not available the b, c search terms are therefore useless. That is why we decided to change the semantic of the query if no relevance ranking is available.
OPTIONS
-select STRING
If provided the string returned by build_final_expression substitutes the __WHERE__ tag with the where string generated by the resolve function. The substituted string is the return value of the build_final_expression.
If not set the return value of the build_final_expression is the result of the resolve function.
-fields_searched FIELDS_LIST
FIELDS_LIST is a list of comma separated field names. It is used as the default scope if no scope is provided in the query string. The build_final_expression function will croak if this option is not provided and no scope operator were used.
<<lessSYNOPSIS
package Text::Query::BuildSQLsqldb;
use Text::Query::BuildSQL;
use vars qw(@ISA);
@ISA = qw(Text::Query::BuildSQL);
Defines all the build_* functions to build a syntax tree. The tree nodes are [ operator scope operand operand... ]. The build_final_expression function translate the syntax tree in a where clause using the resolve method. If the scope of the search is not specified (simple query or advanced query without scope operator), the scope is set to the list of comma separated fields provided by the -fields_searched option. The resulting where clause is placed in the select order provided with the -select option, if any.
SYNTAX TREE
The string enclosed in single quotes must match exactly. The < string > token stands for an arbitrary string. A description enclosed in [something ...] means repeated 0 or N times.
expr: or scope expr [expr ...]
and scope expr [expr ...]
not scope expr
near scope expr_literal expr_literal
forbiden scope expr_literal [expr_literal ...]
mandatory scope expr_literal [expr_literal ...]
optional scope expr_literal [expr_literal ...]
literal scope < string >
expr_literal: literal scope < string >
scope: < string >
METHODS
resolve([], Q1)
Returns a where clause string corresponding to the Q1 syntax tree.
sortplusminus([], Q1)
Translate the mandatory and forbiden syntactic nodes to their boolean equivalents. If it has_relevance returns false and there is at least one mandatory word, the first mandatory word is added to the list of optional words.
has_relevance()
Returns true if relevance ranking is possible, false if not. It is used by the sortplusminus function. Returns false by default.
If relevance ranking is not possible, the semantic of the simple search is slighthly modified. When asking for +a b c it shows all the documents containing a and (b or c).
The normal behaviour is to return all the documents containing a and to sort them to show first those containing (b or c). When relevance ranking is not available the b, c search terms are therefore useless. That is why we decided to change the semantic of the query if no relevance ranking is available.
OPTIONS
-select STRING
If provided the string returned by build_final_expression substitutes the __WHERE__ tag with the where string generated by the resolve function. The substituted string is the return value of the build_final_expression.
If not set the return value of the build_final_expression is the result of the resolve function.
-fields_searched FIELDS_LIST
FIELDS_LIST is a list of comma separated field names. It is used as the default scope if no scope is provided in the query string. The build_final_expression function will croak if this option is not provided and no scope operator were used.
Download (0.019MB)
Added: 2007-07-28 License: Perl Artistic License Price:
823 downloads
UMLet 7.1
UMLet is a lightweight tool for rapidly drawing UML diagrams. more>>
UMLet project is an open-source Java tool for rapidly drawing UML diagrams with a pop-up-free, light-weight user interface.
UMLet lets you draw diagram sketches fast; export diagrams to eps, pdf, jpg, svg, and sys.
Add elements to a diagram with a double click. Edit elements using the lower-right text panel. Select multiple elements using Ctrl or lasso. Press C to copy diagram to the system clipboard
Main features:
- fast
- text-based sequence diagram
- call from command line.
<<lessUMLet lets you draw diagram sketches fast; export diagrams to eps, pdf, jpg, svg, and sys.
Add elements to a diagram with a double click. Edit elements using the lower-right text panel. Select multiple elements using Ctrl or lasso. Press C to copy diagram to the system clipboard
Main features:
- fast
- text-based sequence diagram
- call from command line.
Download (4.9MB)
Added: 2006-11-22 License: GPL (GNU General Public License) Price:
657 downloads
Text::MicroMason::ServerPages 1.992
Text::MicroMason::ServerPages Perl module contains an alternate syntax like ASP/JSP Templates. more>>
Text::MicroMason::ServerPages Perl module contains an alternate syntax like ASP/JSP Templates.
SYNOPSIS
Instead of using this class directly, pass its name to be mixed in:
use Text::MicroMason;
my $mason = Text::MicroMason::Base->new( -ServerPages );
Use the standard compile and execute methods to parse and evalute templates:
print $mason->compile( text=>$template )->( @%args );
print $mason->execute( text=>$template, @args );
Server Pages syntax provides another way to mix Perl into a text template:
< % my $name = $ARGS{name};
if ( $name eq Dave ) { % >
Im sorry
Good < %= $daypart % >, < %= $name % >!
< % } % >
This subclass replaces MicroMasons normal lexer with one that supports a syntax similar to Active Server Pages and Java Server Pages.
Compatibility with Apache::ASP
Apache::ASP is a full-featured application server toolkit with many fatures, of which only the templating functionality is emulated.
This is not a drop-in replacement for Apache::ASP, as the implementation is quite different, but it should be able to process some existing templates without major changes.
The following features of EmbPerl syntax are supported:
Angle-bracket markup tags
The following syntax features of are not supported:
Dynamic XML/XSL processing.
Web server objects such as $Session, $Request, $Response, and $Application.
Application events such as Application_OnStart, Script_OnStart, and other gloga.asa features.
<<lessSYNOPSIS
Instead of using this class directly, pass its name to be mixed in:
use Text::MicroMason;
my $mason = Text::MicroMason::Base->new( -ServerPages );
Use the standard compile and execute methods to parse and evalute templates:
print $mason->compile( text=>$template )->( @%args );
print $mason->execute( text=>$template, @args );
Server Pages syntax provides another way to mix Perl into a text template:
< % my $name = $ARGS{name};
if ( $name eq Dave ) { % >
Im sorry
Good < %= $daypart % >, < %= $name % >!
< % } % >
This subclass replaces MicroMasons normal lexer with one that supports a syntax similar to Active Server Pages and Java Server Pages.
Compatibility with Apache::ASP
Apache::ASP is a full-featured application server toolkit with many fatures, of which only the templating functionality is emulated.
This is not a drop-in replacement for Apache::ASP, as the implementation is quite different, but it should be able to process some existing templates without major changes.
The following features of EmbPerl syntax are supported:
Angle-bracket markup tags
The following syntax features of are not supported:
Dynamic XML/XSL processing.
Web server objects such as $Session, $Request, $Response, and $Application.
Application events such as Application_OnStart, Script_OnStart, and other gloga.asa features.
Download (0.068MB)
Added: 2007-06-14 License: Perl Artistic License Price:
863 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above text based search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed