Archive | May, 2002

Doing real OO in PHP4

Posted on 24 May 2002 by Demian Turner

From the Jpgraph site
For those of you (like me) who is used to develop using more mature OO language like Eiffel, Java or C++ (there might be some discussions whether C++ is a mature OO language or not…) There are a couple of semantic “gotchas” in developing fully OO code using PHP4.

Click here for the full article.

Comments (0)

MS Cites National Security to Justify Closed Source

Posted on 21 May 2002 by Demian Turner

A good laugh …

It was recently reported in eWeek that “A senior Microsoft Corp. executive told a federal court last week that sharing information with competitors could damage national security and even threaten the U.S. war effort in Afghanistan.

He later acknowledged that some Microsoft code was so flawed it could not be safely disclosed.” (Emphasis added.) The follow up from Microsoft is even better: As a result of the flaws, Microsoft has asked the court to allow a “national security” carve-out from the requirement that any code or API’s be made public. Microsoft has therefore taken the position that their code is so bad that it must kept secret to keep people from being killed by it. Windows – the Pinto of the 21st century.”

Comments (0)

PHPkitchen’s CVS Tutorial

Posted on 20 May 2002 by Demian Turner

This article will show you how to set up a CVS client on a Windows machine that communicates with a CVS server on a Linux box. The tutorial was inspired by the plethora of misleading, unclear and incomplete CVS-related information on the web. Also, considering you need to install 4 apps to achieve the above objective the subject is necessarily complex. Let me know what you think.

Comments (4)

A Human Touch for Machines

Posted on 20 May 2002 by Demian Turner

The radical movement of affective computing is turning the field of artificial intelligence upside down by adding emotion to the equation.

Comments (0)

Object-Oriented Programming Concepts

Posted on 19 May 2002 by Demian Turner

A good primer from Sun
If you’ve never used an object-oriented language before, you need to understand the underlying concepts before you begin writing code. You need to understand what an object is, what a class is, how objects and classes are related, and how objects communicate by using messages. The first few sections of this trail describe the concepts behind object-oriented programming. The last section shows how these concepts translate into code.

Comments (0)

Getting a file extension

Posted on 18 May 2002 by Demian Turner

Getting a file extension is simple with this code snippet:

$ext = substr($str,strrpos($str,’.’));

Comments (7)

Create High Quality Graphs with Jpgraph

Posted on 18 May 2002 by Demian Turner

If you haven’t already heard, advanced dynamic graphing features are now available to PHP thanks to Jpgraph .  This fantastic graphing library offers:

  • a very user-friendly API
  • completely OO code structure
  • easy installation
  • extensive graphing types
  • see a working example list here
  • try the tutorial on Zend

The latest version (1.6.3 at the time of writing) installed without a hitch on my system, download it and give it a try if you want to be able to create dynamic graphs for your site’s data.

nb: note the following requirements:

  • you must have at least PHP 4.02 installed
  • code released under QPL 1.0 (Qt Free Licensee) , free for non-commercial use only
  • requires GD library 1.6.2 or higher

nb 2003-01: examples now work again, brief downtime due to server switchover

Comments (2)

Monkey brain operates machine

Posted on 18 May 2002 by Demian Turner

This story was featured some time ago on the BBC news site …

Scientists have used the brain signals from a monkey to drive a robotic arm.
As the animal stuck out its hand to pick up some food off a tray, an artificial neural system linked into the animal’s head mimicked the activity in the mechanical limb

Comments (0)

PHP 4.2.1 released

Posted on 16 May 2002 by Demian Turner

The PHP Group is happy to announce the immediate availability of PHP 4.2.1, the latest version of the widely-used, general-purpose scripting language that is especially well-suited for Web development.

This latest release contains several bug fixes as found in PHP 4.2.0. These include fixes for the session, com and mbstring extensions, as well as a major upgrade of the DomXML extension. Also a few extra checks for safe_mode were added. For more information, see the PHP 4.2.1 release announcement.

Comments (0)

Homepages most valuable real estate in the world

Posted on 16 May 2002 by Demian Turner

A company’s homepage is its face to the world and the starting point for most user visits. Improving your homepage multiplies the entire website’s business value, so following key guidelines for homepage usability is well worth the investment.

Comments (0)

Categories

Books

Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists

Facebook