• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Drools5 Community Training Module 6 Drools DSL & Spreadsheets
 

Drools5 Community Training Module 6 Drools DSL & Spreadsheets

on

  • 3,687 views

for more information please visit:

for more information please visit:
http://salaboy.wordpress.com/2011/02/23/drools-5-community-training-announced-roadmap/

Statistics

Views

Total Views
3,687
Views on SlideShare
3,142
Embed Views
545

Actions

Likes
1
Downloads
155
Comments
0

5 Embeds 545

http://salaboy.com 432
http://salaboy.wordpress.com 92
http://srvpsat.gpm.int 19
http://127.0.0.1:8775 1
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Drools5 Community Training Module 6 Drools DSL & Spreadsheets Drools5 Community Training Module 6 Drools DSL & Spreadsheets Presentation Transcript

    •    Drools5 Community Training DSL & Decision Tables Sponsored by Plugtree
    • Module 6: Drools Expert DSL & Decision Tables Drools5 Community Training version: 1.0-SNAPSHOT Release Date: 03/16/2011Under The Creative Common License
    • Module 6: Drools Expert DSL & Decision Tables Drools5 Community Training Course by Mauricio "Salaboy" Salatino and Esteban Aliverti is licensed under a Creative Commons Attribution 3.0 Unported License.Based on a work at salaboy.wordpress. com. Permissions beyond the scope of this license may be available at http: //salaboy.wordpress.com/.
    • Agenda● Other ways to express rules ○ Domain Specific Languages ○ Decision Tables
    • Other ways to express rules ● DSL -> Express Rules in natural Language● SpreadSheets -> Express rules as decision tables
    • Domain Specific LanguagesExample:DRL:Song(genre == "Jazz")DSL: [Condition]There is a Jazz Song = Song(genre == "Jazz")
    • Domain Specific Languages● Focused on Subject Matter Experts● Natural Language● Can be used in guided editor● Its just mapping your business language in DRL
    • DSL ExampleDSL files have two main sections (condition / consequence) with thefollowing semantics: [condition or consequence] natural language expression = drools mapping/execution expressionDSL semantics allow binding of variables in the natural languageexpression to the drools expression: When the user is called {userName} = User(name== "{userName}")DSL resources must be added to kbuilder previous to DSLR
    • DSL Full ExampleDSL File DSLR File
    • Decision Tables● More business-user friendly● Useful in situations when we have a lot of similar rules● Drools supports XLS or CSV files● Behind-the-scenes Drools transforms Decision Tables to vanilla DRL
    • Decision Tables Example
    • Hands on LabsProjects: ● 04 :: Drools Expert Spreadsheet Example ● 05 :: Drools Expert DSL Simple Example
    •    Questions?
    • Enjoy! Questions and Feedback arealways appreciated!
    •     Contact us atwww.plugtree.com