using regular expressions

Get links with XPath - PHP in Action

Planet PHP  Mon, 10/06/2008 - 14:53

There's a tutorial that appeared recently called Get Links With DOM.

Planet PHP lists the author as Kevin Waterson, although his name is not mentioned on the page itself. Anyway, he claims:



 

PHPPro.org: SQL Intro, Reciprocal Links & Finding Links with DOM

PHPDeveloper.org  Mon, 10/06/2008 - 12:09

Kevin Waterson has added three new tutorials to his PHPPro.org website recently:



 

Get Links With DOM - Kevin Waterson

Planet PHP  Fri, 10/03/2008 - 20:24

Perhaps the biggest mistake people make when trying to get URLs or link text from a web page is trying to do it using regular expressions.

The job can be done with regular expressions, however, there is a high overhead in having preg loop over the entire document many times.

The correct way, and the faster, and infinitely cooler ways is to use DOM.



 

Processing.js

Lambda the Ultimate - Programming Languages Weblog  Sat, 05/17/2008 - 20:13

John Resig (of jQuery fame) has ported the Processing visualization language to JavaScript.

The examples are remarkable, check them out (but check the browser issues John discusses).

John has a little confession:

The first portion of the project was writing a parser to dynamically convert code written in the Processing language, to JavaScript.



 

PHP in Action Blog: Tips for web testing

PHPDeveloper.org  Wed, 02/13/2008 - 08:09

On the PHP in Action Blog, there's a new post today that shares some tips for testing your web applications with some simple tests.

I just started listing the techniques I've learned when writing tests to exercise the web interface of a PHP application.

This is from my experience and my personal preferences; it's not the final word or necessarily right for everyone.

He suggests: