Login   Register  
PHP Classes
elePHPant
Icontem

PAX: Interpret XML command scripts with PHP classes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-06 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 871 All time: 3,714 This week: 1,492Up
Version License PHP version Categories  
pax 6Free for non-commercial...5.0XML, PHP 5, Emulators
Description Author  

This package can be used to interpret scripts defined as XML documents.

It can parse XML documents and execute commands by calling functions of implementation classes.

The classes that will handle each XML document tag are defined by separate configuration files.

Innovation Award  
PHP Programming Innovation award winner
August 2008
Winner


Prize: One copy of the Zend Studio
Sometimes you need create a scripting language to control a complex application.

Creating a language from scratch is hard because you need to develop an engine that is able to parse and process the language commands.

XML is a format that is easy to parse, and so it can be used as an alternative to create new file formats or languages that are easy to parse.

This class implements a scripting engine using XML based source code. The scripting engine can be extended with new commands that are processed by new custom PHP classes.

Manuel Lemos
Picture of Marius Zadara
Name: Marius Zadara is available for providing paid consulting. Contact Marius Zadara .
Classes: 6 packages by
Country: Romania Romania
Age: 32
All time rank: 3758 in Romania Romania
Week rank: 393 Down11 in Romania Romania Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagecore (1 file, 4 directories)
Files folder imagedoc (3 files)
Files folder imagemodels (1 directory)
Files folder imagenamespaces (1 directory)
Accessible without login Plain text file config.php Aux. Configuration file
Plain text file example.xml Example Example
Plain text file index.php Example Entry point

  Files folder image Files  /  core  
File Role Description
Files folder imageclasses (17 files)
Files folder imageexceptions (2 files)
Files folder imageinterfaces (16 files)
Files folder imageutils (2 files)
  Accessible without login Plain text file _addCore.php Aux. PAX core loader

  Files folder image Files  /  core  /  classes  
File Role Description
  Accessible without login Plain text file Attributes.class.php Aux. Attributes classes
  Accessible without login Plain text file Config.class.php Class Config class
  Plain text file Dir.class.php Class Directory class
  Accessible without login Plain text file Environment.class.php Class Environment class
  Accessible without login Plain text file File.class.php Class File class
  Plain text file InstructionEvaluator.class.php Class Instruction Evaluator
  Plain text file InstructionExtractor.class.php Class Instruction Extractor
  Plain text file InstructionReplacer.class.php Class Instruction Replacer
  Accessible without login Plain text file Messages.class.php Class Messages
  Plain text file Model.class.php Class Model class
  Accessible without login Plain text file Node.class.php Class Node class
  Plain text file Pattern.class.php Class Pattern class
  Plain text file PAX.class.php Class PAX main class
  Plain text file PAXObject.class.php Class PAX general object
  Accessible without login Plain text file Resource.class.php Class General resource file
  Accessible without login Plain text file Tags.class.php Class Tags class
  Plain text file _addClasses.php Aux. Classes loader

  Files folder image Files  /  core  /  exceptions  
File Role Description
  Plain text file PAXException.excpt.php Class PAX general exception
  Plain text file _addExceptions.php Aux. Exceptions loader

  Files folder image Files  /  core  /  interfaces  
File Role Description
  Accessible without login Plain text file IAttributes.intf.php Class Attributes interface
  Plain text file IConfig.intf.php Class Config interface
  Plain text file IDir.intf.php Class Directory interface
  Plain text file IEnvironment.intf.php Class Environment interface
  Accessible without login Plain text file IFile.intf.php Class File interface
  Plain text file IInstructionEvaluator.intf.php Class Instruction Evaluator interface
  Plain text file IInstructionReplacer.intf.php Class Intruction Replacer interface
  Plain text file IModel.intf.php Class Model interface
  Accessible without login Plain text file INode.intf.php Class Node interface
  Plain text file InstructionExtractor.intf.php Class Instruction extractor interface
  Plain text file IPattern.intf.php Class Pattern interface
  Plain text file IPAX.intf.php Class PAX interface
  Plain text file IPAXObject.intf.php Class PAX object interface
  Accessible without login Plain text file IResource.intf.php Class Resource interface
  Accessible without login Plain text file ITags.intf.php Class Tags interface
  Plain text file _addInterfaces.php Aux. Interfaces loader

  Files folder image Files  /  core  /  utils  
File Role Description
  Plain text file Debug.class.php Class Debug class
  Plain text file _addUtils.php Aux. Utils loader

  Files folder image Files  /  doc  
File Role Description
  Plain text file changes.log Data Changes log
  Plain text file license.txt Aux. License
  Plain text file tutorial.txt Aux. Tutorial

  Files folder image Files  /  models  
File Role Description
Files folder imageexample (4 directories)

  Files folder image Files  /  models  /  example  
File Role Description
Files folder imagedefinitions (2 files)
Files folder imageextra (1 file)
Files folder imageimplementations (2 files)
Files folder imagelibraries (1 file)

  Files folder image Files  /  models  /  example  /  definitions  
File Role Description
  Plain text file attributes.xml Aux. Attributes definitions
  Plain text file tags.xml Aux. Tags definitions

  Files folder image Files  /  models  /  example  /  extra  
File Role Description
  Plain text file _addExtra.php Aux. Extra loader

  Files folder image Files  /  models  /  example  /  implementations  
File Role Description
  Plain text file example.class.php Class Example node
  Plain text file say.class.php Class Node implementation

  Files folder image Files  /  models  /  example  /  libraries  
File Role Description
  Plain text file _addLibraries.php Aux. Model libraries loader

  Files folder image Files  /  namespaces  
File Role Description
Files folder imageexample (1 file)

  Files folder image Files  /  namespaces  /  example  
File Role Description
  Plain text file Test.class.php Class Namespace node class

 Version Control Unique User Downloads Download Rankings  
 0%Total:871All time:3,714
 This week:0This week:1,492Up