Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

2. Unbind Code from Controls

Every new VB coder learns the joy of double-clicking a button and binding code to it. What happens when the button code becomes complicated? Create checkboxes and radio buttons to provide conditional flags for code branching? This is likely to fail unless users fill out all the elements in the exact way expected. Expect that to fail.

Too many Visual Basic apps are jumbled together, which limits business logic changes because it forces significant application redesign and recompiling. This prevents your value-producing code from expanding into N-Tiered web application use, from being used in your company’s mobile device initiatives, and so on.

Take a look at this forum on Acropolis, which is a framework that enables you to unbind your interface from business logic. It can help you break the quick hack mentality. And now that you’re committed to these two basic changes, let’s go to the next level.

  • + Share This
  • 🔖 Save To Your Account