 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Aaron Wormus' Blog: Interoperability is Overrated
by Chris Cornutt February 14, 2007 @ 07:19:00
Despite opinions from some of the PHP community, interoperability between PHP applications isn't is such a bad state - at least According to Aaron Wormus:
The fact of the matter is that it's not such a big deal. Porting a plugin from Wordpress to Serendipity is usually trivial, and as we see more web-services based plugins (stuff like the awesome askimet) the task becomes simpler and simpler.
Interoperability is overrated, the more you think of it the more complex it gets. As you start throwing in new factors into the equation (how will this interoperate with a java/c# application) you start to develop monsters like JSR 170 which solve a lot of problems on paper, but in reality are too unwieldy to be truly useful.
He even lists out some of his "steps to interoperability" to help speed things along (like "use as much abstract code as possible" and "use services").
voice your opinion now!
interoperability overrated abstract libraries glue services interoperability overrated abstract libraries glue services
RelativeSanity.com: The Problem with PHP
by Chris Cornutt June 14, 2006 @ 05:39:32
In this new post on RelativeSanity.com today, J Barrett talks about "the problem with PHP", specifically that its "sucks" because PHP itself is a sort of framework started on top of a series of Perl libraries.
I've been meaning to comment on Snook's article for a while, but to be honest I wasn't sure what I wanted to say. Coming at it (at the time I first read it) from the newfound point-of-view that frameworks were the new greatest thing, it was a little bitter to swallow, but I found that I couldn't disagree with most of what he was saying.
As I've often found, the key to resolving two apparently exclusive hypotheses (frameworks suck vs. frameworks rock) that you also happen to agree with equally, is to form a third hypothesis that distills down the key points of both, and discards the semantic fluff that makes the original two seem incompatible.
He comments, using this blog post from snook.ca as a starting point, about the main reason frameworks "suck" - they're like learning a whole other language. He notes that PHP (and its frameworks) are so popular because of its low entry barrier, but that doesn't mean it's a good thing in the long run.
Rails is a framework. PHP is a bunch of bricks.
voice your opinion now!
php problem framework language rails libraries php problem framework language rails libraries
Bshensky's LiveJournal: Oracle Support without a Recompile
by Chris Cornutt June 07, 2006 @ 06:07:57
One struggle seems to come up over and over again for several PHP developers out there - Oracle issues. Newsgroups and message boards are filled with questions and, sometimes, a few answers. bshensky is one such user - but one that found a way to get the PEAR DB package to connect to Oracle simply and without the usual recompile it would take to get the Oracle drivers successfully installed.
I have spent a dog's age researching how to get my local PHP install to talk to Oracle using PEAR and the OCI8 client stack on my Fedora Core 4 server. I eventually came to the conclusion that it was just not possible to get OCI8 to work with a RPM(binary)-install of PHP, and I looked toward other means of getting "Web access" to Oracle using different means.
Today, I found an interesting document on the Oracle Web site that allegedly details how to get the new PECL PDO database drivers for Oracle running on PHP 5 (luckily, I run PHP 5 on my FC4 box).
The document claimed that you could use PDO to load a database driver on the fly without the need for a recompile. All bshensky saw left to do was getting PDO installed (via PEAR) and getting it to pick up on the Oracle libraryes to help make the connection. A few quick commands and environment variables later, he had a complete and working PHP install with Oracle functionality called on the fly.
voice your opinion now!
php oracle support libraries pdo recompile pear pecl php oracle support libraries pdo recompile pear pecl
Wez Furlong's Blog: Extending PHP
by Chris Cornutt May 08, 2006 @ 05:56:13
In a new post on his blog, Wez Furlong shares some of the materials from a presentation he gave at the PHP Con West back in 2003 on the topic of "Extending PHP".
While poking around the disks in my linux box, I found my materials for a session on extending PHP that I originally gave as a 3 hour tutorial at PHP{Con West 2003.
Sadly, I seem to have lost the working C code (libares bindings for PHP), but all the relevant parts can be found in the comprehensive PDF I made from the slides: Extending PHP Slides (PDF). The content is based on PHP 4, but should still be applicable to PHP 5.
The talk [PDF] covers the creation of a sample DNS resolving library to extend the functionality already in PHP, and includes some of the code examples (in PHP) to show how it all works. This is followed by the C code to build the extension, defining each of the functions, and geting it up and running.
voice your opinion now!
php extension talk conference presentation C libraries php extension talk conference presentation C libraries
|
Community Events
Don't see your event here? Let us know!
|