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.

Develop your own MVC application in PHP

October 14, 2016 Difficulty: 35 / 50
railroad-traffic-controller-lights

In this tutorial I will show you how easy it is to create your own MVC application in PHP without using a framework. MVC or model-view-controller is an architectural pattern which is a fancy phrase for 'a method of structuring your application' so that you can write reusable code and maintainable code.

Read Full Article...

Proper communication between JavaScript in WKWebView and SWift 3.0

October 14, 2016 Difficulty: 20 / 50
swift-js-wkwebview-poker-game

In this tutorial I want to share my experience related to WebViews in Swift 3.0 and explain how I managed to communicate back and forth between the JavaScript and native code.

In my project I needed to be able to store content in the UserDefaults persistent storage and later make that available to the JavaScript code for off-line usage

Read Full Article...

3D Cube Flip Effect for WOW.js

November 12, 2015 Difficulty: 10 / 50
cubes

Hi there, It’s cool CSS animations day!
I did this for a customer a few days ago and thought it would be nice to share it.
For those of you who are not familiar with WOW.js, it is a cool JavaScript plugin, created by Matt Aussaguel that reveals animations when you scroll.
While Wow.js plays nicely with animate.css the former CSS generator doesn’t have a 3D flip effect and that’s what I needed for my project. So… here’s the demo

Read Full Article...

How to backup Ubuntu and restore it using "dd"

October 26, 2015 Difficulty: 20 / 50
Codepunker-dead-hard-drive

DD is a Unix and Unix-like utility that is primarily used to convert and copy files. One really useful use-case for dd is that it can "pack" entire partitions into one single image file, thus allowing users to recover entire disks by "unpacking" and restoring a file-system in case of hardware failure.

To create a full backup for a partition the command you need to run is straight-forward. The size of the resulting image file will be the same as the size of your partition so make sure you have enough free space on the drive you are placing your backup... also, please avoid placing your image file on the same drive that you're backing up.

Read Full Article...

The Basics of Time and Date in PHP and MySQL

July 14, 2015 Difficulty: 20 / 50
date-time-php-mysql

In this tutorial we will go through doing basic operations with Date/Time functions in PHP and MySQL and learn how to keep time zones in sync inside an application. We'll start by understanding why application level synchronization between the MySQL and PHP time zones is necessary.

Read Full Article...

1 2 3 4 5 6 7 8 9 10
Better Docs For A Better Web - Mozilla Developer Network

Alerts

2017-02-16 - The exif_process_IFD_TAG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not properly construct spprintf arguments, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data. Read more ...
2017-02-16 - The xml_parse_into_struct function in ext/xml/xml.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 allows remote attackers to cause a denial of service (buffer under-read and segmentation fault) or possibly have unspecified other impact via crafted XML data in the second argument, leading to a parser level of zero. Read more ...

See All Entries...