Implementation and maintenance Packaged

688 Part 3 Implementation Cascading style sheets CSS A simple mechanism for adding style e.g. fonts, colours, spacing to web documents. CSS enables different style elements to be controlled across an entire site or section of site. Style elements that are commonly controlled include Typography, Background colour and images borders and margins Web accessibility An approach to web site design that enables sites and web applications to be used by people with visual impairment or other disabilities such as motor impairment. Accessibility also demands that web users should be able to use web sites and applications effectively regardless of the browser or access platform they use and its settings. 2 Cross-browser support. Dependent on the standards used and how they are implemented, the site may appear different in different browsers since they may have interpreted some of the W3.org standards differently. This can result in a site rendering appearing differ- ently in different browsers. Sometimes different browsers, such as Internet Explorer 6, may require special coding to support them. So, prior to implementation a list of browsers and versions should be targeted and then subsequently tested using tools such as BrowserShots Figure 3.9. Increases accessibility – users can more readily configure the way a site looks or sounds using browsers and other accessibility support tools. Site is more likely to render on a range of access platforms like PDAs and smartphones. 3 Use of stylesheets for different platforms. We introduced Cascading Style Sheets CSS in Chapter 11 as a mechanism for enabling different style elements such as typography and layout to be controlled across an entire site or section of site. Managers need to check with designers that the CSS will be designed to be flexible for making minor changes to presentation for example in the case of a re-branding and that it supports different platforms such as mobile access or print output. 4 Accessibility support. We saw in the section on user-centred design in Chapter 11 that web accessibility is about allowing all users of a web site to interact with it regardless of disabil- ities they may have or the web browser or platform they are using to access the site. The level of accessibility support provided Level A, AA and AAA should be defined before imple- mentation and then validated as part of implementation. Since each level has many require- ments, individual requirements should be specified, e.g. ‘text of the main document will resize when the option is selected via the browser or from the site option’ many designs do not support text resizing despite this being essential for visually impaired users. 5 SEO support. We saw in Chapter 9 that different on-page optimization techniques are important to indicate to search engine algorithms the context of the page. Box 12.2 high- lights some of the main standards. Unless SEO support is strictly defined as part of a site redesign it may be difficult to change these attributes of a page through a content manage- ment system. The on-page factors should be uniquely defined for each page within the site to avoid a ‘duplicate content penalty’ meaning that the search engine does not index a page since it is considered similar to another page. It is also important that staff creating and reviewing content are aware of these factors and can then modify the way their site is described through the content management system. So SEO markup needs to be part of a page creation and review process. Box 12.2 Key search engine optimization SEO requirements This compilation of the main factors that affect the position of a site within the search engines is taken from SEOMoz www.seomoz.org a resource created for webmasters and online marketers to help them achieve better rankings in the search engines. This compilation shows an assessment of the most important ranking success factors by 30 experts in SEO where they rate each factor out of 5 and then the average is presented. Terms such as title and meta description are described in more detail in Chapter 9. 6 Ajax: Ajax is based on other standards, notably Javascript and XML supported by the DOM and CSS. A key feature of Ajax is that the XMLHttpRequest object is used to exchange data asynchronously with the web server without requiring new browser page loads. http:en.wikipedia.orgwikiAJAX. 6 Form validation. Forms are vital pages in a site since they create value from a visit through leads via a contact us form for example, forum postings or the shopping trolley and checkout. It is vital that they use cross-browser web standards and that they use an appro- priate approach to check user inputs are valid for example a ZIP or postcode. Software and services for web-site development and testing A variety of software programs are available to help developers of web sites. These can save a lot of time when developing the sites and will also help in site maintenance since they will make it easier for other people not involved in the original development of the web site to be involved in web-site maintenance. Tools are available with different levels of complexity and managers must decide which are most suitable to invest in. The types of tools to choose between are listed below. Although there are many rival tools, the ones here have been used for several years and are widely used, and skills in these tools are often mentioned in adverts for web design staff. Basic text and graphic editors Simple text editors can be used to edit HTML tags. Such tools are often low-cost or free, including the Notepad editor included with Windows. They are flexible and all web site developers may need to use them occasionally to develop content since more automated tools may not provide this flexibility and may not support the latest standard commands. However, they will not be widely used. 689

