Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

5 jQuery performance tips

Difficulty: 30 / 50
jquery speed

In today's tutorial I will try to sum up a few things you should take into consideration when writing your jQuery code to avoid performance issues. Some of the following tips will apply to everyone... whether you are a jQuery fan or prefer vanilla flavor.

Read Full Article...

Injecting code into pages with PHP DOMDocument

Difficulty: 25 / 50
cube elements

Numerous content management systems provide various ways through which developers can alter the content of a web page through plugins or other types of extensions. In today's tutorial I will show you how an article that is loaded from an external source can be modified using the DOMDocument Class in PHP.

DOMDocument is part of the DOM PHP extension, which allows operations on XML / HTML documents using its API. DOMDocument actually represents an entire HTML or XML document. We will be loading it from an existing URL or file. If you are loading the HTML from the database, just replace the loadHTMLFile() method with loadHTML($html_string) which takes an HTML string as a parameter.

Read Full Article...

magnifyMe - a jQuery image magnifier plugin

Difficulty: 20 / 50
magnifier

"magnifyMe" is a jQuery plugin that can be used to add zoom functions to product images or any other image for that matter.
Demo and source are available here

Read Full Article...

Handling image uploads securely in PHP

Difficulty: 30 / 50
cloud upload

In this lesson, you will learn how to upload image files to the server with PHP. Specifically, you will go through every required validation that should be done when uploading files to the server.

This will make your upload scripts maintainable and most importantly secure.

Read Full Article...

Setting up Sublime Linter on Ubuntu

Difficulty: 25 / 50
sublime-linter-screen

I recently switched to Ubuntu as my primary operating system and one of the issues I've encountered was setting up Sublime Linter to work properly with CSS, PHP and JavaScript linting. This gave me the idea to write this tutorial on how you can set Sublime Linter to play nicely on Ubuntu.

Read Full Article...

1 2 3 4 5 6 7 8 9 10 11