login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

HP Rules is a rule engine that lets you separate conditi...
This article demonstrates how to:
* Install PHP Rules and execute rules stored in text ...
* Create your own rules, starting from a particular case
... * Evaluate a rule stored in a

Eliminate Spaghetti Code Using PHP Rules
http://www.devx.com/webdev/Article/42441

Categories

/Channels/techie/web development

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

HP Rules is a rule engine that lets you separate conditional logical statement from your source code and from the database, placing the conditional logic in reusable files, where you can define and manage them independently.



This article demonstrates how to:
  • Install PHP Rules and execute rules stored in text files or a database
  • Create your own rules, starting from a particular case
  • Evaluate a rule stored in a text file
  • Evaluate a rule stored in a database

HTML

<div><p>HP Rules is a rule engine that lets you separate conditional logical statement from your source code and from the database, placing the conditional logic in reusable files, where you can define and manage them independently. </p> </div><br> <a href="#codeitemarea"><img src="http://assets.devx.com/articleicons/14096.gif" border="0" height="33" width="141"></a> <div><br>This article demonstrates how to: <ul><li>Install PHP Rules and execute rules stored in text files or a database</li> <li>Create your own rules, starting from a particular case</li> <li>Evaluate a rule stored in a text file</li> <li>Evaluate a rule stored in a database</li></ul></div>