Web开发及人机交互导论 大作业(一)

简介: Web开发及人机交互导论 大作业(一)

Abstract:


The pages are laid out appropriately and the whole pages are in a harmonious hue

Human-computer interaction is realized

Display related pictures through rotations

Jumps between pages are achieved through the links

The introduction and display of ‘BikeSharing’ information are realized

Realize map interaction and amount calculation by linking into Autonite map

Realize the link of social media integration to complete the function of sharing, forwarding and service consultation

To realize the function of message, users can leave a message through the message box, and use JavaScript to verify the input information

Employers and employees can view the information on their respective pages


Project requirements:


Bike Sharing Website Development


Bikesharing.com is a new website and mobile companion app that is designed to promote increased use of cycling to and from work. Its main aim is to educate both employees and employers about the health and financial benefits of enrolling in the national cycle to work programme.

The website will be mostly informational – but will also contain maps of cycle ways and advice on cycles including reviews and maintenance.

As a junior web developer, you are to pitch for the Bikesharing.com website by developing a prototype website and supporting documentation. This includes the mark-up, project plan, visual design, content design, navigation design, and target audience/user scenarios (see individual worksheets for specific deliverables).


The prototype Website should work on HTML5 / CSS3 compliant browsers.


The Employee

Typical Tasks Include: Looking for further information on the financial aspects of the scheme. Viewing the nearest cycle shops that are participating in the scheme. Locating suitable cycle maps to and from their home / place of work.

The Employer

Typical Tasks Include: How to enrol the organisation into the cycle to work scheme. General administration advice. Legislation and insurance information.

You can build on this in your audience definition document.

We will be checking how you are progressing, so remember to bring everything to class each week.

Suggested Content Areas. (Website)

Home Page

Employers

Employee’s

Cycle Reviews

How to guides

Interactive Maps

Cost calculator

Social Media Integration

You are free to propose a suitable visual design that reflects the type of website and target audience requirements. There are no set colours or logos for Bikesharing.com – if you want to create these, you are free to do so!


Project knowledge points


Web requirements analysis capabilities

WireFrame design capabilities of web pages

Use various HTML tags to realize the contents of the Web page

Use CSS technology to realize page style management

Use javascript to realize human-computer interaction


Planning, Analysis and Design Documentation


1. Project Plan


There are 12 pages in this project. CSS and JavaScript are used for layout, and the framework of ‘layui’ is used for page beautification


In this page design, the interaction between the page and the user is completed. Users can easily get the information they want through page navigation, and the corresponding page is used to customize services for employers and employees. What’s more, a footer is used to display relevant copyright information as well. Styles and text are displayed clearly and concisely on each page. The whole project allows different types of users to achieve the corresponding requirements, and have good interaction.


2. Audience Analysis


Primary Audience:

The project is primarily aimed at employers who want employees in their group commute with Shared bikes.

The project is also primarily aimed at employees whose groups subscribe to our bike-sharing services


Secondary Audience:

The project is secondarily aimed at employees whose groups don’t subscribe to our bike-sharing services.

The project is secondarily aimed at Anyone who wants to use Shared bikes as a means of transportation.


3. Statement of Purpose and Market Analysis


Statement of Purpose

This page mainly accomplishes the following purposes:


Enable readers and visitors to understand the significance of Shared bikes and why they choose Shared bikes

Show the advantages of choosing our services over those of other companies of the same type

Make our customers know more about our products and get our contact information in order to get support

Make it easier and faster for customers who have already chosen our products to find available Shared bikes and get route planning and corresponding price


Market Analysis


The main market of this Shared bike is for company employees and people who like cycling and exercise.

For the collective users of the company, we will provide customized services for them, and the company will pay the fees uniformly every year. All employees in the company can enjoy the Shared bikes at a lower price. They can find the available Shared bikes through the functions on the page and make route planning. This not only relieves the pressure of urban transportation to a certain extent, but also makes users healthier. In addition, Shared bikes are also environmentally friendly, greatly reducing carbon emissions. The main benefit will come from these companies’ collective users.


4. A Navigation Chart


**Content Analysis: **

This navigation chart is mainly responsible for the pages jumping, providing guidance for users. Thus users are more convenient to find the content they want.

d8ec3db255304bc0addfaadee78051d5.png


Primary content:

The navigation chart is designed to achieve the page jumping, including the main page, the company information page, employers information page employees information page, price calculating page and the message contact page.


Site-related content:

HOME Page(by clicking the‘HOME’button or the icon on the left side):

This is the page that users see when they enter the website for the first time. Users can view relevant information on the homepage and find the information they need under relevant guidance.


32efbc5977364e39be56b7b1349078a0.png

ABOUT Page:

On this page, users can view some information about the company, including the reasons for choosing Shared bikes, our strengths, the services we offer and our contact information.


