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>  
相关文章
|
24天前
|
XML JSON API
ServiceStack:不仅仅是一个高性能Web API和微服务框架,更是一站式解决方案——深入解析其多协议支持及简便开发流程,带您体验前所未有的.NET开发效率革命
【10月更文挑战第9天】ServiceStack 是一个高性能的 Web API 和微服务框架,支持 JSON、XML、CSV 等多种数据格式。它简化了 .NET 应用的开发流程,提供了直观的 RESTful 服务构建方式。ServiceStack 支持高并发请求和复杂业务逻辑,安装简单,通过 NuGet 包管理器即可快速集成。示例代码展示了如何创建一个返回当前日期的简单服务,包括定义请求和响应 DTO、实现服务逻辑、配置路由和宿主。ServiceStack 还支持 WebSocket、SignalR 等实时通信协议,具备自动验证、自动过滤器等丰富功能,适合快速搭建高性能、可扩展的服务端应用。
86 3
|
6天前
|
设计模式 前端开发 数据库
Python Web开发:Django框架下的全栈开发实战
【10月更文挑战第27天】本文介绍了Django框架在Python Web开发中的应用,涵盖了Django与Flask等框架的比较、项目结构、模型、视图、模板和URL配置等内容,并展示了实际代码示例,帮助读者快速掌握Django全栈开发的核心技术。
78 44
|
2天前
|
前端开发 API 开发者
Python Web开发者必看!AJAX、Fetch API实战技巧,让前后端交互如丝般顺滑!
在Web开发中,前后端的高效交互是提升用户体验的关键。本文通过一个基于Flask框架的博客系统实战案例,详细介绍了如何使用AJAX和Fetch API实现不刷新页面查看评论的功能。从后端路由设置到前端请求处理,全面展示了这两种技术的应用技巧,帮助Python Web开发者提升项目质量和开发效率。
7 1
|
4天前
|
XML 安全 PHP
PHP与SOAP Web服务开发:基础与进阶教程
本文介绍了PHP与SOAP Web服务的基础和进阶知识,涵盖SOAP的基本概念、PHP中的SoapServer和SoapClient类的使用方法,以及服务端和客户端的开发示例。此外,还探讨了安全性、性能优化等高级主题,帮助开发者掌握更高效的Web服务开发技巧。
|
7天前
|
安全 数据库 开发者
Python Web开发:Django框架下的全栈开发实战
【10月更文挑战第26天】本文详细介绍了如何在Django框架下进行全栈开发,包括环境安装与配置、创建项目和应用、定义模型类、运行数据库迁移、创建视图和URL映射、编写模板以及启动开发服务器等步骤,并通过示例代码展示了具体实现过程。
24 2
WK
|
7天前
|
安全 Java 编译器
C++和Java哪个更适合开发web网站
在Web开发领域,C++和Java各具优势。C++以其高性能、低级控制和跨平台性著称,适用于需要高吞吐量和低延迟的场景,如实时交易系统和在线游戏服务器。Java则凭借其跨平台性、丰富的生态系统和强大的安全性,广泛应用于企业级Web开发,如企业管理系统和电子商务平台。选择时需根据项目需求和技术储备综合考虑。
WK
10 0
|
9天前
|
JavaScript 前端开发 Java
SpringBoot_web开发-webjars&静态资源映射规则
https://www.91chuli.com/ 举例:jquery前端框架
10 0
|
30天前
|
设计模式 测试技术 持续交付
开发复杂Web应用程序
【10月更文挑战第3天】开发复杂Web应用程序
33 2
|
1月前
|
Java PHP
PHP作为广受青睐的服务器端脚本语言,在Web开发中占据重要地位。理解其垃圾回收机制有助于开发高效稳定的PHP应用。
【10月更文挑战第1天】PHP作为广受青睐的服务器端脚本语言,在Web开发中占据重要地位。其垃圾回收机制包括引用计数与循环垃圾回收,对提升应用性能和稳定性至关重要。本文通过具体案例分析,详细探讨PHP垃圾回收机制的工作原理,特别是如何解决循环引用问题。在PHP 8中,垃圾回收机制得到进一步优化,提高了效率和准确性。理解这些机制有助于开发高效稳定的PHP应用。
41 3
|
2月前
|
数据可视化 图形学 UED
只需四步,轻松开发三维模型Web应用
为了让用户更方便地应用三维模型,阿里云DataV提供了一套完整的三维模型Web模型开发方案,包括三维模型托管、应用开发、交互开发、应用分发等完整功能。只需69.3元/年,就能体验三维模型Web应用开发功能!
276 8
只需四步,轻松开发三维模型Web应用