A Beautiful Site

  • Business
  • Design
  • Development
  • Resources
  • More
    • About
    • Favorites
    • News
    • Tips
    • Tutorials
Surreal CMS

The easiest way to edit a website

This a great solution for freelancers, agencies, or anyone that needs to edit a website. In just minutes, you can hook it up to just about any site and start editing content inline.

Sticky Post

  • 
  • 
  • 
OS X Yosemite

Flush DNS Cache on OS X

Here’s the best way to flush DNS cache on OS X: sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; say cache flushed Notice that last part — that’s why this is the…Continue reading

March 1, 2016

  • 
  • 
  • 
PHP logo

The easiest way to validate email addresses in PHP

Here’s the absolute easiest way you can validate an email address using PHP. This tiny function takes advantage of the filter_var() function in PHP. function valid_email($email) { return !!filter_var($email, FILTER_VALIDATE_EMAIL);…Continue reading

January 4, 2016

  • 
  • 
  • 
te-xt

A free online tool for text manipulation

I recently launched another free tool similar to DirtyMarkup, but instead of working with code, it’s for working with text. It’s called te-xt.com.

December 7, 2015

  • 
  • 
  • 
PHP logo

An #ifcond block helper for LightnCandy

This is rather specific, but if you’re implementing Handlebars (in PHP) using LightnCandy, here’s a great helper that lets you compare values and generate output accordingly.

September 25, 2015

  • 
  • 
  • 
Menu icon

Data URIs for navicon (hamburger menu) icons

The “hamburger” icon is becoming a staple of modern UI design. Users see those three lines and immediately know that a menu lies beneath. There are many approaches to getting…Continue reading

September 24, 2015

  • 
  • 
  • 
CSS3 logo

A clean fade-in effect for webpages

Here’s a nice way to fade your pages in using CSS and a bit of JavaScript. The solution is clean and smooth, with no flickering on load. If JavaScript is…Continue reading

September 23, 2015

  • 
  • 
  • 
CSS3 logo

How to remove box shadows from input controls on iOS

Those default box shadows that appear inside of your input elements on iOS can be pretty annoying, especially if you’re going for a flat or subtle look. Here’s how to…Continue reading

September 16, 2015

  • 
  • 
  • 
PHP logo

Stop basename() From Changing Russian and Other Non-Latin Strings

Here’s another gotcha if you’re using PHP’s  basename() on a string that contains non-Latin characters: The resulting string will get butchered. This issue has apparently been fixed, but it still affects up…Continue reading

August 20, 2015

  • 
  • 
  • 
PHP logo

Passing data from PHP to JavaScript

Have you ever needed to send a PHP variable, array, or object to JavaScript? It can get complicated trying to escape the output properly. Here’s a way that always works—no escaping…Continue reading

March 4, 2015

  • 
  • 
  • 
HTML5 logo

The HTML5 download attribute

Years ago I showed you how to force a file to download with PHP. Now with HTML5, you [almost] don’t have to do that anymore.

February 19, 2015

  • 
  • 
  • 
Load Posts

Topics

  • Business
  • Design
  • Development
  • Resources
  • More
    • About
    • Favorites
    • News
    • Tips
    • Tutorials

Newsletter

Get free tips, resources, and other web-related goodness right in your inbox.


About

A Beautiful Site is a small web development studio based in Central Florida. We blog about web design, web development, technology, bootstrapping, startups, and other awesome things.

Learn more about our company.

A Beautiful Site, LLC · Est'd 2007 · About · Newsletter · Contact