Another way of looking at this might be the following.
A lot of programming is based on inside->out, like modules that is one small part of your larger and wider-ranging application. You encapsulate the program of encrypting a file for example. It usually does one task, and does it right.
Frameworks mostly work from the outside in. That is, your application is primarily built INSIDE the framework, which attempts to provide as much
$stuff to complete your task. The functionality contained in the framework is potentially far more wide-ranging than the bits and pieces that you make yourself.
This can be a problem sometimes.
Workflow is much more a framework than a module. It not only provides a workflow engine, it also provides you a (practically) mandatory persistance mechanism, a standard logging mechanism, history functionality and so on and so forth.
If you want workflow functionality as just a bolt-on feature for a much larger application, it can be difficult to use a framework like
Workflow because it wants to be running the show and be the centre of attention. But until
Object::Workflow arrives, it's the only solution we've got.
So it generally depends what task you are doing. If you are doing something that primarily matches with what a framework does, then using the framework will save you a ton of time.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.