PTM Inline Perl/HTML Hybrid Parser 0.5.0b PHP script

SPONSORED LINKS

    Specification

  • Version: 0.5.0b
  • File size: 0 KB
  • File name: ptm-ppa-0.5.0_beta-win32.zip?modtime=1134941050&big_mirror=0
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:GPL
  • Company: xmxspencer (View more)

PTM Inline Perl/HTML Hybrid Parser 0.5.0b script description:



PTM Inline Perl/HTML Hybrid Parser 0.5.0b is a PHP script for Development Tools scripts design by xmxspencer. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
PTM Inline Perl/HTML Hybrid Parser allows for the ease of PHP-style inline code in your dynamic HTML documents.

Publisher review:
PTM Inline Perl/HTML Hybrid Parser allows for the ease of PHP-style inline code in your dynamic HTML documents. PTM is a Perl/HTML hybrid, similar to PHP in tag syntax. It allows for the ease of PHP-style inline code in your dynamic HTML documents while supplying the power of Perl that many find to be sorely lacking in PHP.But more than that, it allows developers to harness Perl's ability to manipulate strings of text and iterate loops many times faster than other languages on the market without the need to sacrifice development time to complex print, split, and join statements. Additionally, PTM wraps many variables common to PHP to ease the transition between PTM and PHP when switching back and forth. PTM was not created to replace PHP or ASP. It was designed to be a complement to them. Where one fails nother picks up the slack. The PPA (Perl Parser Application) is installed to run as either an Apache plugin, a standalone parser for a specific user or directory, or is called via command line.When the PPA runs it expects to be given a *.ptm file to parse. This file is retreived via the PATH_TRANSLATED environment variable if in Apache-installed mode, a GET method field called "PTM_SCRIPT" or a mod_rewrite environment variable called "REDIRECT_PTM_SCRIPT" in standalone mode, both passed via the included ".htaccess" file, or via the command line (@ARGV). Once a file has been specified to be parsed, that file's contents are read in and parsed in a linear fashion.During parsing, a Perl command set is created which is to be evaluated when parsing is complete. DO tag contents are passed directly into this command set. DISPLAY tag contents are wrapped in a print call and passed in. TEMPLATE, FILE, and NOHTML tag contents are evaluated to get a file name/path which is then read in and then either processed (in the case of TEMPLATE tags) or stored in the next free element of a print array named @_PTM. A call to print from this array is then added, using the current array position counter value named $_PTM_POS, to the command set. Any text that is not within a PTM tag is simply added to the @_PTM array and a request to print from @_PTM at the specified $_PTM_POS counter position is added to the command set. When all parsing has been completed the command set is run using the eval statement. Because none of the statements in the requested *.ptm documents are run until the command set has been completed, there is no risk of interfering with the command set's creation by changing global variables within the PTM code. However, during evaluation of the command set, all variables are still accessable and can be changed, at which point code flow could be interrupted by changing these global variables. This is rarely a desired effect, but has been left open so that it may be used at the discretion of the developer.
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

PTM Inline Perl/HTML Hybrid Parser
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

  • Currently 0.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5