Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: How to install self written modules

by shotgunefx (Parson)
on Mar 03, 2006 at 19:20 UTC ( #534336=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How to install self written modules
in thread How to install self written modules

Whether plugins are the right or wrong way, depends on your problem. Do you want to be able to have everything in one monolithic module or a number of smaller ones.

A good example of were plugins make sense is playing music. No matter what type of file or hardware, you basically have one goal.

DECODE -> DSP? -> PLAY

This is ideal for plugins as you can just "plug-in" the code that knows how to decode the input format. New formats come along? Just write a new plugin. Same with outputting to the hardware.

Whant to have some DSP effects? You set up common hooks and then can "just add" DSP plugins with the proper interface and it all just works (in theory).


-Lee
"To be civilized is to deny one's nature."


Comment on Re^5: How to install self written modules

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://534336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-09-16 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (48 votes), past polls