Publish Button
      •
Best Practices
      •
Key Features
      •
Flash Tour
      •
Why?
      •
Multi Server
      •
Pricing
    Clients
      •
Clients
      •
Canadian House and Home
      •
Georgia Straight
    News
      •
8th Anniversary of Publish Button
      •
Ver 2.0 Press Release
      •
Overloaded?
      •
Why Open Source?
      •
CMS in an Intranet
    
    Services
      •
Custom Work
    Technologies
      •
Open Source Technologies
      •
PHP
      •
MySQL
    Support
      •
User Manual
      •
Directory Icons
      •
Support Site
    About Us
      •
About Us
      •
Contact Info
      •
Thanks to
 


Best Practices

Publish Button layout development allows you to create sites with complex behaviour and create reusable elements that can be effortlessly deployed. The following principles, if kept in mind, will help your Publish Button layout development efforts yield stable, easy to maintain sites. Best Practices

  • Avoid hardcoding: if exceptions need to be made in how a layout interprets Publish Button data, attempt to use data-driven exception handling rather than logic-drive exception handling
  • Keep track of where are user has navigated: setting variable in your top-level layout that contain the default article and default node can help your sublayouts "remember" where they are
  • Minimize redundancy: try not to create unneccessary layouts
  • Keep it clear: use Comment steps in layout logic to make layout logic easy to maintain
  • Reuse complex layouts: put complexity in reusable layouts so you don't have to re-invent the wheel every time you do a project
  • For fancy design, use Photoshop, or a similar application, then "slice" your design up into graphical chunks that can be used in layouts
  • Think ahead: plan out content structure, file structure, and layout behaviour with pen and paper, in plain English, before starting to create the layout in Publish Button. Planning can help you anticipate complexities before your development efforts get trapped by them.
 
 
  Web Publishing Technology
© 2002 PublishButton