[rudder-dev] Best Practises for writing techniques

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Thu Feb 28 12:31:24 CET 2013


Hi all,

I read the new Best Practices doc, looks fantastic, really like the file 
splitting convention :)

Also had a look at the sshConfiguration in master and can't wait to migrate to 
2.5 to use the new common reporting helpers :D

Also a couple of questions, just to better understand intentions, etc.

1. prefixing variables with "rudder_" or "rudder_<technique_name>_"; given 
that to reference variables from other bundles you have to do 
"rudder_<technique_name>_<action>.<variable>" anyway, is that necessary?

2. files convention section refers to bundle "run", is that just the main 
entry point bundle of a technique?

3. config.st:

3a. is the idea to aggregate various variables used within different bundles 
in a technique in one place?  (sounds neat)

3b. what is the best method to ensure it's included (reference from <BUNDLES> 
in metadata.xml, methods: in main.st, etc.)

3c. initial tests show it should be OK, but do you think there could be 
problems using those variables from other (e.g. associated) techniques?


Thanks for your fantastic work!

Michael


**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************



More information about the rudder-dev mailing list