6ef14ab4d77d472cb58ab258e5796d4d.png


EMPLOYERS Page:

On this page, employers can see if they want to subscribe to our services for their own companies, as well as the relevant administration advice and legislation and insurance information on this page.

44c8050bab3b42f482ebe76fa2f76751.png


EMPLOYEES Page:

On this page, employee users can use our interactive map to see the nearest available bike, whether their company has subscribed or not.


3b3df87434284a1180cdc6b4d791b412.png

PRICE Page:

On this page, both employers and employees can use the interactive map provided by us to calculate the price or plan the path. We will provide the most suitable path for you to choose. We will also provide transparent pricing rules that you can use to plan your route or trip.

a993e764c5dd4fc7878362a760a322a8.png

CONTACT US Page:

On this page, anyone can leave a comment or an idea. Whether you want to make a comment, or subscribe to our products, we welcome your letter. We will contact you within 24 hours after you leave your contact information.

7115e4d59f734f85b439fe0fce4abcf1.png

Available content and resources:

On these pages, there are many resources available to the user. We provide information about the company to our users so that they know more about the company. Users can also use our page for route planning or distance and money calculations


5. Visual Style (Storyboard / Mood board).


In the homepage page we use the rotation pictures to attract the user. On other pages, users can share with the right button. Users can share this page to WeChat or QQ through this function. In addition, users can also use the page provided by us to find available Shared bikes nearby and implement functions such as route planning and route distance calculation. Users can also leave us a message and view some legal and insurance information. These resources are all detailed on our website.


Website Document Outline


1. WireFrame Design


①Rotating Pictures:

Rotating Pictures is a set of images that are scrolled in the right place at the right time so that the user can see the content of the image and be more interested in the content of the website.

Programming to realize:

Here we put the images into an unordered list.


<div id="container">  
    <div class="images">  
        <ul>  
            <li>  
                <img src="img/picture1.jpg" alt="Picture1" /> </a></li>  
            <li>  
                <img src="img/picture2.jpg" alt="Picture2" /> </a> </li>  
            <li>  
                <img src="img/picture3.jpg" alt="Picture3" /> </a></li>  
            <li>  
                <img src="img/picture4.jpg" alt="Picture4" /> </a> </li>  
        </ul>  
    </div>  
</div> 


Then, animation is used to realize the Rotating Pictures

Since you want to animate in different browsers, three rules are used to animate separately, but since the code for each rule is exactly the same, only one is shown here.


#container .images>ul {  
    animation: wsBasic 16.8s infinite;  
}  
@keyframes wsBasic {  
    0% {  
        left: 0%  
    }  
    14.88% {  
        left: 0%  
    }  
    25% {  
        left: -100%  
    }  
    39.88% {  
        left: -100%  
    }  
    50% {  
        left: -200%  
    }  
    64.88% {  
        left: -200%  
    }  
    75% {  
        left: -300%  
    }  
    89.88% {  
        left: -300%  
    }  
}  

②The shares links which is combined with the right button on the page

Here, we directly use Baidu sharing API to share links to various social media. Users can share pages to different social platforms through this button, so as to expand the influence of the website.

c3e67a8a6fc2411db7afbb5c5d0460c1.png

Source code:


<!-- Baidu Button BEGIN -->  
<script type="text/javascript" id="bdshare_js" data="type=slide&img=0&pos=right&uid=11824"></script>  
<script type="text/javascript" id="bdshell_js"></script>  
<script type="text/javascript">  
    var bds_config = { "bdTop": 155 };  
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();  
</script>  
<!-- Baidu Button END -->  


③Interactive buttons:

When your mouse passes the button, the color of the buttons changes.


21c1a41dc2a247ed9fda05d17cf68653.png


Source code:


.tab>div {  
    width: 150px;  
    height: 40px;  
    background: #666;  
    border-radius: 20px;  
    margin: 0 20px;  
    color: #fff;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
}  
.tab>div:hover {  
    cursor: pointer;  
    background: #f7941d;  
}  

④Communicate with customer service on QQ:

Here we use QQ promotion API to realizes chatting on QQ with customer service. You can chat with customer service on QQ directly.

1d2b58a3e34146d1910545f7b0d7fd36.png

Source code:

<p align="center">
<a target="_blank" 
  href="http://wpa.qq.com/msgrd?v=3&uin=2274006799&site=qq&menu=yes">
  <img border="0" src="http://wpa.qq.com/pa?p=2:2274006799:53" alt="click here to send messages" title="click here to send messages" />
