What is the best practice for deploying custom code to a SharePoint farm
as a web part
solution package
user control
SharePoint Designer