TRASHY 0.1 PHP script

SPONSORED LINKS

    Specification

  • Version: 0.1
  • File size: 0 KB
  • File name: trashy_php_v0.1.zip?modtime=1139532836&big_mirror=0
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:GPL
  • Company: Roberto Correzzola (View more)

TRASHY 0.1 script description:




Publisher review:
TRASHY is a way to write HTML code using only a few characters, reducing the amount of typing errors. TRASHY - Tags Resized and Alternative Syntax for Html is a way to write HTML code using only a few characters, reducing the amount of typing errors, space wasted, helping you to arrange code, and providing an easy way to avoid some common HTML mistakes (like a wrong sequence in closing tags). Why write the attrib height thousands of times in HTML code? Wouldn't it be much easier to write h, instead? And what about closing 5 tags with a single character, without spending time getting the correct sequence?

How does it works?

TRASHY is written in the form of a function which you must link to your php code. An alias is provided for each tag and each attribute. Each time you need to write HTML code pass it as the argument of TRASHY function, using aliases for tags and quoting normal text with some special characters. The function parses your code char by char and expands each alias by exchanging it with the corresponding tag. Text which is quoted with special characters is not parsed but simply copied as normal text, instead. TRASHY keeps track of the tags you open step-by-step, so when you need to close a tag you only need to use 1 standard-close-tag character, and TRASHY closes the last opened tag(s) for you. TRASHY uses a map of parent/child tag dependencies, created from the W3C strict HTML 4.01 Document Type Declaration. By using this map it can only expand allowed tags and help you to write valid HTML code. Aliases which lead to an incorrect sequence are ignored. TRASHY can be used and reused many times all over your php code. Tag history is stored in a global array, so you can close the function when you need to add some php code and then reopen a new TRASHY session to go on with HTML code just from the same point you left before. TRASHY lets you attach all the attributes (and values) you need to each tag using special attribute-aliases. TRASHY ignores spaces, tabs, CarriageReturn and LineFeed characters and lets you use them to arrange and indent your code in the same way as normal HTML, to make it ordered and more readable. You can also add comments to your TRASHY code. TRASHY can also help you to reduce the size of your php code (to 2/3rds of the equivalent HTML space). Also TRASHY produces compact HTML, with no spaces, no tabs, no CR or LF characters.
TRASHY 0.1 is a PHP script for HTML Tools scripts design by Roberto Correzzola. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
TRASHY is a way to write HTML code using only a few characters, reducing the amount of typing errors.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

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