PHP, Javascript & HTML

All about PHP, JS and HTML including its frameworks


Useful PHP Codes

Increment a Date by Month, Day or Year Increment by month $time = strtotime("2014-12-11")...


Standard PHP/JS/HTML Procedures

Updating PHPUnit to Version 3.7 sudo mv /opt/lampp/lib/php/PHPUnit /opt/lampp/lib/php/PHPUnit.ba...


How to do Everything in CakePHP 2.x

Writing Test Case for AuthComponent's login() Function with CakePHP's Mocking $this->controll...


How to do Everything in AngularJS

Prevent Route Change Add target="_self" to all elements Create new directive to prevent the de...


How to do Everything in Javascript (Pure JS)

Mobile user-agent detection var isMobile = { Android: function() { return navigator.userAgen...


How to do Everything in Metro UI CSS

Metro UI CSS with isLoading jQuery plugin IsLoading jQuery plugin: /* jQuery Plugin */$.isLoadi...


ReactJS REDUX Summary

Using stores and reducers A simple example import {createStore} from 'redux'var reducer_1 = (st...


Standard ReactJS Procedures

Initialize ReactJS Project Enter npm init Enter npm install --save-dev babel-core babel-loader...


Created 2 years ago by Tingwai
Updated 2 years ago by Tingwai

Back to top