Successfully reported this slideshow.
Your SlideShare is downloading. ×

Kailas by Wadit in YAPC::Asia 2009

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Grails Overview
Grails Overview
Loading in …3
×

Check these out next

1 of 43 Ad

More Related Content

Similar to Kailas by Wadit in YAPC::Asia 2009 (20)

Advertisement

More from Yusuke Wada (20)

Kailas by Wadit in YAPC::Asia 2009

  1. 1. Yet Another BPM Framework “Kailas”
  2. 2. •  •  –  – 
  3. 3. :
  4. 4. ( ) ( )
  5. 5. Yet Another BPM Framework “Kailas”
  6. 6. •  –  –  –  •  Copyright© 2009 ITmedia, Inc.
  7. 7. Kailas
  8. 8. •  •  • 
  9. 9. Kailas 20 •  •  • 
  10. 10.
  11. 11. •  •  • 
  12. 12.        
  13. 13. •        •  – 
  14. 14. A
  15. 15. Web •  –  •  –  •  – 
  16. 16. •  •  •  •  • 
  17. 17. Kailas
  18. 18. Kailas Process Repository Designer Kailas Framework Configuration Monitoring Syntax Validation Rule Validation Begin Process Check Business Rule State Rule Engine core- Engine API State Management Finish Process Make Application Decision Service Data Entry Web Check Data Type Application Web Interface Collaborative Web Site “Simon”activities
  19. 19.            
  20. 20. •  •  •  •  • 
  21. 21. Kailas jQuery UI Designer JSON core-API HTML::FormFu Web Application Catalyst
  22. 22. jQuery UI •  •  Droppable Icon CSS Tabs Draggable Dialog Progressbar Sortable
  23. 23. JSON/YAML process:  •      name:  activity:        ‐ name:  –    data:              ‐ name:   type: Text              ‐ name:  •        type: Text  –              ‐ name:    type: Text  •        ‐ name:   data:              ‐ name:  •        type: Text        ‐ name:   data:              ‐ name:        type: Date
  24. 24. HTML::FormFu •  •  •  –  Designer JSON Parser JSON / DB HTML::FormFu Kailas::Web HTML Catalyst App
  25. 25. sub get_activity_form{}; in Web sub get_activity_form {      my ( $self, $activity ) = @_;      my $form = HTML::FormFu‐>new();      my @elements;      for my $data ( $activity‐>data ) {          my @constraints = ('Required');          if ( JSON::decode_json( $data‐>validation )‐>{type} ) {              push( @constraints, JSON::decode_json( $data‐>validation ) );          }          my $args = {              type => $activity‐>approval ? 'Label' : $data‐>type,              name => $data‐>name,              value => $data‐>value || '',              label => $data‐>name,              constraints => @constraints,          };          push( @elements, $args );      }      $form‐>elements( @elements );      return $form;  }
  26. 26. Catalyst •  •  •  • 
  27. 27. Why wadit use Perl ? •  •  •  –  –  –  – 
  28. 28. Perl
  29. 29. Perl
  30. 30. End

×