background preloader

Various

Facebook Twitter

.htaccess made easy. Martin Auswöger : MySQL calculate distance between two latitude/longitude coordinates. The usability error you don’t know you’re making. Posted at User Focus by David Travis Most weeks you'll find me carrying out usability reviews for clients. Sometimes these are usability inspections and sometimes these are usability tests, but there's a usability error I come across in virtually every system I examine.

What makes this problem doubly unusual is that when I raise the problem with the design team they have a complete blind spot about the issue — sometimes even denying that the problem exists. Many designers still believe that their users are like them. The truth is, that's rarely the case. A recent review of usability test results showed that many "ordinary" users struggle with interactions that most designers take for granted. Interactions like long drop down lists (such as country selectors), where many users don't know they can type the first letter to jump to a selection; clicking on a logo to get back to the home page of a web site; and using drag and drop interactions on a web page.

How to fix this issue Summary. A Beginner's Guide to HTTP Cache Headers. This article offers an exploration into HTTP caching headers and associated CDN behaviour. If you're looking to understand how caching headers fit into the modern web, or are just curious about what everyone is talking about around you, this resource is for you. If you already understand the benefits of cache headers and are looking to extend your knowledge further, I'd recommend referring to the W3 documentation. What Can Cache Headers Do for You? Simply put, caching allows you to store your web assets on remote points along the way to your visitors’ browsers. Cache configuration for your web traffic is critical for any performant site. In the case of assets, things like your company logo, the favicon for your site, or your core CSS files aren't likely to change from request to request, so it is safe to tell the requester to hold onto their copy of the asset for a while.

For Clients & CDNs What are CDNs? The Basic Headers 1. cache-control 2. expires 3. etag 4. vary Oh wow. 5. pragma Some Caveats. 22 Ways to Create Compelling Content. Social Media Trends in Tech. The state of B2B social media 2013. Using Custom scrollbars in your website can be really eye-catching and they go well with the website’s design. For web designers, it’s d... Note: The following article is constisted of pieces from more than one sources. You can view all of them at the end of the article. In... The Most Expensive Google AdWords Keywords. Justify and RWD. Did you know that one of the most powerful tools for fluid and responsivelayout has been a native feature for every browser since HTML 4? Background While working on a project early last year, I quickly became frustrated having to re-calculate the margins between menu items in my full-width footer nav each time the client requested a new link in the menu.

Thinking about how justified text in Microsoft Word fills the entire width of the line by creating even word spacing, I wondered if the same principle could be applied to a menu of text links in HTML. Knowing that text-align: justify was a long established CSS property (the descendent of HTML 4 attribute align=justify), I did some Googling for answers.

Sure enough, I found some discussions on StackOverflow about justified horizontal nav menus. How it works In its natural state, text-align: justify will not work unless the contents of the line are long enough to cause a line-break. Implications for Responsive Web Design "Break" Elements 1. 2. A Consistent Shopping Experience With Product Thumbnails. Article translated in Portuguese by Carlos Moreira, Boxpi. The online shopping experience is often an experience split into two: Browsing experience – an exploratory and iterative process, with lots of vibrant product images, convincing copywriting, reviews from other shoppers, feature comparisons, etc.Checkout experience – a predetermined linear flow, with lots of form fields, instructions, potential error messages, and slow loading https pages.

This often makes the checkout process feel detached from the rest of the browsing experience. And while from a technical perspective this is often the case too, that doesn't make it good UX design. In this article we will look into how product thumbnails can be used to create a checkout experience that is more in tune with the browsing experience. More specifically, we will focus on how product thumbnails can be reused throughout the customer’s entire shopping experience in order to close the gap between the browsing and checkout experience. View Mode Switch. Expanding Search Bar Deconstructed. Summarized, this is what we want the search component to do:Initially, we only want to show a button with a search icon.When clicking on the icon, we want a search input to slide out.The component should be fluid, meaning that we can use it in a responsive context.When we type something we want to be able to submit the form by either hitting enter or clicking on the search icon.If the input is expanded and empty, and we click on the search icon, we want the input to close again.We also want the input to close when we click outside of the search bar, be it empty or not.Without JavaScript, we want the search bar to be shown expanded.For a smoother experience on touch devices, we’ll also want to add support for touch events.

