JoomlaWorks

Member Dashboard
  • Home
  • Extensions
    • Commercial
      • Frontpage Slideshow
      • Simple Image Gallery Pro
    • Free
      • K2
      • AllVideos
      • DISQUS Comments for Joomla!
      • Meela
      • Quick Menu
      • Simple Image Gallery
      • Simple RSS Feed Reader
    • Free On Github
      • Fill It Up
      • IAKI (Import As K2 Image)
      • K2 Example Plugin
      • K2 Links for JCE
      • Rebuild K2 Image Cache (CLI utility for K2)
      • URL Normalizer
      • User Extended Fields for K2
  • Demos
    • Joomla Extension Demos
    • WordPress Plugin Demos
  • Labs
    • Joomla 3.x UTD
    • Web Apps
      • JSON 2 JSONP
      • Feed Reader (bookmarklet)
      • Device Info
  • Support
    • Documentation for Joomla Extensions
      • AllVideos
      • Frontpage Slideshow
      • Simple Image Gallery
      • Simple Image Gallery Pro
    • Get Help
      • Community Forum
        • Recent Topics
        • Categories
        • Create free account
      • Help Desk
      • Contact Us
  • About
    • Blog
    • Company
    • License & Terms of Service
    • Privacy Policy
  • My Account

Displaying items by tag: web development

17 12 2009
Written by JoomlaWorks
Published in Blog
Tagged under
  • +ten commandments
  • +tips
  • +web development
1 comment

Ten Commandments (in web development)

Ten Commandments (in web development)
  1. Establish naming conventions. Do not assume you'll always be the one coding for a particular site. Never use generic names for classes, IDs and form names in your code like “comment” or “article”. Someone else may do so too, so you can kiss your app’s functionality bye-bye!
  2. Avoid inline CSS like the plague.
  3. Try to squeeze as much CSS code as possible into one file. Less CSS files means faster loading of your site's design on the browser.
  4. Avoid placing UI images inside your HTML code. UI images belong to given UI templates (home, category lists, product catalog, article etc.) and therefore are loaded on every page request. Placing such images as "background images" in your CSS file allows the browser to cache them the first time it renders them, which means your site will load faster on subsequent requests for your visitors.
  5. Avoid inline JavaScript. Use CSS IDs or classes to attache JavaScript behaviour where necessary.
  6. Try to squeeze as much JavaScript code as possible into one file
  7. Don’t execute JavaScript code when not needed! E.g. if you apply behaviour to a certain block of code and this block of code does not exist on all your pages, make sure you check if this block of code exists by using a simple check for the block's container ID or class. You can do that pretty easily with jQuery or Mootools these days.
  8. Avoid inline CSS inside your JavaScript code. Stick to classes and IDs. Don’t inject too much HTML markup if possible. Try to alter the behaviour of your app by adding/removing CSS classes/IDs. Avoid hardcoded language strings inside JS code if you plan to make your site multilingual in the near future.
  9. If you code on PHP, check out the Tidy library. Enable it when you can as it will easily point out (and fix) bad markup in your HTML.
  10. For God’s sake use an open source CMS, don’t re-invent the wheel, make it possible to contribute back. Joomla, Drupal, Wordpress are enterprise class CMSs to get started with and some of the most popular websites in the world are powered by these open source CMSs.
Read more...
BY MAIL BY RSS

Archives

  • November 2026 (3)
  • October 2026 (3)
  • July 2026 (1)
  • April 2026 (1)
  • May 2024 (1)
  • March 2023 (1)
  • January 2022 (1)
  • July 2021 (2)
  • May 2021 (1)
  • February 2021 (1)
  • December 2020 (1)
  • September 2020 (1)

Tag Cloud

allvideos announcement apache community cpanel frontpage slideshow future j3x-utd joomla k2 Performance plugin release sh404sef simple image gallery simple image gallery pro simple rss feed reader socialconnect update video

Latest Entries

  • Simple Image Gallery Pro v4.0 is now available! New super-modal, modern CSS/JS everywhere, new layouts & more!
    Written by  JoomlaWorks
    13 Nov 2026
  • Joomla 3.x UTD v3.18 released: refinements, stability & continued evolution
    Written by  JoomlaWorks
    08 Nov 2026
  • Sunsetting all our Joomla templates
    Written by  JoomlaWorks
    08 Nov 2026
  • Security notice: emails impersonating the K2 developer
    Written by  JoomlaWorks
    15 Oct 2026
  • Joomla 3.x UTD v3.17 now available - a milestone release for this project!
    Written by  JoomlaWorks
    10 Oct 2026

About Joomlaworks

JoomlaWorks is developing and supporting some of the most respected and popular extensions in the Joomla community, including the groundbreaking K2, AllVideos, Simple Image Gallery (Free & Pro), Frontpage Slideshow, Simple RSS Feed Reader and many more.

Since 2006 we have developed & released more than 40 extensions for the Joomla CMS, all of which have been used in hundreds of thousands of Joomla websites across the world.

Our extensions have been downloaded more than 12 million times, with our flagship extension K2 surpassing 5 million downloads!

Follow Us Social

  • X / Twitter
  • Facebook
  • GitHub
  • GitHub (K2)
  • YouTube

Read Our Feeds

  • Extension Updates
  • Blog
  • Videos
Copyright © 2006 - 2026 JoomlaWorks Ltd.
JoomlaWorks Ltd. and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
designed by Nuevvo