您是否将地址分解为街道/城市/州/邮政编码? [英] Do you break up addresses into street / city / state / zip?

查看:22
本文介绍了您是否将地址分解为街道/城市/州/邮政编码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前的应用需要存储用户的地址信息.我目前正在争论是使用惯用的街道地址/城市/州/邮编文本框和下拉菜单,还是使用 Google 的方法,将所有内容都放在一行上.关于以这两种方式存储地址信息的利弊有什么想法吗?

My current app needs to store address information for a user. I'm currently debating whether to use the customary street address / city / state / zip textboxes and dropdowns or to go with Google's method of simply having everything on one line. Any thoughts on the pros/cons of storing address information in either of these manners?

推荐答案

你应该把它分开.这将使以后进行报告变得更加容易.如果你想拉出一个州、邮政编码或城市的所有居民,会发生什么?如果您使用所有一个字段,您将被卡住并希望将其拆分.

You should split it up. It will make it far easier to do reporting down the road. What happens if you want to pull up all the residents of a state or zip code, or city? If you use all one field, you will be stuck and wish you had split it up.

此外,如果您不提示用户,他们将忘记输入您需要的所有信息.

Also, users will forget to put in all the information you need if you don't prompt them for it.

这篇关于您是否将地址分解为街道/城市/州/邮政编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