Now that we know what we want to do, let's start with the markup. The Markup For the markup we need a main container, a form, the text and submit inputs and a span for the icon: With all the elements in place, let's start styling them. The CSS The Javascript View Demo. 20 Hottest Trends To Watch Out For In 2013. The design influence is merely a reflection of our culture and expectations for user interfaces. Ideally these trends represent favorable ideas in the web design community. However designers will always have their own opinions when it comes to design terms, so take these ideas with a grain of salt.

If you are interested, keep your eyes peeled for examples of these trends and techniques. 1. This topic was my first point in the 2012 trend article, however I feel that responsive web design has been changing to ultimately come to a threshold where layouts are designed to match all forms of digital media. You can have a responsive website which also adds brilliant illustrations and graphics into the layout when the browser window is larger. The big idea here is to think about website design as a single canvas which is dynamic and fluid by nature. 2. Along with responsive support for website layouts I have also seen a dramatic rise in people building for retina devices. 3. 4. 5. 6. 7. 8. 9. What, Why, & How? This tutorial will introduce you to Pure, a CSS library made of small modules, that can help you in writing completely responsive layouts, in a very fast and easy way.

Along the way, I'll guide you through the creation of a simple page in order to highlight how you can use some of the library’s components. Why Create Responsive Layouts? Over the past few years in web development, three words that are bouncing around, over and over again are: Responsive Web Design (RWD). But the question is: Why go responsive? The answer is that we don't have any control over which resolution the next device will be using when they visit our website. No longer can we just display sentences like, "Best viewed at 1024×768 resolution" (although you can still find them on the web). With that said, it's also clear that not all of us work for a company where every person has a single role (designer, developer, tester and so on). What Is Pure? Let's See Pure in Action Step 1: Create the Horizontal Menu Conclusion.

Useful .htaccess Snippets and Hacks. .htaccess is one file that every web admin should know and understand. At its basic level it controls access to your sites directories. But there is much more that you can do, as the snippets in this post will show you. If you you would like to learn the basics of .htaccess, you should check our our Introduction to .htaccess article, which explains pretty well everything you will need to get you up and running. So, here are some useful tricks you can do with .htaccess: 1. Controlling Access to Files and Directories Password protection is one thing, but sometimes you may need to completely block users from having the option of accessing a particular file or directory.

To do this, paste this code onto an .htaccess file and and drop it in the directory: However, this will block access to everyone, including you. Xxx.xxx.xxx.xxx is your IP. If you want to block access to a particular file, including .htaccess itself, use the following snippet instead: 2. 3. To compress TEXT files, use this: 4. Create an Awesome Single-Page Website. Not every website needs to be complex or include multiple pages of content and information. Sometimes one page is enough. But just because you are creating a website with only one page, does not mean that it will be easy. Developing a single-page layout can require just as much thought and planning as some more complex sites. It needs to have all the same basic parts as a bigger site and should look visually stunning, work as expected and have a clear purpose.

Here we take a look at some awesome single-page designs, which are more popular than you might expect. While you can see what these sites look like, go ahead and visit them to experience some of the great user interface features built into many of these sites. What is Single-Page Design? A single-page website is built in a single window. The single-page concept is based more on scrolling rather than clicking (although clicking is not outlawed either) to see and move through the site and its contents.

Why Opt for a Single-Page Design? Special character dictionary. Gallery of free HTML snippets for Twitter Bootstrap. | Bootsnipp.com. HTML5 & CSS3 Fundamentals: Development for Absolute Beginners. 10 minutes, 20 seconds 35 minutes, 14 seconds 29 minutes, 21 seconds 25 minutes, 25 seconds 48 minutes, 58 seconds 20 minutes, 18 seconds 6 minutes, 59 seconds 15 minutes, 30 seconds 13 minutes, 0 seconds 27 minutes, 27 seconds.

