PHP Wiki: An Introduction to SimpleXML
679414
For some, starting out with the new SimpleXML functions can be a bit of a challenge. It's not quite the same as the "old ways" of parsing, and might take a little getting used to. Well, this new article on the PHP Wiki should help shed some light on the subject.
416901
Aaron Wormus has a new note on his blog today about his presentation at this year's Zend/PHP Conference & Expo and another speaker he's excited to hear.    One of the Zend conference sessions that I'm pretty excited about is Don Samisa Abeysinghe's (of WSO2) "Fully Fletched Web Services with PHP".   I'll be presenting a session on "Moving to PHP5 with Style." This tutorial/case study will be based on experience in transitioning several codebases from PHP4 to PHP5, creating unit tests & started a move towards a service based architecture without a complete platform rewrite.    Aaron's talk fits under the banner of the "PHP Development" talks, including others on topics like hosting PHP applications on Windows, working with PDO, unicoding in PHP6, and using PHPUnit.
192641
DevShed has posted the second and last part of a series of two articles based around the Composite design pattern - using it to work with strings in PHP5.   Are you a PHP developer who wants to improve your skills in pattern-based programming in PHP? If the answer to this question is a emphatic yes, then you should begin reading this article now! Welcome to the final part of the series "Implementing the composite pattern with PHP 5." Comprised of two instructive tutorials, this series walks you through the basic concepts of this important design pattern, and shows you how to apply it with some educational examples.   They start by defining a simple StringProcessor class as an abstract interface to build from. From there, they create two other classes - the SingleStringProcessor and the MultipleStringProcessor. Each of these takes in either a single file or multiple filenames and spits back out the value of the string and the length of the string.
632254
Harry Fuecks has gotten busy and posted the third part of his "Joy of Regular Expressions" series over on the SitePoint PHP Blog today.   Following on from the last part, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.   He looks at two different topics:  A "must reads" section of resources for getting the most out of regular expressions A comprehensive "cheat sheet" with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.
713722
Latest PEAR Releases:Text_Wiki_Creole 0.5.1HTML_QuickForm_Renderer_Tableless 0.5.3PHP_Archive 0.11.0pearweb_phars 1.3.1PHP_Archive 0.11.1pearweb_phars 1.3.2Validate_FI 0.3.0Structures_DataGrid_DataSource_DBQuery 0.1.10Structures_DataGrid_DataSource_MDB2 0.1.10Structures_DataGrid_DataSource_DBTable 0.1.6File 1.3.0Tree 0.3.0pearweb_index 1.0.0RC1pearweb_index 1.16.2pearweb_index 1.16.1pearweb 1.16.0pearweb_index 1.0.0HTML_QuickForm 3.2.8
152445
Latest PHPClasses.org Releases:Flash MessagesRSS and Atom Feeds Processing APImabp::tagCloudUltimate MySQLerror_managerSingly Linked ListChinese Encode ConvertphpSortableASCII Art GeneratorPSPLMultiselectNiftyCubeAmazon ECS Webservicesimple Email ClassPHPDance
751529
Michael Kimsal has come up with the start of a series to introduce PHP developers to the world of Grails (the Java framework).   The comparisons I plan to make will be mostly to PHP, cause that's what I'm most familiar with, though there may be some other comparisons from time to time.  This is a work in progress, but I'd be very interested in feedback from anyone out there interested in this aea - Grails, Groovy, PHP, why another language/platform/framework, etc.   The first two installments have been posted - part one and part two - with an introduction to what Grails is and a brief dip into some "Hello world" sort of code to give you an idea of the structure.
20270
Maarten Balliauw points out a new blog post he's made today showing how to take the methods described in this article on the MSDN and convert it to a more PHP way of thinking, parsing the OpenXML info of the patients.    The scenario for the article is quite simple: Contoso provides a central medical records database. Whenever a physician has to register a new patient, he downloads a Word 2007 document from the Contoso server, fills it out, and uploads it back. Contoso then strips out the necessary data and saves it back in their systems.   This Word 2007 document is crafted around embedded custom XML data, which is displayed and edited using Word 2007. In short: to do the above exercise, you just need to strip out the custom XML and you're done.    Don't worry, Maarten includes his code and a demo to show the functionality in action. Check out the original article for more information as well.
230013
In this new article from DevShed.com, they provide a high-level introduction to PHP - what it is, where it came from, some of the sample features (of both PHP 4 and PHP 5), as well as some of the drawbacks for the language.
159475
Hannes Magnusson has posted about more updates that are being made to the PHP.net website today, including an upgrade to the "conference teaser" patch and the introduction of a new box to like directly to the latest releases on the front page.    Since I moved the 'current releases' info into "a giant" includable array, living in include/version.inc, we can now provide a simple XML feed (or whatever) for you to parse to get the latest release info simpler and more accurately...   What do you think? Is it worth it? What kind of format would you want it in?    He wants your feedback on this last point - would having an XML feed for just the version info be that useful? Or would it just be yet another RSS feed to add to the list to keep up with the new PHP releases?
449834
Sebastian Bergmann has posted the results of some benchmarking on the compilation he's done on the branches of PHP from version 3.0 all the way up to 5.3-CVS.   As people keep asking me for an update to my previous benchmarks (PHP / GCC / ICC Benchmark, PHP 5.1 / GCC Benchmark (Update), and PHP 5.1 Performance, I quickly ran a new benchmark today.   He rendered the results out into a series of charts defining the number of total seconds taken for the compile and how long each of the components took. It's impressive to see how much of a jump there was between the 3.0 series and 4.3.   He also includes his compile settings (and machine information) as well as the numbers for the results if you'd like to graph them out yourself.
186014
Latest PHPClasses.org Releases:Simple CURL WrapperMoney CurrencyDraw SudokuPlay List ImportercPanel APIDate Drop Down List GeneratorBig Number CalculatorRSS ErrorSession in CookiesPHP MS WordOverall Tag ViewGoogle Calendar WrapperGraidleAJAXed list boxes
575210
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort AlgorithmZend Developer Zone: PHP Abstract Podcast Episode 4: Planning ProgrammingWeb Development Blog: Save bandwidth with PHProxy and ip2nationJob Posting: Assembleron Ltd Seeks PHP 5/MySQL/Ajax Developers (Reading, UK)PÃ¡draic Brady's Blog: Complex Views with the Zend Framework - Part 6: Setting The TerminologyThe Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload ThumbnailsCommunity News: PEAR Installer version 1.6.0 releasedChristopher Kunz's Blog: Building PHP with cURL and libmysqlclient5DevShed: Working with Prepared Queries with PDO Objects in PHP 5Secunia.com: rPath update for gd, php, php-mysql, and php-pgsql
323470
This month's edition of php|architect has been released - complete with the "return" of a sample article.
386854
On the SEO Expert Blog today, there's a new tutorial showing hos to consume the XML provided by the Amazon wish list service with the help of PHP5's SimpleXML functionality.   With PHP5 XML processing finally became easy thanks to the SimpleXML functions, that convert an XML document to an object that can be processed using property selectors and array iterators. A few days ago I integrated my Amazon wish list on this site with very few lines of code as you will see when you read the rest of this brief tutorial.   He walks through the connection both creating the XML request and handling the XML response to output the resulting images (books) linked to their Amazon pages.
100030
The Zend Developer Zone has posted a new book review of a PHP-related offering from the APress Publishing company - Rob Richards's "Pro Pro PHP XML and Web Services".   Crack the front cover though and you'll soon discover that your new phone-book sized shield contains a lot of useful information. Let's dive into it a bit, shall we?   Cal talks about the contents of the book - all the way from the history of XML out to things like Web APIs, XML-RPC, and REST. He goes through, spotlighting some of the chapters along the way (including those on SimpleXML, syndication, and RSS/Atom formats). There's only one real complaint that Cal has about the book, one that's immediately evident to anyone that sees or holds the book in their hands - the sheer size and quantity of the material covered in the book (almost 1,000 pages).
445025
Popular posts from PHPDeveloper.org for the past week:Stijn Leenknegt's Blog: [PHP6] function-return-array idea!GeesNotNerds Blog: Free PHP + Ajax chat appStefan Mischook's Blog: Object Oriented PHP Tutorial Updated - Steps 18 - 22Dave Dash's Blog: SymfonyCampWebDigity.com: PHP geotargeting techniquesEtienne Kneuss' Blog: Late Static Bindings ExplainedDevShed: Handling Static Data with PHP 5PHP-Learn-It.com: Cooking Cookies with PHPMichael Kimsal's Blog: PHP PredictionJob Posting: Steinman Recruiting Seeks Senior Developer (Littleton, CO)