Zen and the art of Miva Merchant Maintenance by Timothy Bolton
description
Transcript of Zen and the art of Miva Merchant Maintenance by Timothy Bolton
Zen and the art of Miva Merchant MaintenanceTIMOTHY BOLTON
Zen and the art of Miva Merchant Maintenance
Is this topic really going to be boring?
OTHERWISE
Keeping your store tidy• Tidy Templates
– Readability– Software Entropy
• Orthogonal Design– Layer Separation– Rise of the Machines
• Proper tools– Template Environment– Modules– Dynamic Bookmarks
Tidy Templates
• Readability– Natural code– Appropriate comments
Original Product Attribute Template
Original Product Attribute Template
Modified Product Attribute Template
Modified Product Attribute Template
Condensed Product Attribute Template
Condensed Product Attribute Template
Appropriate Comments
Tidy Templates
• Software Entropy– Keeping Code Clean– Make sure to KEEP CODE CLEAN
Keeping Code Clean
Keep your indentations ordered when editing portions of code.
Keeping Code Clean
Keep your indentations ordered when editing portions of code.
Keeping Code Clean
Make sure your variable names make sense
Keeping Code Clean
Keeping Code Clean
Keeping Code Clean
Keeping Code Clean
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”
Orthogonal Design
• Layer Separation– What are layers– Why keep them separate– How to keep them separate
Orthogonal Design
• What are the layers?– Presentation Layer (CSS)– Content Layer (HTML and Page Contents)– Interaction Layer (JavaScript and Server-side
Responses)
Orthogonal Design
• Why Keep them Separate?– Maintainability– Scalability– Sanity
Orthogonal Design
• How to Keep them Separate– Don’t be lazy!!– Have a clear goal– Use the right tools
Orthogonal Design
• Rise of the Machines– What is a machine– Why create it– What if it becomes sentient? 0_0
Proper tools
• Template Environment– Miva Merchant Admin– Text Editors (Notepad++)
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!
Proper tools
• Upcoming Tools to look for:– Dynamic Bookmarks– Notepad++ Miva Merchant Admin Integration– Miva Merchant Admin Bookmarklets
Thank you!!1!