Login   Register  
PHP Classes

BBEngine: Dynamically Extendable BBCode Parser/UnParser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Mohammed Yousef
Name: Mohammed Yousef is available for providing paid consulting. Contact Mohammed Yousef .
Packages: 2 Browse all classes by Mohammed Yousef Browse all classes by
Country: Egypt Egypt - PHP jobs in Egypt
Age: 24
All time rank: 6636 in Egypt Egypt
Week rank: 579 Up7 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Detailed description   Download Download .zip .tar.gz  
This package can be used to convert text with BBCode marks to HTML and vice-versa.

It can find and replace BBCode marks and replace them with HTML tags.

The package can also do the opposite by converting HTML to equivalent text with BBCode marks.

The conversion can be done by custom PHP code.

The list of supported tags can be dynamically extended with new BBCode tags with definitions stored in a database.

The Package can handle 4 types of tags :-

* Direct Words : Directly replace words with others (e.g. smiles)

* Direct Tags : Replace Html Tags with BBCode directly

* Indirect Non Recursive : Mainpulate content in BBCode with user defined function , BBCode tags can't be Nested

* Indirect Recursive : The Same Indirect manner with the added ability of Parsing Nested tags

  Classes of Mohammed Yousef  >  BBEngine  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: BBEngine
Base name: bbengine
Description: Dynamically Extendable BBCode Parser/UnParser
Version: -
PHP version: 5.0
License: MIT/X Consortium License
All time users: 862 users
All time rank: 3698
Week users: 1 user
Week rank: 1808 Up
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Templates Template processing engines and components View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Detailed Documentation Class Reference and Detailed Docs

  Files folder image Files  
File Role Description
Files folder imageDB_Layer (2 files)
Files folder imageExamples (3 files)
Plain text file BBE_DB_Op.php Class Class wrapping all DB functionality required by class
Accessible without login Plain text file Config.php Conf. Class Configuration file
Plain text file Gen_Parsing.php Class Class Containing Common Parsing functionality
Plain text file Parse.php Class The BBCode Parsing Class
Plain text file UnParse.php Class BBCode UnParsing Class
Accessible without login Plain text file BBEngine.sql Data The SQL dump for a set of famous BBCodes (required for examples)

  Files  /  Files folder image DB_Layer  
File Role Description
  Plain text file General_DB.php Class Abstract Class for General DB required functionality
  Plain text file MySQL.php Class MySQL Specific Implementation for BBEngine DB required needs

  Files  /  Files folder image Examples  
File Role Description
  Accessible without login Plain text file DB_Tag_Insertion_Examples.php Example Examples for inserting the 4 Tags types into DB
  Accessible without login Plain text file Parsing_Example.php Example Example for Parsing a given BBCode String
  Accessible without login Plain text file UnParsing_Example.php Example Example for UnParsing a given Html String into BBCode

Download Download all files: bbengine.tar.gz bbengine.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.