Discussing the nuts and bolts of software development

Friday, May 02, 2008

 

Design Guidelines with Style

I'm not going to go into detail about the benefits of using CSS, which have been covered so many times before. In short, it provides a convenient way to separate presentation logic from actual web markup, it reduces duplication of style-related code, and best of all it's incredibly flexible! Ah, but that flexibility is a bit of a double-edged sword: allowing many ways to do the same thing means similar things will likely be done differently in different places, gradually leading to a mess of files which is a nightmare to maintain.

If you don't believe me, install a tool like FireBug and pull up a favourite large-scale web site. Set a small goal for yourself, like changing the colour of an entire page's background, or changing the bottom margin of all headings across all pages, something that should ideally only be a few lines to fix. Is it really as easy as it sounds? The answer is likely no, and there are many factors that can contribute to this:
Even well-meaning developers will make mistakes while modifying files that were started by others. If the existing file already does the same thing in several ways, which way should one use? What if the particular file only defines one way of doing it, but other files use a different method? What if the existing way is consistent, but far from optimal? Refactoring one CSS file (let alone several) is a remarkably grueling and time-consuming task. Is this unavoidable? No! It just requires a little planning and a little discipline.

The trick is to set up (and subsequently follow!) some design guidelines to make sure everyone starts, and most importantly stays, on the same page. This is best done at the beginning of a project, but it's never too late to start doing something right. For example, here are some things you may want to set guidelines for:
There is no right or wrong answer to any of those questions. What's important is to give each option some thought, and decide which is best for your particular needs. These are design decisions that involve real trade-offs in maintainability, functionality and resource needs, and just like any other design decisions, they will have a real impact on the outcome of the site. Deciding upon and following through on just a few well-defined guidelines makes these factors clear, and provides an optimal environment for developers to write maintainable code.

Labels: ,


Comments:
It will be useful for high school students to check https://eduessayhelper.org/blog/graduation-speech out. Here you can find advices on writing your graduation speech.
 
This is likewise a decent post which I truly appreciated perusing. It isn't each day that I have the likelihood to see something like this..

Full Stack Developer Course with Placement
 
Trade has provided a plethora of opportunities for growth, including proof of funds providers for businesses.
 
Guilin HBM Health is a US Based healthcare brand that aspires to become one of the best protective mask supplier.


 
Thanks for sharing such a useful and informative content, your post is awesome that will be understanding.
 
Thanks for sharing such an awesome article it was really wonderful experienced reading this. For more such articles you can visit our site - UI/UX Design Classes in Pune
 
Transform Your Oral Care Routine with Our Exceptional Products! Explore a comprehensive range of oral care solutions designed to enhance your dental hygiene. From advanced toothpaste formulations to innovative dental tools, our products cater to all your oral health needs. Achieve a confident, healthy smile with our expertly crafted oral care essentials. Browse our selection now and embrace a brighter, fresher, and more vibrant smile!
Visit Us: Oral Care
 
Elevate Your Resin Crafting with Our Exceptional Silicone Molds! Dive into the world of creativity with our premium Silicone Molds for resin. Crafted for precision and durability, these molds are designed to bring your resin projects to life. Whether you're a beginner or an experienced artist, our diverse selection of molds caters to all your crafting needs. Explore intricate designs, perfect for jewelry, art pieces, and home decor. Transform your ideas into stunning resin creations with our high-quality silicone molds. Shop now and let your imagination run wild!
Check It Now: Silicone Molds For Resin
 
Discover top-notch Ohio Basement Waterproofing services to safeguard your home against moisture and water damage. Our expert team employs cutting-edge techniques and high-quality materials to ensure a dry and secure basement environment. Trust us for comprehensive waterproofing solutions tailored to Ohio's unique climate. Say goodbye to leaks and dampness with our reliable and cost-effective basement waterproofing services in Ohio. Enhance the longevity of your property and create a healthier living space. Contact us today for a consultation and take the first step towards a dry and resilient basement.
 
Discover the ultimate solution for a youthful complexion with our advanced Wrinkle Reducer Treatment . Our innovative formula targets and diminishes fine lines and wrinkles, unveiling smoother, more radiant skin. Experience the power of science-backed ingredients designed to rejuvenate and tighten, restoring a youthful glow. Say goodbye to signs of aging as you embrace a revitalized and refreshed appearance. Elevate your skincare routine with our Wrinkle Reducer Treatment – your key to timeless beauty.
 
Explore the gripping world of suspense and intrigue with our captivating Murder Mystery Book.collection. Immerse yourself in thrilling narratives, cunning plot twists, and enigmatic characters that will keep you on the edge of your seat. From classic whodunits to contemporary psychological thrillers, our carefully curated selection guarantees an enthralling reading experience. Unravel mysteries, solve crimes, and embark on a literary journey filled with suspense and surprises. Discover the perfect Murder Mystery Book to satisfy your craving for suspenseful storytelling. Dive into the pages of mystery and let the suspense unfold with every turn. Elevate your reading adventure with our handpicked Murder Mystery Books today!
 
Discover the essential world of cryptocurrency with our curated selection of beginner-friendly books. Dive into the fundamentals of blockchain, Bitcoin, and altcoins, as expert authors guide you through the intricacies of this revolutionary financial landscape. From understanding wallet technologies to grasping investment strategies, our collection is tailored to empower beginners on their journey into the exciting realm of cryptocurrency. Start your educational adventure today and build a solid foundation for navigating the ever-evolving world of digital currencies. Explore our handpicked cryptocurrency books for beginners and embark on a knowledge-rich exploration that will demystify the complexities of this transformative financial frontier.
Check It Now: Cryptocurrency books for beginners
 
I appreciate the thorough research you put into this post. Visit us if you're looking for clothes Men, Women and Kids. Jabeen.shop. Online Store: Discover Pakistani fashion! Shop a wide range of designer suits, lawn collections, and embroidered dresses for women. We are offering styles in chiffon, cotton, khaddar, linen, and jacquard fabrics.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?