Archive | September, 2003

PHP vs. the World

Posted on 22 September 2003 by Demian Turner

Thanks to Zend for  pointing out another PHP shootout over at Slashdot, as always there are some quite interesting comments buried in the 15k word summary 😉

Comments (0)

IMDBPhotos v0.1

Posted on 22 September 2003 by Demian Turner

IMDBPhotos is a PHP Class that will download for you a movie’s poster and all images from www.imdb.com. Get the sources here.

Comments (0)

Java is the SUV of programming tools

Posted on 21 September 2003 by Demian Turner

thanks to Jeremy for picking this up

Our students this semester in Software Engineering for Internet Applications have divided themselves into roughly three groups:

  • One third has chosen to use Microsoft .NET, building pages in C#/ASP.NET connecting to SQL Server
  • One third has chosen to use scripting languages such as PHP connecting to PostgreSQL and sometimes Oracle
  • The final third, which seems to be struggling the most, is using Java Server Pages (JSP) with Oracle on Linux

After researching how to do bind variables in Java, which turns out to be much harder and more error-prone than in 20-year-old C interfaces to relational databases, I had an epiphany:  Java is the SUV of programming tools.

A project done in Java will cost 5 times as much, take twice as long, and be harder to maintain than a project done in a scripting language such as PHP or Perl. 

Comments (0)

RSS Feeds Improved

Posted on 18 September 2003 by Demian Turner

hi

funny you should mention, i just updated geeklog\’s incorrectly setup rss exporter the other day, but hadn\’t uploaded it. this is now fixed, if you\’re using a reader like Feed Demon check out the ascii art story 🙂

cheers

demian

perturbed reader wrote:

> Hi, There
>
> Regarding to link http://www.haltebis.com/wakka/rss/phpRss
> Can you make your RSS Feeder more informative please
>
>
> Regards

Comments (0)

All Roads Lead to My Aggregator

Posted on 15 September 2003 by Demian Turner

Whenever I want to find out the latest cool gadget, gizmo or technology, I can always be sure of finding it over at Russell’s site.  And seeing how he’s mentioned his pageviews have shot up to 10k/day, I guess I’m not the only one 😉 Russell has a refreshing view on most things tech, and while I don’t agree with everything he says, nor am I crazy about mobile devices, he puts out some really funny stuff about being a foreigner in Spain, something all too familiar.

Last week he had a piece on a new feed aggregator called Feed Demon, I’ve been meaning to try one of these out for ages but have only just got around to it.

Comments (0)

Luminaries at PHP-con West 2003

Posted on 15 September 2003 by Demian Turner

Why is php-con the destination of choice for PHP and web developers? Because php-con is about three things: Community. Code. Solutions.

php-con West continues its tradition of great speakers, cogent topics, and community enrichment. Join Keynote Speakers Zeev Suraski, Sterling Hughes, and Thies Arntzen as they discuss new developments in the Zend Engine, examine the future of PHP, and unveil an innovative new project.

Comments (0)

PHP and Neural Nets

Posted on 12 September 2003 by Demian Turner

Thanks to PHPdeveloper for pointing out this great article.

An artificial neural network is a model of the organic brain. It attempts to reproduce the interactions between the neurons in the brain during the learning and thinking process. It works by applying mathematical formulae obtained from medical studies of how the actual brain works.

There are several different types of ANNs. This implementation will model the feed-forward, multi-layer neural network. An ANN learns in the same way as the natural brain, that is, by reinforcing the connections between neurons. Several learning (or training) algorithms have been devised.

Comments (0)

MozPHP – Look Ma, No Webserver!

Posted on 11 September 2003 by Demian Turner

MozPHP is a Mozilla PHP integration package. With MozPHP you can execute PHP scripts in Mozilla directly without the need for a local HTTP server.

MozPHP may for example be useful for you if you want to create an application which is available online on the Web as well as on some offline distribution media like CD-ROM or DVD.

Comments (0)

PHP ASCII Art

Posted on 05 September 2003 by Demian Turner