Prism. 52framework - The framework from the future, HTML5, CSS3, and more! HPNeo/gmaps - the easiest way to use Google Maps. Web Design Questionnaires, Project Sheets and Work Sheets. Advertisement It’s nearly impossible to provide an accurate quote to a prospective Web design client without first gathering information about what that particular client needs. Some designers do this in either a face-to-face meeting or over the phone, but more often, they have a questionnaire that prospective clients fill out. This is preferable for a couple of reasons; the most important, is probably that this document then becomes an integral part of the design process and is available to refer back to. So the question is, whether you should put that questionnaire up on your website or only send it to prospective clients once they’ve contacted you.

There are a couple of reasons you may want to make it available online, but the obvious one is that clients are often eager to get started with their projects; providing the questionnaire online eliminates a step in the pre-contract part of the process. Downloadable Questionnaires We Are Pixel8 Happy Cog Clearleft Ltd Lunamedia 45royale Inc. Duoh! Resources and Tools for Web Developers. In this web developer round-up we have chosen 50 recently released resources and tools that offer time-saving solutions to many of the development issues you may come across.

So, if you are looking for a tool that will check your Javascript, validate your CSS, help you create an image sprite, or a new HTML5 Canvas library, a new CSS dev framework, or even a parallax scrolling library you will find them all here, and much, much more. As per usual, and due to its huge popularity, we purposely didn’t include any jQuery-related resources in this post. jQuery needs and deserves its own post, so you should check out last months 40 Recently Released jQuery Plugins if that is what you are looking for. Responsive Grid System The Responsive Grid System is a fluid grid CSS framework for fast, intuitive development of responsive websites. Available in 12, 16 and 24 columns with media queries for all standard devices, clearfix, and optional reset. Responsive Grid System → Box CSS Framework Css2Less CanJS. Web 2.0 Badges. JsFiddle.

How to add Pinterest Button to Website? Tutorials for Web Designers and Developers. So many design styles, coding tricks and sense of variations needed to create a well decorated website. Some time you have to take few tips and tricks to create and run an awesome website. This article is a beautiful and important collection of 15 Important Tutorials for Web Designers and Developers. About The Author Dibakar Jana Welcome friends, I am the Founder of Djdesignerlab.com, a well known designers blog that spread its popularity rapidly. Djdesignfuture.com is my second blog and I am sure this blog can make a mark in designers community. View Authors Posts / Visit Authors Website. Treehouse - learn how to design and develop for the web and iOS.

Learning WebGL. A year ago, at a biggest-ever, record-breaking HTML5 Meetup in San Francisco all about WebGL, I predicted we were a tipping point; I think I was right. Let’s take a look at 2014, a banner year for 3D on the web! A Year of Great Content John Cale and Liam Young’s City of Drones brought together experiments in music and architecture; Isaac Cohen continued to blow minds with visualizations like Weird Kids and Webby; Google’s A Spacecraft for All chronicled the 36-year journey of the ISEE-3 space probe; and SKAZKA showed us an alternate world created by The Mill and powered by Goo. A Year of Killer Apps In 2014, WebGL made its mark– an indelible impression– on advertising, e-commerce, music, news and engineering. A Year of Pro Tools Goo, Verold, Turbulenz and PlayCanvas all made great strides with their WebGL engines and development environments.

A Year of Gaming WebGL is definitely up to the challenge of creating high-quality MMOs. A Year of Virtual Reality A Year of Ubiquity. Code School - Try Git. Interaction Design Pattern Library. How to Retinafy your Website.pdf. List of Videos for Ruby. List of Videos for MySQL Database. Hosting Companies. Facebook cheatsheet. Web Analytics. Resources For Web Design. World Wide Web Consortium (W3C)