</a>  
相关文章
|
1月前
|
设计模式 前端开发 数据库
Python Web开发:Django框架下的全栈开发实战
【10月更文挑战第27天】本文介绍了Django框架在Python Web开发中的应用,涵盖了Django与Flask等框架的比较、项目结构、模型、视图、模板和URL配置等内容,并展示了实际代码示例,帮助读者快速掌握Django全栈开发的核心技术。
184 45
|
22天前
|
前端开发 安全 JavaScript
2025年,Web3开发学习路线全指南
本文提供了一条针对Dapp应用开发的学习路线,涵盖了Web3领域的重要技术栈,如区块链基础、以太坊技术、Solidity编程、智能合约开发及安全、web3.js和ethers.js库的使用、Truffle框架等。文章首先分析了国内区块链企业的技术需求,随后详细介绍了每个技术点的学习资源和方法,旨在帮助初学者系统地掌握Dapp开发所需的知识和技能。
2025年,Web3开发学习路线全指南
|
29天前
|
存储 前端开发 JavaScript
如何在项目中高效地进行 Web 组件化开发
高效地进行 Web 组件化开发需要从多个方面入手,通过明确目标、合理规划、规范开发、加强测试等一系列措施,实现组件的高效管理和利用,从而提高项目的整体开发效率和质量,为用户提供更好的体验。
32 7
|
1月前
|
开发框架 搜索推荐 数据可视化
Django框架适合开发哪种类型的Web应用程序?
Django 框架凭借其强大的功能、稳定性和可扩展性,几乎可以适应各种类型的 Web 应用程序开发需求。无论是简单的网站还是复杂的企业级系统,Django 都能提供可靠的支持,帮助开发者快速构建高质量的应用。同时,其活跃的社区和丰富的资源也为开发者在项目实施过程中提供了有力的保障。
|
1月前
|
开发框架 JavaScript 前端开发
TypeScript 是一种静态类型的编程语言,它扩展了 JavaScript,为 Web 开发带来了强大的类型系统、组件化开发支持、与主流框架的无缝集成、大型项目管理能力和提升开发体验等多方面优势
TypeScript 是一种静态类型的编程语言,它扩展了 JavaScript,为 Web 开发带来了强大的类型系统、组件化开发支持、与主流框架的无缝集成、大型项目管理能力和提升开发体验等多方面优势。通过明确的类型定义,TypeScript 能够在编码阶段发现潜在错误,提高代码质量;支持组件的清晰定义与复用,增强代码的可维护性;与 React、Vue 等框架结合,提供更佳的开发体验;适用于大型项目,优化代码结构和性能。随着 Web 技术的发展,TypeScript 的应用前景广阔,将继续引领 Web 开发的新趋势。
40 2
|
1月前
|
前端开发 API 开发者
Python Web开发者必看!AJAX、Fetch API实战技巧,让前后端交互如丝般顺滑!
在Web开发中,前后端的高效交互是提升用户体验的关键。本文通过一个基于Flask框架的博客系统实战案例,详细介绍了如何使用AJAX和Fetch API实现不刷新页面查看评论的功能。从后端路由设置到前端请求处理,全面展示了这两种技术的应用技巧,帮助Python Web开发者提升项目质量和开发效率。
53 1
|
1月前
|
XML 安全 PHP
PHP与SOAP Web服务开发:基础与进阶教程
本文介绍了PHP与SOAP Web服务的基础和进阶知识,涵盖SOAP的基本概念、PHP中的SoapServer和SoapClient类的使用方法,以及服务端和客户端的开发示例。此外,还探讨了安全性、性能优化等高级主题,帮助开发者掌握更高效的Web服务开发技巧。
|
2月前
|
XML JSON API
ServiceStack:不仅仅是一个高性能Web API和微服务框架,更是一站式解决方案——深入解析其多协议支持及简便开发流程,带您体验前所未有的.NET开发效率革命
【10月更文挑战第9天】ServiceStack 是一个高性能的 Web API 和微服务框架,支持 JSON、XML、CSV 等多种数据格式。它简化了 .NET 应用的开发流程,提供了直观的 RESTful 服务构建方式。ServiceStack 支持高并发请求和复杂业务逻辑,安装简单,通过 NuGet 包管理器即可快速集成。示例代码展示了如何创建一个返回当前日期的简单服务,包括定义请求和响应 DTO、实现服务逻辑、配置路由和宿主。ServiceStack 还支持 WebSocket、SignalR 等实时通信协议,具备自动验证、自动过滤器等丰富功能,适合快速搭建高性能、可扩展的服务端应用。
169 3
|
1月前
|
安全 数据库 开发者
Python Web开发:Django框架下的全栈开发实战
【10月更文挑战第26天】本文详细介绍了如何在Django框架下进行全栈开发,包括环境安装与配置、创建项目和应用、定义模型类、运行数据库迁移、创建视图和URL映射、编写模板以及启动开发服务器等步骤,并通过示例代码展示了具体实现过程。
66 2
|
2月前
|
设计模式 测试技术 持续交付
开发复杂Web应用程序
【10月更文挑战第3天】开发复杂Web应用程序
46 2