+++++::::::::::::::::::::::::::::::::::::+::+:::+::*::++::::::::::::::::::::++++++++++++++++++++++++
+++++++::::::::::::::::::::::::::::::::::+@WW++*+**WWWWW@*++::::::::::::::++++++++++++++++++++++++**
+++++++++::::::::::::::::::::::::::+:+++#@@@WW####WWWWWWWW@*+++::::::::::++++++++++++++++++++++++***
++++++++:+::::::::::::::::::::::::*:*++@WW@@@WWWWWWWWWWWWWWW#+::::::::::+:+++++++++++++++++++++++***
++++++++++++::::::::::::::::::::::#*+*@W@WWWWWWWWWWWWWWWWWWWWW@+++++::+:++++++++++++++++++++++++++**
++++++++++++:::::::::::::::::::::+@W@WWWWWWWWWWWWWWWWWWWWWWWWWW##*+::++:::++++++++++++++++++++++++**
+++++++++++:::::::::::::::::::::++#*W@WWW@@@WWWWWWWWWWWWWWWWWWWWWW#*#+++:++++++++++++++++++++++++++*
+++++++++++::::::::::::::::::::*:#+#@WW@**@WWWWWWWWWWWW+..##WWWWWWW@#++++++++++++++++++++++++++++++*
++++++++++++:::::::::::::::::::*++:+W@@W@WW@WWWWWWWW@+…….*WWWWWW@#++*++++++++++++++++++++++++++*
+++++++++++:::::::::::::::::::::#::#+@WWWWW@WWWWWW@::………:@WWWWWW@*#+*+++++++++++++++++++++++++
++++++++++:+:::::::::::::::::::+:*++*WWWWWWW@WWWW*::…,,,,,,…@WWWWWW@*@#*++++++++++++++++++++++++
+++++++++++::::::::::::::::::##+:::+*@@WWWWW+@WW*+:….,,,,,,,..:WWWWWWW#@#*++:+++++++++++++++++++++
++++++++++:::::::::::::::::::**@#:+*@WWWWWWW#*W@*:….,,,,,,,,,..+WWWWWWW*@@#+++++++++++++++++++++++
+++++++++:::::::::::::::::::::++*###WWWWWWWWWWW*+++:,,,,,,,,,,,..:@WWWWWW@@@@+++++++++++++++++++++++
+++++++++:::::::::::::::::::::*#*#WWWWWWWWWWWW#+.,,,#.,,,,,,,,,..:#WWWWWWWW@#+++++++++++++++++++++++
++++++++:::::::::::::::::::::+*+:@WWWWWW@W@WWW::::..,++,,,,,,,,..:+WWWWWWWW@@@*++:++++++++++++++++++
++++++++::::::::::::::::::::::+**WWWWWWWW#:@W+.+*#+.,.:,,,,,,,,..:+WWWWWWWWW@W@++:++++++++++++++++++
+++++++::::::::::::::::::::::::@+WWWWWWWWWWW*.,+WW#::…,,,,,,,..:+WWWWWWWWWWW@+:+::+:++++++++++++++
+++++:::::::::::::::::::::::+#WW@WWWWWWWWWW@+.,.W+WW+..,,,,,.,…:*WWWWWWWWWWW@*::::++++++++++++++++
++:++::::::::::::::::::::::#*W@@WW*WWWW@@@W#:.,..**:#…,..:+#:..:#WWWWWWWWWWW#+::::::++++++++++++++
++::::::::::::::::::::+:::*+@:WWWW#WWWW@.#W#:.,,,,..,.:..+:::.:*.:@WWWWWWWWWWW*+:::::::+++++++++++++
+::::::::::::::::::::+:*###@*@WWWWWWWWWW.@#*:..,,,….:.:+….,,*+WWWWWWWWWWW*#+::::::::++++++++++++
+:::::::::::::::::::::::+.**#@WWWWWWWWW#+*@*::..,,..::::*:++.+:.+#WWWWWWWWWW@@@:::::::::::++++++++++
+::::::::::::::::::::::.:@@+#:@WWWWWWWW+**@++:..,,,::..:*,.@W@@++WWWWWWW@WWW@+@+:::::::::::+++++++++
::::::::::::::::::::::::*@::+*@WWWWWWWW#.:#+::..,,.+*..++..*#WW#@WWWWWWWW@WWW#:+::::::::::::++++++++
:::::::::::::::::::::::*W*:@WWWWWWWWWWWW**+::..,,..:++**:.,.*WW+@WWWWWWWWWWWWW+:::::::::::::++:+++++
::::::::::::::::::::+#+*:.####WWWWWWWWWWW#+:………+@*……::@WWWWWWWWWWWWW@W::::::::::::::++++++
::::::::::::::::::::++#::.W#+#WWWWWWWWWWW*:……::.,+*@…….:WWWWWWW@WWWWWW@@:::#:::::::::::+::++
::::::::::::::::::+.*:::#@@*+WWWWWWWWWWWW+:….*@W*:.+:…….:#WWWWWWWW@WWWWW+#:::#:::::::::::::+:+
::::::::::::::::::::+:::.#@#@@WWWWWWWWWWW+:…:@W:@W#*:..:::::*WWWWWWWW*@WWWW@#::::#:::::::::::::::+
::::::::::::::::::.:::….WWW@WWWWWWWWWWW+:….***.:WW:::::++*WWWWWWWWWW@WWWW*@**@*:::::::::::::::::
:::::::::::::::::.::::::#WWWWWWWWWWWWWWWW+:….:#++#WW::::++#WWWWWWWW@WW@WWW@:++::::::::::::::::::::
::::::::::::::::.:.::::**+:WWWWWWWWWWWWWW#…..:+@##@#:::++*@W#@WWWWW@WWWWWW@*::+:::::::::::::::::::
:::::::::::::::::.:.::W@@WWWWW#+WWWWWWWWWW:….,.::**.::++*@W*+WWWWWWW+#WWWW@*#:+:::::::::::::::::::
::::::::::::::……:W@++#WWW@@WWWWWWWWWWW@…,,..:::::++*@WWWWWWWWWWWWW@@WWW**#++::::::::::::::::::
:::::::::::::::++:+.W#.:.+:+#WWWWWWWWWWWWWW*.,,,..::::++*#WWWWWWWWWWWWWWWWWWWW#@#:::::::::::::::::::
::::::::::::::::::.:W.:::+:+WWWWWWWWWWWW@WWW*.,,..:::++*#WWWWWWWWWWWWWWWWWWWWW*#@+::::::::::::::::::
::::::::::::::::::::W*::::**WWWWWWWWWWWW@@WWW@:.::++++*@WWWWWWWWWWWWWWWWWWWWWW@:*W::::::::::::::::::
:::::::::::::::::::.WW.:*::W+WWWWWWWWWWW@@WWWWWW#*###@@WWWWWWWWWWWWWWWWWWWWWWW@+@*::::::::::::::::::
:::::::::::::::::::.#+:+::+:*#WWWWWWWWWW@@WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW*:::::::::::::::::::::
::::::::::::::::::.:..+:::.+@*@@WWWWWWWW#@W###@WWWWW@##@WWWWWWWWWWWWWWWWWWWWWW+:::::::::::::::::::::
:::::::::::::::::::::::+:+::W@#@WWWWWWWW#@@*+*******++**WWWWWWWWWWWWWWW@WWWWWW#+::::::::::::::::::::
:::::::::::::::::::::.:.:.::W@@@@WWWWWWW@##+++++++++:::*WWWWWWWWWWWWWWWWWWWWW+:+*:::::::::::::::::::
:::::::::::::::::::::::..:::*W@#WWWWWWWW@#*::::::::…:*+++#WWWWWWWWWWWWWWWW#W#+:+::::::::::::::::::
:::::::::::::::::::::::::.:::#W#@WWWWWWW@#+:……….:+::::*WWWWWWWWWWWWWWW**@@*:::::::::::::::::::
:::::::::::::::::::::::::::::*+WWWWWWWWW@#+:…….,..:….::+@WWWWWWWWWWWW@::::::::::::::::::::::::
::::::::::::::::::::::::.:::..@WWWWWWWWWW#+:……,,.::…..::+#WWWWWWWWWWWWW:::::::::::::::::::::::
::::::::::::::::::::::::.:.:…#WWWWWWWWW#+::……..:…….::+#WWWWWWWWWWW#:+#+:::::::::::::::::::
:::::::::::::::::::::::::.:.:..WWWWWW@*WW**:::……:..,,,…..:+#WWWWWWWWWWW@@#::::::::::::::::::::
::::::::::::::::::::::::::::…WWWW##+*WW+++:::………,…..,.++@WWW@WWW@WW+::::::::::::::::::::::
::::::::::::::::::::::::::….*WWW#+@:*#@+:++:::…………,#WWWWWWWWWWWWWW@:::::::::::::::::::::::
:::::::::::::::::::::::::::.::W@@W**@++*@:::+::::……….:WW*+++*@WWWWWWWW@:::::::::::::::::::::::
:::::::::::::::::::::::::::..W:+WW**@*++#::::…..,…::..*W+:::::+*@WWWWWW#W:::::::::::::::::::::::
:::::::::::::::::::::::::::.@@..W@*#@*+:+.::……..:….+W+….:::+*@WWWWW#W+::::::::::::::::::::::
::::::::::::::::::::::::::::W.:.W@####+.:::….:………W@:……::+#WWWWWWW:::::::::::::::::::::::
::::::::::::::::::::::::::.W+::.W#*###+..:::.::::….::.WW+::……:+*@WWWWWWW+:::::::::::::::::::::
::::::::::::::::::::::::::*#:::+@*+**#+:::::::::::.:::+#W@::::..,..::+*WWWWWW+::::::::::::::::::::::
::::::::::+…:::::+:::::.W..:.@#+++**+::::::::……:*WW+::::..,,..:+*@WW@W@:::::::::::::::::::::::
::::::::::*,#..:+*:+:.:::#.:::.W*+++++::::::::…….:WWW:::::.,,,,..:+@W@@W+:::::::::::::::::::::::
::::::::::+,*,+*+….,*.++:::::#+::++++:::::::…….*WW*::+::.,,,,..:+@WW+@::::::::::::::::::::::::
:::::::::::.**.+,,,::,,*@.::::#*+::::++:::::::…….WWW::+++:.,,,,..:+#WW@*::::::::::::::::::::::::
::::::::::::*#+..#@#+*,.:::::.W+:::::++:::::::……+W@@::+++:..,,,..:+#WW#@::::::::::::::::::::::::
::::::::::::*++,#WWW*@.,.*:::+#+:…::::::::::……W*W*::+*+:…….:+*WW:@::::::::::::::::::::::::
:::::::::::::W+:WWW+..W.++::.W+::….:::::::::…..:W+W:::++*+:……:+*WW*+::::::::::::::::::::::::
:::::::::::::*@+W@**..:@*:.::@::…..:::::::::…,,@,W@.:::+++::….::+*@W@:::::::::::::::::::::::::
::::::::::::::+@#**+:.:WW+..#+:…,,,.:++::::….,.*.W+..::+++::….:::+@W@:::::::::::::::::::::::::
:::::::::::::::#@**+:::@WWW@@::..,,,,.:+++::….,,W,#W:..::+++::….:::+@WW.::::::::::::::::::::::::
::::::::::::::::@@*+:::WWWWW*:…,,,,,.+*+:…,,,+#,W@…:++++:::…:::+#@W:::::::::::::::::::::::::
:::::::::::::::::W@*::@WWWWW+:..,,,,,,.+*+:…,,,W,,W*….**++:::..::::+#@W:::::::::::::::::::::::::
::::::::::::::::::WW@@W@WWWW+..,,,,,,,.+*::…,,@#,#W*….:@*+:::::::::+#@W:::::::::::::::::::::::::
:::::::::::::::::::*WWW@WWWW+..,,,,,,,,*+:…,,+W:,WW#…..@#*+::::::::+*@W+::::::::::::::::::::::::
:::::::::::::::::::::*WWWWWW#..,,,,,,,,+:…,,+WWW@WWW:….+W*++::::::++*#W+::::::::::::::::::::::::
:::::::::::::::::::::::+WWWWW+..,,,,,,,:…,,@WWWWWWWW*:…:W@*+:::::::+*@W+::::::::::::::::::::::::
:::::::::::::::::::::::::+WWWW*.,,,,,,.:.,.#WWWWWWWWWWW::.::WW*+:::::::+*#W+::::::::::::::::::::::::
::::::::::::::::::::::::::WWWWWW@*.,,,++#WWWWWWWWWWWWWW@+:::@W#+::::::++*#W+::::::::::::::::::::::::
::::::::::::::::::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW@@@W@+::::::++*#W+::::::::::::::::::::::::
::::::::::::::::::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW@+::::::++*#W+::::::::::::::::::::::::
::::::::::::::::::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWW*::::::++*#W*::::::::::::::::::::::::
::::::::::::::::::::::::::#WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW*+:::::++*#W*::::::::::::::::::::::::
::::::::::::::::::::::::::+WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW#+:..::++*#W*::::::::::::::::::::::::
:::::::::::::::::::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW@+::.:::+**W*::::::::::::::::::::::::
::::::::::::::::::::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW+::::::++*@+::::::::::::::::::::::::
:::::::::::::::::++::::::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW*::::::+**@+::::::::::::::::::::::::
:::::::::::+:::::::::+++::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW*+:::::+**W+::::::::::::::::::::::::
:::::::+:::::::+++:+++:++::::::#WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW#+:::::+**@+::::::::::::::::::::::::
::::::::+:::++:++++++++++++::::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW#+:::::++*@*::::::::::::::::::::::::
::::::::::::+++++++++++++++++:::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW#+::::::+*@*::::::::::::::::::::::::
::::::::+++:+:++++++++++++++++:::::WWWWWWWWWWWWWWWWWWWWWWWWWWWWW#+::.:::+*@*::::::::::::::::::::::::


’nuff said 😉

Comments (0)

Manage Config Files with PEAR::Config

Posted on 05 September 2003 by Demian Turner

I don’t hear people raving about Devshed like they should be.  These people consistently put out high quality tutorials and, luckily for us, looks like they now have a penchant for PEAR 🙂

Tired of writing (and rewriting) code to manage your application’s configuration variables? Take a look at the PEAR Config class, a PHP toolkit designed specifically for manipulating configuration files and the data within them. This article demonstrates using the Config class to read and write configuration files in XML, PHP and INI formats, and use built-in methods to easily build Web-based application configuration modules.

Comments (3)

Categories

Books

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

Facebook