A simple introduction to Swift

At the WWDC 2014 Apple introduced a brand new programming language called Swift,. It's a language that has been created by Apple from the ground up to be both very efficient and very beautiful. Swift uses the same API's as C but in my opinion is easier to learn and get a grasp if you come from a web development background like me. If you are just as exited about this language as I am, then this is the article for you. Variables and constants ... Declaring variables in Swift, if you come from a Javascript background,...
read more

10 essential JavaScript resources for HTML5

You have to love the developer network. Whilst HTML5 remains a relatively new standard, there are plenty of open source and paid for resources available to help you work with HTML5 using JavaScript. JavaScript is necessary for many HTML5 elements such as <canvas>, <audio> and WebGL. However, as I said, there are tools, libraries and framework resources to help you, so let’s get started looking at some of them. 1) HTML5 Boilerplate ... It’s likely that if you’re already working...
read more

Deal of the week: 160 PSD mockups bundle from Zippy Pixels

One of the most important lessons you learn on any design course, is that presentation is half the battle. You can produce awe-inspiring design work, but if you can’t present it well to clients, it wil be dismissed prematurely. There was a time, when designers spent weeks painstakingly photographing, printing, and mounting their portfolios in order to achieve the right look. Thankfully, these days, designers have an alternative; and we’re delighted that our sister-site, MightyDeals.com,...
read more

How to use the Network Information API

All the websites we build should be responsive; not just to browser speed, but to network condition. In this article I'll introduce the Network Information API, that helps us detect a device’s current bandwidth and allows us to modify our site if the speed is slower than we need. Browser support ... We usually can’t expect support for experimental APIs and in this case, the only two browsers that support it are Firefox and Chrome. In both cases, you need browser prefixes. How to use the Network Information...
read more

How to use currentColor

currentColor is a CSS variable-like feature that's been around for quite awhile now and has reasonably good browser support (it's supported by all modern browsers and their mobile counterparts, and even IE9+, though bugs have been reported in mobile Safari). While most variables are still being used with preprocessors until support becomes more widely established, currentColor can be used as-is. currentColor is super useful under some specific circumstances, and well worth learning (especially...
read more

Deal of the week: The retro/vintage design bundle

If you’re looking to bolster your supplies of professional grade design assets, then you’ll be delighted to learn that our sister-site, MightyDeals.com, has arranged a huge discount on an amazing design bundle from Cruzine Design. Featuring logo templates, badges, ornaments, buttons, and frames the deal includes over 200 high quality assets perfect for use in a multitude of designs. All of the elements are fully editable in Photoshop, and most come with both .ai and .eps files, so you...
read more

How to automatically process digital orders with PayPal

It's not trivial to set up PayPal IPN (Instant Payment Notification). It requires a free Business (Premium) PayPal account, a web hosting account with PHP support, configured to allow creating HTTP socket connections using "fsockopen" function, a MySQL database set up on your web server, a mailing mechanism (for sending the product to the buyer) and a free Gmail account. It may seem like a lot, but everything except the web hosting server (which you probably already have) is free, and once it is fully...
read more

How to use the Device Orientation API

Today we have mobile devices that come equipped with everything from cameras to geolocation, and we have little computers in our hands that can do pretty much anything we do with our desktop. One of the key APIs that functions with mobile devices is the Device Orientation API. The Device Orientation API helps us as developers detect the orientation of the user's screen and make the necessary changes to our layout. For example, on YouTube, if you are watching a video and you tilt your phone, the video goes...
read more
Load more