用户体验之一动态排序
本文的标题至少说明了三点:我是一个初级程序员;本文的内容与 用户 体验 有关;我目前所理解的提升 用户 体验 的手段 之一 是 动态 排序 。 动态 排序 的意思是:根据之前 用户 作出的操作, 动态 地引导 用户 作出后续的操作。 这句话说的太抽象,但是现实
本文的标题至少说明了三点:我是一个初级程序员;本文的内容与用户体验有关;我目前所理解的提升用户体验的手段之一是动态排序。
动态排序的意思是:根据之前用户作出的操作,动态地引导用户作出后续的操作。
这句话说的太抽象,但是现实中有很多例子可以解释这句话。
例如,在用sqlserver2000(只用过盗版的)的查询分析器的时候,大部分初学者或者小部分的劳累的程序员会注意不到标题栏下方正中央要先选择数据库然后执行相应的sql语句。假设我敲了一行“select * from Table1 where id = 3”。然后sqlserver2000会显示解释错误,提示没有Table1这张表。然后用户意识到是数据库没有选择对。就在用户点击选择数据库的时候,如果引入动态排序——根据之前用户作出的操作,动态地引导用户作出后续的操作——应该按照数据库中是否含有Table1的数据库把已有的数据库分成两类:有Table1和没有Table1的数据库。然后按照建立Table1的时间的由近及远或者操作次数或者数据量大小等因素,综合排序,给出最可能符合用户预期的排序方式,使得用户在选择数据库时,最好第一个就是想选择的数据库。就像sogou拼音这么好用。
再比如,在搜索引擎中,用户可能会对一个关键字搜索过几次,比如“主频”。极有可能,我后来忘了什么叫“主频”,会重新搜索,这时,如果加入动态排序,就应该是根据搜索次数和时间,把之前点击过的链接放在前面。而这个应该是可以做到的,因为目前,点击过的链接会变成暗红色。
当然,动态排序,也要考虑硬件的执行效率和不违反用户的预期。
针对硬件的执行效率,比如,如果当前的电脑性能很差,数据量很大时,加载动态排序的特征可能使电脑运行很慢。这时可以恰当地根据当前电脑环境作出抉择。这点可以由高端用户自己决定或者应用程序智能分析给出推荐的方案。
针对不违反用户的预期,比如,针对第一个例子写的sql语句,在目前的sql组里根本就没有。这时不能弹出一个框说,sql语句没有,所以不能给您选择合适的数据库。而直接按照默认排序就好。
上述就是目前理解的动态排序的认识。如有雷同,纯属荣幸,不吝赐教。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

With the rapid development of social media, Xiaohongshu has become one of the most popular social platforms. Users can create a Xiaohongshu account to show their personal identity and communicate and interact with other users. If you need to find a user’s Xiaohongshu number, you can follow these simple steps. 1. How to use Xiaohongshu account to find users? 1. Open the Xiaohongshu APP, click the "Discover" button in the lower right corner, and then select the "Notes" option. 2. In the note list, find the note posted by the user you want to find. Click to enter the note details page. 3. On the note details page, click the "Follow" button below the user's avatar to enter the user's personal homepage. 4. In the upper right corner of the user's personal homepage, click the three-dot button and select "Personal Information"

This article will introduce how to sort pictures according to shooting date in Windows 11/10, and also discuss what to do if Windows does not sort pictures by date. In Windows systems, organizing photos properly is crucial to making it easy to find image files. Users can manage folders containing photos based on different sorting methods such as date, size, and name. In addition, you can set ascending or descending order as needed to organize files more flexibly. How to Sort Photos by Date Taken in Windows 11/10 To sort photos by date taken in Windows, follow these steps: Open Pictures, Desktop, or any folder where you place photos In the Ribbon menu, click

In Ubuntu systems, the root user is usually disabled. To activate the root user, you can use the passwd command to set a password and then use the su- command to log in as root. The root user is a user with unrestricted system administrative rights. He has permissions to access and modify files, user management, software installation and removal, and system configuration changes. There are obvious differences between the root user and ordinary users. The root user has the highest authority and broader control rights in the system. The root user can execute important system commands and edit system files, which ordinary users cannot do. In this guide, I'll explore the Ubuntu root user, how to log in as root, and how it differs from a normal user. Notice

Outlook offers many settings and features to help you manage your work more efficiently. One of them is the sorting option that allows you to categorize your emails according to your needs. In this tutorial, we will learn how to use Outlook's sorting feature to organize emails based on criteria such as sender, subject, date, category, or size. This will make it easier for you to process and find important information, making you more productive. Microsoft Outlook is a powerful application that makes it easy to centrally manage your email and calendar schedules. You can easily send, receive, and organize email, while built-in calendar functionality makes it easy to keep track of your upcoming events and appointments. How to be in Outloo

When creating a virtual machine, you will be asked to select a disk type, you can select fixed disk or dynamic disk. What if you choose fixed disks and later realize you need dynamic disks, or vice versa? Good! You can convert one to the other. In this post, we will see how to convert VirtualBox fixed disk to dynamic disk and vice versa. A dynamic disk is a virtual hard disk that initially has a small size and grows in size as you store data in the virtual machine. Dynamic disks are very efficient at saving storage space because they only take up as much host storage space as needed. However, as disk capacity expands, your computer's performance may be slightly affected. Fixed disks and dynamic disks are commonly used in virtual machines

sudo (superuser execution) is a key command in Linux and Unix systems that allows ordinary users to run specific commands with root privileges. The function of sudo is mainly reflected in the following aspects: Providing permission control: sudo achieves strict control over system resources and sensitive operations by authorizing users to temporarily obtain superuser permissions. Ordinary users can only obtain temporary privileges through sudo when needed, and do not need to log in as superuser all the time. Improved security: By using sudo, you can avoid using the root account during routine operations. Using the root account for all operations may lead to unexpected system damage, as any mistaken or careless operation will have full permissions. and

Analysis of user password storage mechanism in Linux system In Linux system, the storage of user password is one of the very important security mechanisms. This article will analyze the storage mechanism of user passwords in Linux systems, including the encrypted storage of passwords, the password verification process, and how to securely manage user passwords. At the same time, specific code examples will be used to demonstrate the actual operation process of password storage. 1. Encrypted storage of passwords In Linux systems, user passwords are not stored in the system in plain text, but are encrypted and stored. L

Oracle database is a commonly used relational database management system, and many users will encounter problems with the use of table spaces. In Oracle database, a user can have multiple table spaces, which can better manage data storage and organization. This article will explore how a user can have multiple table spaces in an Oracle database and provide specific code examples. In Oracle database, table space is a logical structure used to store objects such as tables, indexes, and views. Every database has at least one tablespace,
