[PHP] Re: Final Year Computer Science Project involving PHP

2002-07-12 Thread Garland Foster
Hi Serdar, Let me check my bag of "sadly archived" projects mmmhyes I have a good idea for an "A" project: A RELAX NG validator for PHP. You can base your work on "Jing", a RNG validator in Java. The advantages are clear a) 100% feasible (if everything fails just watch how Jing do

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Garland Foster
" returned a normal "x" or an exception object... Alberto Serra wrote: > ðÒÉ×ÅÔ! > > Garland Foster wrote: > >> Hi All, >> >> I'm porting Java Code to PHP, my question is: What is the best >> approach to emulate Java exceptions in PHP4? (I

[PHP] Emulating Java Exceptions

2002-07-12 Thread Garland Foster
Hi All, I'm porting Java Code to PHP, my question is: What is the best approach to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I can't wait). When a Java method "throws" an exception it is difficult to handle as a "return" of an exception object since then I'd have to che

[PHP] Announce: phpxmlclasses v 1.10

2002-07-08 Thread Garland Foster
Hi all, http://phpxmlclasses.sourceforge.net/ I wanted to announce a new version of the phpxmlclasses package. In this version I added an implementation of the RDQL language to query RDF documents from local files or URLs. Up to now the repository has the following classes: XSLT: a wrapper for

[PHP] flip function

2002-07-07 Thread Garland Foster
Hi all, Call me crazy if you want but I'm programming Haskell Code in PHP :-). I need some help to find a way to implement the Haskell flip function. Let me introduce flip: Flip receives two arguments: arg1 and arg2 arg1 must be the name of a function taking two arguments, name it f(x1,x2) arg