Northeast PHP 2013

Mejorando la experiencia de usuario con las URLs

Ryan Freebern  · 

Presentación

HTML (pincha para descargar)

Vídeo

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

and they see one of your URLs anywhere and I also believe it's important for you to think about how that first interaction happens and what sort of ideas you're conveying through those URLs I'm going to talk about today how we know that this is

the case and what it means practically for you and how to go about designing those URLs so that users experiences is crafted carefully from the very beginning of their interactions before we can get into that I'd like to touch on what a URL actually is

now there's a lot of technical definitions that describe what the URLs are made up and how they're encoded and stuff like that and that's not what I'm talking about I'm I'd like to talk about the bigger picture and to understand what

a URL is you have to first understand what the web is the web is the single biggest collaborative knowledge sharing effort ever undertaken by the human race which you know sounds very dramatic but I believe it really is true we've all worked together to

create this globe spanning ad hoc machine that anyone can contribute to with a little effort a little knowledge and just like any other machine there has to be some way for humans to interact with it to make it useful to us the way we interact with this global

machine is through HTTP and various other protocol business this is a web conference I'm focusing on HTTP yeah it's a lot of a garage was a Russian compiler engineer recently said we're building plans our own languages who speak to the machine

when I came in here to get set up set up there was a discussion going on that involves some of the stuff how there's various software development communities and you know if you get started with one language and feel like part of that community there's

you know often some animosity between the various language communities and but what it all boils down to is that everyone ends up talking HTTP at some point when they want to get their information out there to people URLs are the nouns in the language of the

HTTP they're the things the the discrete objects that we're referring to they're how we speak to the web and how we speak with each other about the web the Platonic ideal URL is a short semantic well-defined unchanging string of characters that

refers to a specific thing and tells us how to find that thing in this global machine the programming languages that mr. Grove is referring to are for the specific individual physical machines but they all talk to each other through HTTP and without the URLs

as part of that language the communication breaks down so why design URLs well because people care and because machines care and just because we can people care consciously and unconsciously about the URLs that they're seeing if something looks incredibly

complex that turns people off if it looks nice and easy to use that is more interesting to them more understandable how they care about them depends on who they are and how they're using these URLs if you're a developer looking at URLs for an API they

tell you how they interpret interact with another system you're going to look at those URLs differently than if you're a consumer and you see a URL in an advertisement a microsoft research eye tracking study conducted in 2007 determined that on average

people spent about 24% of their time looking at the urls in search results no matter whether they were looking for specific information or trying to find a specific site they spent a good chunk of their time looking directly at the URLs not at the keywords

not at the description there's a school of thought that says oh the URLs don't matter people are just gonna you know type in the keywords and click on whatever looks best and it turns out that what looks best depends in part on the URL be given Jakob

Nielsen that same here some studies and found the same thing that people are actually assessing here URLs and trying to find out which page that they've been presented with is going to contain the information that they want partly based on what the URL

looks like so what does this mean well you don't just click on something that you know has the right title it has the right description you're going to look at the whole thing and evaluate all the parts machines care about URLs well machines don't

actually care yet but in some ways they have needs they have expectations about the URLs that you're sending to them for instance the machines located at Google care a lot about the URLs that you've put on a page they're gonna analyze those and

that's gonna affect your business goals when people are searching for your website or for your information and finally we design URLs because we can no matter what part we play in the creation of websites we care about all of the process we care about

every bit of work that goes into creating those websites and part of that is building the URLs for it we don't just toss things up on the web and say okay it's out there or say how is this going to be out there how are people going to find it so what

makes it your well every URL on the web is going to start with the scheme or a protocol we're used to seeing these two most of the time but there's various other ones that you'll encounter on difficult websites the internet assigned numbers Authority

recognizes over 160 different schemes or protocols either on a permanent or provisional basis including things like Skype and IRC and you know various ones that are seen are used too much but they recognize them for the most part we're just gonna stick

with the standards here after that you've got a domain name which is usually a name that the top-level domain top-level domains in the generic top-level domains of which they're a big handful most of the time they're gonna fall into those first

four but you'll see these on a regular basis there's also the country code top-level domains or various nationalities there's hundreds of those now and they change on a regular basis at one point I was really hopeful that I could register our why

I am and then the Netherlands Antilles dissolved as a country and they retired so I can't do that there's an infrastructure cut level domains which is currently just dot art but back when the internet was first being created the Advanced Research Projects

Agency used ARPA to refer to their various machines and over time that got changed into the address robbing protocol area which is used only and DNS lookups you'll see that if you're looking up a specific domain name trying to map it to an IP address

we'll see DARPA showing up in the results if you own and operate a top-level domain the name isn't actually required so if you're the one who runs the dot WS top-level domain you can host your website at WS this gives you some benefits of having

the shortest possible URL out there which is just an interesting thing but it's not actually going to apply to most of us and then finally there's internationalized domain names this is Tamil for example test and using the Unicode algorithm we can

take those Unicode characters and turn them into standard lower ASCII which makes this beautiful long string of characters that people can type in to get to Tamil to meet you International domain names are still kind of a mess it's been a problem that

people have understood existed for fifteen to twenty years and there have been a couple of attempts to try and standardize how it's done but implementation is patching across the board they're still working on trying to figure that out so to be technically

[ ... ]

Nota: se han omitido las otras 3.793 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.