Modulating the Modulo

28 11 2015

Flickr: by by Toño Garces

 

A recent article contrasting PHP with Ruby, denigrates making comparisons of one language with others, dismissing such efforts as worthless save for being a clickbait strategy. Yet, sometimes the best way to understand the familiar requires venturing out and exploring something new. If one only knows PHP, a developer may still write quality code. But, learning about C, JavaScript and Python, all of which have influenced PHP, may enhance one’s appreciation for its nuances.And, let’s not forget the other “P” in the pod, Perl, which had a pivotal bearing on PHP’s early development. Speaking of Perl, its creator Larry Wall drew inspiration from UNIX. Of particular interest, that operating system’s (OS) Bourne Shell has an open-sourced cousin bash (the “Bourne Again Shell”), knowledge of which may also enhance one’s appreciation for PHP. Read the rest of this entry »





Links for Best in Show

20 02 2015

flickr: by by Bryn Pinzgauer

The following links represent some of the resources I consulted for my talk “Best in Show” Read the rest of this entry »





Sleight of Date

3 01 2015

Flickr: by Paolo Margari

Someone posted an interesting JavaScript question recently at StackOverflow, concerning how one may  convert a date string into Unix time without the timezone effecting the result. In reflecting on that question, I also discovered a “trick” by which one can fool a local date object to a degree.

Read the rest of this entry »





PHP on the Cusp of a New Operator

20 12 2013

Flickr: by yh828

For nearly two decades, if you include precursor PHP/FI, PHP lacked a basic mathematical operator, the one for exponentiation. Read the rest of this entry »





JavaScript Exercise

22 07 2011

Pencil and Paper Time

by quacktaculous

Write code so that if user clicks a button, the value of one text input is duplicated and Read the rest of this entry »





Manipulating the textarea

12 04 2011

Today I’m taking a break from PHP to examine an aspect of the front-end, Read the rest of this entry »





XML to JSON with PHP

7 09 2010

In a previous post, Buzz Words, I used PHP to JSON-encode some XML contained within a couple of SimpleXML elements. In this post, we are going to delve more deeply into this issue of converting XML to JSON Read the rest of this entry »








%d bloggers like this: