CODE REUSE

The prime one among "the coder tricks".


They say I am a master of code reuse. Do not be afraid of me, nothing about OOP, classes and inheritance. Mastering code reuse today means simply to be able to escalate problems to your past code or to libraries and components written by others. In few words mastering code reuse is the ability to not reinvent the wheel every day... Reuse past examples is undoubtly a good quality to own and nevertheless a good RAD practice!

Here, in this website I offer some code you can browse and reuse like I recently did (Please be aware that the display of one and the other work on this website doesn't authorize you to reuse its related code without mentioning its origin or using it against its license agreement):

PHP

PHP Mailer (LGPL license)
https://github.com/PHPMailer/
Author: Brent Matzelle, Marcus Bointon, Andy Prevost and contributors
Tags: php, mailer, component

QR Code 2-D (LGPL license)
http://phpqrcode.sourceforge.net
Author: Dominik Dzienia, Kentaro Fukuchi, Phil Karn
Tags: php, QR Code, generator

Dan Nuggetsman (GPL, BSD or MIT license accordingly)
https://github.com/par7133/
Author: myself
Tags: github, opensource, code

Modern PHP (Fair use where permitted)
https://www.oreilly.com
Author: Josh Lockhart
Tags: php, book

PHP Advanced and Object-Oriented Programming (Fair use where permitted)
https://www.peachpit.com
Author: Larry Ullman
Tags: php, book

Javascript


jQuery (MIT license)
https://jquery.com
Author: John Resig and contributors
Tags: javascript, framework

Bootstrap (MIT license)
https://getbootstrap.com
Author: Mark Otto, Jacob Thornton and contributors
Tags: frontend, framework

jsSHA (BSD license)
http://caligatio.github.com/jsSHA/
Author: Brian Turek, Paul Johnston
Tags: javascript, encryption

js-htmlencode (MIT license)
https://github.com/emn178/js-htmlencode
Author: Chen Yi-Cyuan
Tags: javascript, library

serialize-javascript (BSD license)
https://github.com/par7133/serialize-javascript-nonpm
https://github.com/yahoo/serialize-javascript
Author: Yahoo and contributors
Tags: serialize, objects, JSON, drag-n-drop

SqueeJS (MIT license)
https://github.com/par7133/SqueeJS
Author: myself
Tags: javascript, library

Tcl/tk

Tcl/tk documentation (BSD license)
https://www.tcl.tk/doc/
Author: the Tcl community
Tags: doc, examples

Tcler's Wiki (BSD license)
https://wiki.tcl-lang.org
Author: Various
Tags: articles, examples