Rob Richards' Blog: Book Review: PHP Oracle Web Development
86837
Rob Richards has posted his own review of the Packt Publishing book "PHP Oracle Web Development" to his blog today.   Overrall I would have to say that PHP Oracle Web Development is a good book for a PHP developer needing to get up to speed quickly working with an Oracle database. [...] The only place I found the book lacking was the initial setup of the environment.   The environment they chose to go with was a Windows setup which caused him problem when he tried to compile with the oci8 extensions - libraries weren't found where they were needed. His solution? Setting his ORACLE_HOME to the right location then all was well.
437702
Christopher Jones has a note on his blog today about the Orcale Develop Conference happening in San Francisco October 23rd through the 25th and some of the PHP involvement there.    First on my ToDo list is Oracle's user conference. PHP is well represented at Oracle Develop. This is a new part of the huge Oracle OpenWorld event running in San Francisco in a few weeks.   Registrations are still open for Oracle Develop. You can register separately or if you register for the full OpenWorld you get the Develop conference gratis, I was told.  Check the fine print on this.    Talks for the conference include:  Rasmus Lerdorf's "Getting Rich with PHP" "Hands-on Lab: Developing and Deploying Oracle and PHP" from a representative from Oracle and Christopher Jones giving a talk on "The PHP/Oracle Experience: Building for Scalability"    Check out the conference website for more information and to register today.
20940
As mentioned on the Zend Developer Zone, Jaybill McCarthy has written up a Blog post about ten of the PHP myths that are common on the web and the facts that dismiss them.   I am a PHP developer. Maybe even a halfway decent one. As such, I often find myself engaged in conversations on the subject of web application development in general and PHP in particular. I am continually flustered by the myths, half-truths and outright falsehoods that technical and non-technical people alike hold about this humble programming language.   Some of the points included in his "top ten" list are things like "PHP Encourages Sloppy Code", "PHP is slow because itÃ¢ÂÂs interpreted" and "PHP apps all look the same".
539271
Terry Chay, a popular speaker at many of the PHP conferences and photog to the geek chic crowd in San Francisco, will be speaking at the upcoming PHP Meetup for the SF PHP group. He'll be giving a talk titled "OOps! The PHP Fear and Loathing Guide to OO Design".   How does the PHP developer in the trenches create powerful object-orientation code? By doing what the PHP's architects did, of course: cherry picking the most pragmatic of OOP principles and patterns! This talk is targeted at the PHP developer who has basic knowledge of PHP OOP syntax but wants to find out where OOP principles can fit into a program.   If you'd like to attend, head over to the meetup page for the event and let them know you're coming. It'll be happening at the CNet Network offices February 7th @ 7pm.
392669
Open source is wonderful. Everything is so open, warts and all. Roshan Naik complains about the state of PHP:
45632
Matthew Turland has posted some of his thoughts about a topic that's being tossed around in the programming world these days - that PHP is "on its way out".   I have to vehemently disagree with this, and not just because PHP is my language of preference.   He gives several reasons to back up the claim including the fact that large players use the language in high-profile sites as well as the recent upturn of popularity the language has seen (as people come back from the over-hyped other languages).   He mentions collaborations between PHP companies/divisions as well as components made to more efficiently run PHP applications on other web server types.
473286
From a new PHPComplete.com entry: I have just discovered my new best friend. Addison-Wesley's Bruce Peren's Open Source Series is releasing a new book in late October, and I was sent a draft manuscript copy (basically, it's a large version of the book, though not in a finished format). I feel that I am a fairly experienced PHP programmer, and that I am capable at most tasks. However, I am still keenly aware that there is much more that I can learn about PHP. [...] And for the longest time, I was aprehensive about picking up any book simply because I didn't feel like it was going to be worth it.
248750
This is a followup on Marco Tablini's discussion of the PHP programmer availablity and my earlier attempt at defining enterprise PHP.
457664
In this post on the Zend Developer Zone, Cal Evans takes a look at an article published in a recent php|architect issue from Chris Hartjes about how several recent advancements in the PHP community have helped developers think more in "the Rails way" of development.   Chris does a good job of laying out his points. As with any article of this nature, you are going to agree with some of them and you'll disagree with some of them. However, to get to that point you'll have to consider all of them. That's really the point of the article; making developer sit back and think for a minute. It's well worth the read.   Cal also mentions some of the topics presented in the article including more conceptual ideas like "Convention Over Configuration" and "Rapid Should Mean Rapid".
181316
From the Oracle Technology Network website, there's a new tutorial in the Oracle+PHP Cookbook series that focuses on using PHP and Oracle together with Ajax to create a simple HTML form example.   In this recipe, I discuss all the code necessary to use Ajax to go from a simple Web page to a JavaScript function to an XMLHttpRequest to a PHP script and, finally, to an Oracle database. Along with the code, I do talk about the individual pieces with respect to the whole picture: what each chunk does and why it's important. By reading this HowTo, you will acquire not only some sample code but also, hopefully, a broader understanding of the whole Ajax concept.   They step through the creation of the background database tables, including the insertion of some sample data. Next up is the creation of the query to run our check, then testing the script to ensure things are set up as they need to be, and finally, creating the front-end - writing the HTML and Javascript to make the form.    The end result is a simple form that, when the contents of the text field are changed, a message is sent back to the server to check and see if the email address entered already exists.
190663
Joshua Eichorn points out an interesting project in a new post to his blog today - quercus.   I found an interesting project, quercus that compiles PHP to Java Bytecode allowing it to run ontop of the Java Resin Application Server. It has a couple neat features, one being PHP6 compatible unicode support, the other being easy integration between Java and PHP code.   He gave it a shot and notes that the performance seems decent and allows you to compensate for some of the differences in the PHP API it supports and what you're using via a Java class. According to their site:   Quercus is Caucho Technology's 100% Java implementation of PHP 5 released under the Open Source GPL license. Quercus comes with many PHP modules and extensions like PDF, PDO, MySQL, and JSON. Quercus allows for tight integration of Java services with PHP scripts, so using PHP with JMS or Grails is a quick and painless endeavor.   It includes several extensions too, including the JSON library, APC, MySQL and Oracle support, and PDF functionality. Check out their Getting Started guide, documentation, or their wiki for more information.
582158
Michael Kimsal points out the posting of the latest part of his "Grails for PHP developers" series to his blog site - Part Five of the series.   I've put up the latest installment in my "Grails for PHP developers".  Rather than delve too much more in to Grails head on, I'm taking this installment (and at least the next one) to delve more in to the Groovy language itself.  Groovy offers similarities to PHP, but also many differences which can trip you up if you're not careful.  I'll try to lay those out as best I can in the next couple of installments.   This new part of the series goes back and puts the spotlight on GRoovy, the base of the Groovy/Grails combo. He talks about working with variables and arrays as containers for multiple pieces of data and some possible gotchas that could come up along the way.
624249
On the Zend Developer Zone, there's a new post pointing to the second part of their look at the Manning Publishing book "PHP in Action".   If you've been anxiously awaiting part two of this series then your wait is over. Here's a short introduction to the section part of this series written by the author of the book, Dagfinn Reiersol. I had the privilege of meeting Dagfinn at phpuk last week. Below the introduction is the link I know youâve been waiting for.   The new PDF they link to focus on two different patterns - the Decorator (a wrapper class) pattern and the Null Object (an object that works like the others but does nothing behind the scenes) pattern.
622401
The International PHP Magazine has posted results from their latest poll conducted over this past week asking which, of their given options, is the best helpful hint for creating a web application in PHP.   Two of the options ranked higher than the rest with one (Page/object caching) coming out on top of the other (Don't save performance testing for the end of the project). The remainder of the votes were divided pretty evenly between the last three options: "Use multi result set queries to your database", "gzip compression", and "Tune your web server".   While you're in the polling mood, you should check out this week's new poll that wonders which of their options might be the biggest hindrance to PHP5's adoption in the community.
38202
On CodeSnipers.com today, there's a new book review posted of the APress book "Beginning Ajax with PHP" by Lee Babin.   Although no stranger to Ajax, I received a review copy of Beginning Ajax with PHP expecting some watered down presentation of Javascript with some PHP thrown in. I was quite surprised to find a good presentation of using Ajax and PHP, easy enough for the beginner and still interesting for those who have done it for years.   Nola covers the contents of the book, generalizing the sections just to give you a brief overview of what's going on in each chapter. She also describes the end of the book as a "random splattering of interesting topics" dealing with using Ajax in different, useful situations.
259126
In an "interesting" post to The Codist blog, there's one developer's look at PHP and his confession that he'll never quite understand the appeal of the language.   How PHP can be so popular is beyond me; the whole sense of encouraging all of your html, code, bindings, javascript, even sql (as in the below example) into a single file is a nightmare.   He Goes on to talk about his experience with JSP versus PHP and some perspectives on how PHP lacks features he's used to or how other developers he's talked to had similar issues.   One thing that concerns me (and apparently several others in the PHP community) is that he keeps talking about procedural PHP code that's an "all in one page" kind of setup. Well, of course this can get messy quickly - that's no way to code anything, much less PHP. Organization means more than just breaking code up into chunks on your page (though it's a very low-level start). Plus, the sample code he provides is a joke - a PHP developer with a few weeks of experience could push out something 10x better.
270729
Those that didn't get a chance to check out this year's PHP UK Conference can get a little taste of what it was like from Rob Allen's perspective in his latest blog post today.   Included in the happenings he mentions were the talk that Cal Evans of the Zend Developer Zone gave on mashups, Kevin Henney's look at Object Orientation, and Rasmus Lerdorf's look at PHP5 performance/security. He also mentions meeting up with Dagfinn Reiersol (author of PHP in Action) to "talk shop" a bit about writing books.   You can check out all of the details about the conference that was over on their website including summaries of the talks that were given during this jam-packed one day event.