Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated the website and our policies to make sure your privacy rights and security are respected.
Click here to learn more about the way our website handles your data.

Remove this message.

Basics of class visibility and Object Inheritance

Difficulty: 20 / 50
inheritance

In today's tutorial I will try to explain two of the basic principles of Object Oriented Programming in PHP - class visibility and object inheritance.

I remember that when I started out I had difficulties understanding these things, so in this tutorial I'll try to expose a different angle for looking at some of the confusing aspects of OOP. Hopefully this approach will make everything clearer for you as it did for me ages ago.

Read Full Article...

Login with GitHub using PHP

Difficulty: 35 / 50
Github-Jacket-Mug

This tutorial is not intended as a comprehensive package that fully exploits the GitHub API. It is however, a "guide" that is meant to show you how OAuth2 works by providing a practical example through the use of the GitHub API.

Using this package will authenticate users through their GitHub account by checking their public profile which in turn would represent enough to start a session on the website that creates the request. In this package I use the Slim Framework to read data from requests and configuration parameters, but the thing can be adapted to work with any framework.

Read Full Article...

A simple jQuery Ajax Request to PHP

Difficulty: 20 / 50
simple-ajax-requests

This article was originally written in 2010. This is an updated version on how to do simple Ajax requests using jQuery

Ajax is a very nice tool for web developers. It helps you interact with the visitor without reloading the page. Searching the internet you will find various Ajax code samples that are simply too complicated and some are too specific. I added some comments that will better explain what the code does and how it can be tweaked.

Read Full Article...

10 new and old HTML 5 tags you should consider using

Difficulty: 5 / 50
HTML5-Painted-On-Cute-Girl

HTML has come a long way from its inception back in Tim Berners-Lee mind in the late 1970's but its core standard of using tags within angled brackets hasn't changed much from its first, faltering steps. Indeed, with the World Wide Web Consortium (W3C) getting towards the final stages of standardizing HTML5 not far away, there are now many new elements that you can use to enhance your web constructions, and that includes many you probably didn't realize exist.

Read Full Article...

Bash history navigation and recursive grep searching

Difficulty: 10 / 50
Car-Bashing-In-a-Wall

In today's tutorial I will show you how to search through your bash history in order to avoid re-typing long commands every time. You will also learn about a few use cases for the grep CLI utility.

Read Full Article...

1 2 3 4 5 6 7 8 9 10