Book Snippets

02 April, 2017   

Last name matches the user input and returns their phone and email information

The pyperl dist provide an interface to the Perl DBI (dbi.py). This allow direct access to all the perl supported databases from python. Full documentation of the API from 'perldoc DBI' or the ORA "Programming the Perl DBI" book, by A. Descartes and T. Bunce.

28 November, 2015   

CSS example safe fonts List for web

How to parse a token list into functors (structured terms) in Prolog. The book "Logic in Prolog" by Gibbins has some good example code See http://www.ddj.com/184404172, listing 9 for the little language

10 October, 2013   

It is difficult brainstorming your own CSS font stacks for designing new webpages. This snippet may alleviate some torture and give you a few templates for getting started.

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.