“ColorChip: Easy Color Manipulation with PHP”:http://andy.greyledge.net/ColorChip/” - fun to play with - I could think of a couple of uses, but shame it’s GPL.
Entries Tagged 'PHP' ↓
ColorChip class in PHP
August 17th, 2003 — PHP
Coding an artificial neural network (ANN) in PHP
August 17th, 2003 — PHP
From FreeBSD.MU: “Coding an artificial neural network (ANN) in PHP”:http://freebsd.mu/freebsd/archives/000039.html
Only skimmed it, but looks interesting, and is something I was trying to get to grips with a couple of months ago.
Fusebox resources
August 8th, 2003 — PHP
I’d written off Fusebox before, but now PHP coders seem determined to make PHP emulate CF(Cold Fusion) I’m coming back to give it another look.
“Fusebox Web Application Standard”:http://www.fusebox.org/ - The ‘daddy’ site for Fusebox
“Fusebox for PHP”:http://php-fusebox.sourceforge.net/ - The PHP library for doing Fusebox
“PHP Fusebox Tutorial in Powerpoint”:http://www.cllrnet.ca/sdg/PHP_Fusebox_Tutorial.ppt - Useful slideshow.
“bombusbee”:http://bombusbee.com/ - From its description: ‘bombusbee.com is devoted to the support and development of Fusebox for PHP.’
It still seems a very strange concept. I understand routing all requests through one file, but why the need to talk about fuses and suchlike? Surely there’s a less abstract illustration that could be used.
I also don’t like the naming conventions used for the files, but I know that’s a personal preference.
PHP resources involving lexers
August 8th, 2003 — PHP
Interesting “thread”:http://www.sitepointforums.com/showthread.php?threadid=121246 on SitePoint about replacing HTMLSax’s parser with a lexer, and the speed increase gained. Can’t say I understood much of the code!
“SimpleTest”:http://www.lastcraft.com/simple_test.php, a PHP unit testing tool. I found it because it also contains a lexer and is mentioned in the above thread.
“WACT”:http://wact.sourceforge.net/ - the Web Application Component Toolkit. Looks like yet another framwork, but somewhere inside it is a lexer. Again, found through the SitePoint thread.
I did start reading O’Reilley’s book on Lex and Yacc a 5 months ago with the aim of using the knowledge gained in a PHP template engine (as it should be more efficient than regular expressions), but exams got in the way and I never got past the first chapter. And now others have got the same idea and are implementing it instead of me. Well, I guess it saves me some work, even if they, instead of me, get known for having the idea ![]()
Roll on PHP5!
I’ve started modifying “Simon Willison’s form class”:http://simon.incutio.com/archive/2003/06/17/theHolyGrail today - I’d been thinking about doing something along these lines for a long time, but hadn’t ever got started on it. Existing code has got me past that stage, and so I should have something working within the next year (!). I’ve planned out exactly what I want it to do and how it should behave (plans all in my head at the moment, not got round to writing it down) but whether I can implement it remains to be seen (like as not I’ll lose patience before I’ve finished).
Looking at the code though made me wish for PHP5 and the SimpleXML extension, which is going to be a great help (as an aside, I like to claim that I indirectly brought this extension about - I posted the link to “Native XML Scripting”:http://dev2dev.bea.com/articlesnews/discussion/thread.jsp?thread=JSchneider_XML before anyone else did - as a comment to a post either in “Simon Willison’s weblog”:http://simon.incutio.com or over at “PHPEverywhere”:http://php.weblogs.com, and I believe Sam Ruby picked it up from there. Only I can’t find that comment now…). The current SAX approach is OK, but you can’t argue that it’s intuitive, and it needs too much code writing to do a simple job.
Oh, and I’ll get round to finishing this site design one day soon…