31
Zen and the art of Miva Merchant Maintenance TIMOTHY BOLTON

Zen and the art of Miva Merchant Maintenance by Timothy Bolton

  • Upload
    miva

  • View
    53

  • Download
    0

Embed Size (px)

DESCRIPTION

MivaCon 2014 Breakout Session: Zen and the Art of Miva Merchant Maintenance Presented by Timothy Bolton

Citation preview

Page 1: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Zen and the art of Miva Merchant MaintenanceTIMOTHY BOLTON

Page 2: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Zen and the art of Miva Merchant Maintenance

Page 3: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Is this topic really going to be boring?

Page 4: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

OTHERWISE

Page 5: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping your store tidy• Tidy Templates

– Readability– Software Entropy

• Orthogonal Design– Layer Separation– Rise of the Machines

• Proper tools– Template Environment– Modules– Dynamic Bookmarks

Page 6: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Tidy Templates

• Readability– Natural code– Appropriate comments

Page 7: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Original Product Attribute Template

Page 8: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Original Product Attribute Template

Page 9: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Modified Product Attribute Template

Page 10: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Modified Product Attribute Template

Page 11: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Condensed Product Attribute Template

Page 12: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Condensed Product Attribute Template

Page 13: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Appropriate Comments

Page 14: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Tidy Templates

• Software Entropy– Keeping Code Clean– Make sure to KEEP CODE CLEAN

Page 15: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Keep your indentations ordered when editing portions of code.

Page 16: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Keep your indentations ordered when editing portions of code.

Page 17: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Make sure your variable names make sense

Page 18: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Page 19: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Page 20: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Page 21: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Keeping Code Clean

Page 22: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Making Sure to KEEP CODE CLEAN

• Take the time to do things right• Make the time to do things right• Recognize the cost of doing something “wrong”

Page 23: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Orthogonal Design

• Layer Separation– What are layers– Why keep them separate– How to keep them separate

Page 24: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Orthogonal Design

• What are the layers?– Presentation Layer (CSS)– Content Layer (HTML and Page Contents)– Interaction Layer (JavaScript and Server-side

Responses)

Page 25: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Orthogonal Design

• Why Keep them Separate?– Maintainability– Scalability– Sanity

Page 26: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Orthogonal Design

• How to Keep them Separate– Don’t be lazy!!– Have a clear goal– Use the right tools

Page 27: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Orthogonal Design

• Rise of the Machines– What is a machine– Why create it– What if it becomes sentient? 0_0

Page 28: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Proper tools

• Template Environment– Miva Merchant Admin– Text Editors (Notepad++)

Page 29: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Proper tools

• Modules– PCI Net Tool Belt– Tool Kit– PCI Net Actions– PCI Net Global Content Item– PCI Net Tokens– PCI Net Item Loader– Edit This!

Page 30: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Proper tools

• Upcoming Tools to look for:– Dynamic Bookmarks– Notepad++ Miva Merchant Admin Integration– Miva Merchant Admin Bookmarklets

Page 31: Zen and the art of Miva Merchant Maintenance by Timothy Bolton

Thank you!!1!