Hi,

 Le 26 janvier 2011 à 09:41, nap <napar...@gmail.com> a écrit :

 > Hi,
 >
 > I think Class is useful for easy wrote, because the module manager won't
 > have to manage all "inheritance" things. If the method is not implemented,
 > it will just pass or raise (whatever we want), so it will be easier to wrote
 > modules with a good "Class API". 
 > But the code you send are useful to see how we can load/call them for
 > testing purpose in shell. So we take both ways : class for easy code, and
 > testrun helping way for the code that will load/call them for testing
 > purpose :)
 >
 >
 > Jean 
 
The "class approach" is effectively smarter and a bit more "modern" (and Design
Patterns friendly).
Making a generic loading code will be easier ;)
 
 
Laurent
 
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to