Rakhitha Nimesh

Integrating impress.js into WordPress

Online presentation tools are rapidly gaining popularity over desktop presentations. Impress.js is one of the most popular open source libraries for creating amazing presentations using CSS transitions and transformations. Even though it’s highly popular library, not many tools are available for generating presentations with dynamic content. So here we are going to integrate impress.js into WordPress for automating presentation creation.
Shameer C

Convert HTML to PDF with Dompdf

PDF is a standard format originally created by Adobe for representing text and images in a fixed-layout document. It’s not uncommon for a web application to support downloading data, such as invoices or reports, in PDF format, so in this article we’ll go through how we can easily generate PDF documents using PHP.
Lukas White

Create a Podcast Feed with PHP

In this article, I’ll demonstrate how to use PHP to generate a podcast feed. We’ll create a simple administrative interface to configure the podcast metadata, add and list episodes, and then go through the generation of the podcast feed itself (which is simply an RSS document).
Alexander Cogneau

Using cURL for Remote Requests

If you’re a Linux user then you’ve probably used cURL. It’s a powerful tool used from posting mails to downloading the latest My Little Pony subtitles. In this article I’ll explain how to use the cURL extension in PHP. The extension offers us the functionality as the console utility in the comfortable world of PHP. I’ll discuss sending GET and POST requests, handling login cookies, and FTP functionality.
Stefan Froelich

Generators in PHP

If you’ve followed my previous posts about iterators then you’ll know that iteration is an important programming concept, but implementing the required interfaces to create an iterable object can be a hassle at best because of the amount of boilerplate code that is required. With the release of PHP 5.5, we finally have generators!
Timothy Boronczyk

Saving PHP Sessions in Redis

Sessions allow a web-based application to maintain state across multiple HTTP requests. You can register any number of variables as session variables which are then typically stored in a temporary directory on the server or passed to the client browser through cookies. Subsequent requests have access to the saved information and the application’s state is preserved across multiple requests
Craig Buckler

CSS3 Transitions 101: What are Transitions?

Transitions are the most-used type of CSS3 animation. Despite widespread adoption and a relatively simple syntax, there are several gotchas and options of which even the most knowledgeable developers are blissfully unaware! This is the first in a four-part series about CSS3 transitions but each article can be read individually or out of order. Let’s start with the basics…
Ricky Onsman

Learn JavaScript Online

We know that people acquire skills, adopt techniques, learn anything in different ways, and timeframes, and formats, and with wildly varying expectations. Between SitePoint and Learnable, we’re building a network of ways you can acquire web skills as you want and need them. Below are three ways you can learn a lot of JavaScript online. By looking at what our loyal SitePoint audience has been doing and loving, we have compiled three quick lists with options to get you learning some serious JavaScript.
Fernando Tinoco

How to Write Better JavaScript

340 million tweets are sent globally on any given day. The JavaScript event triggered every time the blue button is clicked on twitter.com is largely the responsibility of Angus Croll, co-author of Twitter’s Flight Framework and member of Twitter’s Web Core team. In this exclusive interview, he offers his best tips for programmers to write better JavaScript and explains performance gains achieved by moving away from an MVC architecture.
James Edwards

The Dark Shadow of The DOM

Shadow DOM is part of the Web Components specification, and is designed to address the encapsulation problems that plague some kinds of web development. You know the kind of thing — if you build a custom widget, how do you avoid naming conflicts with other content on the same page? Most significantly, how do you prevent the page’s CSS from affecting your widget?
Dmitri Lau

10 Reasons Why You Should Use AngularJS

If you haven’t tried Angular yet, you’re missing out on why people say JavaScript is the most flexible language in the world. Angular is the only framework that doesn’t make MVC seem like putting lipstick on a pig. Most frameworks nowadays are simply a bundling of existing tools. They are an integrated tool set, but not very elegant. Angular is the next generation framework where each tool was designed to work with every other tool in an interconnected way.
Arunoda Susiripala

Create a Meteor App Using NPM Modules

With version 0.6.0, Meteor introduces NPM support. But full NPM support is only available for meteor packages. Only the core NPM modules used by meteor can be loaded from the meteor app. That means if you need to use an NPM module like redis, github, or winston you are out of luck. But it’s not impossible.
Lily Sommers

5 Overused Logo Trends To Avoid

If you are an aspiring designer looking to delve into logo design, you’ll want to develop your own style instead of simply emulating examples around you. Effective logos are more than just pretty; a well-designed logo is purposeful and unique, which makes following commonplace trends a losing strategy. Avid readers of DesignFestival are probably aware of troublesome colors that have the potential to be an eyesore. This time, we want to focus on a list of overused logo trends that should be avoided if you’re looking to design distinct branding for yourself and your clients.
James Edwards

Best Practice for Code Examples

The majority of articles about web development include code examples, and across the web we see great variation in how they’re formatted and presented. But a lot of them are not very good — because the code is badly formatted, hard to read, or can’t be copied-and-pasted without unwanted junk. So in this article I’d like to take a hard look at code examples, to investigate the common problems they have, and try to establish some best practice for how they should be done.
Peter North

5 Ways To Mitigate Risk For Any Design Project

Despite what some may believe, design work is far from a commodity; every project and every client is different. The variated nature of the work is what prevents designers from finding the mythical steady stream of homogeneous, commodity-like projects and gliding through them with consummate efficiency. As much as we may wish to to build endless identical design replicas, you were likely hired to bring a unique, distinctive design to each digital project. For better or worse, that means your approach should be different every time, including your approach to non-design tasks such as approval, payment, scope, clients and contingencies.
John Tabita

The Definitive Guide to (Mostly) Free Images

They say nothing on the Internet is truly “free.” Even services like Gmail and Facebook come with a price—namely, your privacy (free with a string attached would be more accurate). It’s the same with “free” images from sites like Flickr and and Stock.XCHNG. Here’s what you need to know about free and mostly free images on the web.
James George

Create A Vintage Badge in Photoshop

Everyone enjoys recognition and achievement, but badges can do a lot more than offer congratulations. Badges can also convey trust and integrity, such as when a product or service comes with a guarantee, or when a company or individual is certified. Badges play a vital role in design, because they can be used as a symbol of trust, credibility and accomplishment. There are different styles of badges out there: some are gold symbolizing worth, and some are more playful, such as badges that you earn for playing games. They come in all shapes and sizes, and today we are going to create a vintage badge in Photoshop.
Anum K

Create a Sleek Vertical Business Card in InDesign

There are plenty of ways to impress and make introductions online, but business cards are still very important, and regardless of whatever nascent technology lies ahead, a compelling, tangible business card will always play a key role in attracting new clients. A unique and appealing business card design can help you stand out from the crowd and demonstrate your value and talents in real, tangible terms. One way to make your business card intriguing and different is designing a vertical business card instead of the usual, expected horizontal equivalent