High speed Internet connection and Technology Giants such as Google and Apple make most of the people to use internet daily.
So, Web Development is getting important place in Software development. We need to consider many factors when doing website development.
- The most important factor is knowing about target audience. It will be helpful to provide more user-friendly UI (User Interface). Because different type of people will prefer different type of navigation / screen design.
- We should know which factor should be given more importance, whether it is "performance" or "look & feel" or "user-friendliness" or "cost".
- Now-a-days it is important that the websites should be search engine friendly. (i-e) The webpage should be visible not only to human beings but also to the bot/crawler of major Search engines such as Google and Yahoo. Please note that bots of some search engines can not follow links listed using javascript menu. If you still want to use javascript menus, you can provide site map for enabling the bots to crawl your pages. Creating site map is easy. Just we need to list all the links in a text file or xml file or html file . Then we have sumit the path of this sitemap file to the Search Engine thro' their webmaster tool.
-Since many people started using iPhones, it is important to make your website iPhone friendly if you want them to see your website. In this case you can provide separate CSS style sheet for iPhone and normal browsers. And you can dynamically load appropriate CSS file based on UserAgent string.
- If you are developing website for financial transaction you should think about using "https" and preventing cross-site scripting, sql injection, session-hijacking and any other security related steps.
- We should keep in mind that the users may not have the browser/screen resolution/color settings/browser settings same as ours. It is true that some users will not enable javascript in their browsers, and I heard that some users are still using some text based browsers. So it is very important that we need to consider all these factors while developing the website. We should write code such that different code should act based on settings of user browser.
- The very important difference between web development and other desktop applications is, we should always keep in our mind that we are working on stateless protocol. (i-e Clinet browser will not having any other relationship with webserver once after sending the web request, similarly the webserver will not have connection with client browser once after sending the response string). We should take all necessary actions (e.g use of Sessions, cookies) to maintain user session.
- We should use CSS (Cascading Style Sheet) to enable easy change of look and feel of website. You can refer this article for knowing about best practices for CSS use.
- Menu and any other repeatedly used items should be kept in separate file and it should be included in all other pages.
-Javascript validations should be used extensively to save time by contacting webserver for doing any validation which can be easily done in the client side itself. But anyway if security is more important for your website then you should still do server side validation also.
-Ajax should be used extensively to avoid unnecessary refresh of entire page, just for updating one part of the page.
- Loading indication should be shown whenever backend operation (database query) takes more time.
- There won't be any broken links in the website and HTML tags should follow standards. You can use w3c validation to verify it.
-Always put all your javascript functions and references such as CSS file inside the HTML Head tag as the Head tag contents will be loaded first. If it is not possible to access Head tag, then atleast put them at the bottom of the body tag (i-e just before the </body> tag)
- Design the UI properly to improve user experience.
- We need to take additional care when handling single quotes and double quotes in HTML code , in Javascript function and also in Database queries. Use proper escape characters to handle them effectively.
Apart from above practices, we need to follow all other coding standards, such as
writing clear inline comments, keeping appropriate indents for the nested loops and
appropriate naming conventions for variables.
And also, we need to write all details of lesson learnt from any issue, in a document or in a database as a Knowledge base for further/future reference by the Team.
Click here to read Best practices in QA - Software Testing
More Articles...
You can bookmark this blog for further reading, or you can subscribe to our blog feed
Saturday, April 18, 2009
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
April
(56)
- Ways to improve user experience in any website
- Steps for using FCK editor
- For using javascript Calendar in web page
- Focusing HTML element immediately after loading t...
- How to avoid multiple lines in <td> tag?
- Getting current Page Name in PHP
- PHP function to get the ID generated from the prev...
- Javascript example for selectively displaying part...
- Javascript validation for radio button in HTML form
- Detecting browser type using javascript
- Displaying Random records from MySQL database table
- Handling Date and Time in PHP/MySQL
- Email syntax validation using javascript
- Removing text from Textbox on giving Focus
- Displaying vertical scroll bar dynamically in HTML...
- Doing case insensitive search in C#.Net
- Converting Letter Case in php/MySql
- Doing page redirection in PHP
- Workaround for Back button issue in FCKeditor.
- Quick Introduction to RSS feed/Syndication
- How to detect Plagiarism?
- QTP Learning Steps for Beginners
- MySQL - Resolved null issue in query.
- Resolving delimiter issue in PHP
- PHP - Disabling Display of Notice messages
- Understanding Object Repository in QTP (Quick Test...
- HTML - Displaying Content in the same line using ...
- Basics of QTP (Quick Test Professional)
- Basics of Session and Cookies
- PHP - Resolved the issue of setcookies not setting...
- Importance of Software Testing
- PHP code for preventing session hijacking
- Dynamically changing/displaying web page content u...
- Javascript code for preventing user from copying c...
- SQL query for deleting duplicate records in parent...
- Web Development Best Practices
- C# - Performance difference between use of Datatab...
- URL for checking usage of Broadband provided by BSNL
- How to dynamically change attribute (e.g height) o...
- Best practices in Software Testing
- Importance of Software Test Automation using tool...
- Always explicitly use $_GET when using querystrin...
- How to change Row of Data into Column Data in Excel?
- Free Markup validation service provided by W3C
- Basics of Quality Assurance (QA) in Sofware Develo...
- We are growing firmly with our Vision and Values
- Priority order of Style for HTML tags
- Allowing Users to Change attribute of the HTML tag...
- How to find PageRank (PR) of a web page?
- Creating Captcha using PHP and Handling Captcha us...
- Looking for Trainee Software Engineer
- Resolved the timed out error while using HttpWebRe...
- How to disable Wireless LAN in BSNL Modem?
- HTML - Use "return false" to avoid page jump on c...
- C#- Workaround for inconsistent behaviour of invok...
- Unicode Character for Space and Line Feed
-
▼
April
(56)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
4 comments:
Will work out on this, if felt good then will apply, nice post keep posting.......
Web Development
You gave me some good information about the "Web Development Best Practices". thanks keep on updating.
Good informative one sharing ..
Thanks
'
Thanks For posting . Its Really nice . Keep update a more information .Thanks for sharing the knowledge....
web design company
Post a Comment