Chapter 12 Implementation and maintenance

1 Key on-page optimization factors These are attributes of the page which are defined through HTML tags with the exception of keyword frequency and density the number of times a word is repeated on the page in relation to its length and document name. title tag = 4.95 Keyword frequency and density = 3.75 Keyword in headings = h1 = 3.1, h2 = 2.8 Keyword in document name = 2.8 Alt tags and image titles = 2.6 particularly when linked to destination page Meta name description = 25 Meta name keywords = 15. 2 Key off-page optimization factors Off-page optimization describes the characteristics of links to a page from within the site and most importantly from external sites: More backlinks higher page rank= 45 Link anchor text contains keyword = 4.45 Page assessed as a hub = 3.55 Page assessed as an authority = 3.55 Link velocity rate at which changes = 3.55. The importance of keyword text in anchor links means that sites which have a linking system based on text rather than image links will perform better for SEO. Another issue to consider when obtaining links from other sites is the use of the nofollow tag on a link, e.g. a href= www.domain.com rel=nofollowLink anchor texta. This indicates to search engines that the link should not be counted in the index and the destination page not indexed unless it is linked to from another source. This means that many links in social networks and forums are effectively worthless for SEO since their owners have implemented the ‘nofollow’ to reduce ‘SEO spamming’. Source: SEOMoz 2007 690 Part 3 Implementation Web application frameworks A standard programming framework based on reusable library functions for creating dynamic websites through a programming language. Web application server Software processes which is accessed by a standard programming interface API of a web application framework to serve dynamic website functionality in response to requests received from browsers. They are designed to manage multiple requests from multiple users and will provide load-balancing to support high volumes of usage. Examples Microsoft Windows Notepad www.microsoft.com Program File Editor PFE. Graphics editors are used to create and modify GIF and JPEG pictures. Examples Adobe Photoshop www.macromedia.com Paintshop Pro www.jasc.com . Specialized HTML editors These tools provide facilities for adding HTML and CSS tags automatically. For example, adding the bold text tag B B to the HTML document will happen when the user clicks the bold tag. Examples There are many freeware and shareware editors in this category. Basic tools Microsoft FrontPage www.microsoft.com . Dreamweaver www.macromedia.comproductsdreamweaver Modern versions of word processors such as Microsoft Word or OpenOffice now have these facilities through using the Save As Web Page option but they may add to ‘page weight’ through additional XML markup code, so cannot typically be used for commercial sites. Advanced graphics tools Adobe Photoshop extensively used by graphic designers, www.adobe.com . Macromedia Flash and Director-Shockwave used for graphical animations, www.macromedia.com . Web application frameworks and application servers Web application frameworks provide a foundation for building dynamic interactive web sites and web services. They use standard programming conventions or Application Pro- gramming Interface APIs in combination with data storage to achieve different tasks such as simply adding a user to a system or rendering the different page elements of a site. They provide standard functions in libraries to make it quicker to develop functionality than starting from lower-level coding. Functions in the web application framework are executed by web application servers which are software processes running on the server which accept and action requests via the principal web server software e.g. Apache or Microsoft Information Server. The Common Gateway Interface CGI was a forerunner of this con- cept since it enabled standard functions to be accessed on a server, for example to perform form validation. Examples Adobe ColdFusion www.adobe.comproductscoldfusion . An established commercial framework. Microsoft ASP.Net www.asp.net is an evolution of the former Micosoft ASP script-based approach to an entirely different approach based on running compiled code on a server. PHP www.php.net An open-source script-based alternative for development of web applications which can be used to create web applications. Open-source CMS such as Drupal www.drupal.org are based on this. JavaBeans Enterprise and Java Server Pages. Widely used enterprise open-source system promoted by Sun Microsystems which are implemented using the Java language www.java.com . The ERP system SAP makes extensive use of this framework within its web application versions.