XML: Too much of a good thing?
679448
Explosion of special-interest XML dialects could mean the standard is a success or could be the start of a new headache.
698334
Popular posts from PHPDeveloper.org for the past week:The Bakery: Six New Articles/Tutorials PostedEvert Pot's Blog: PHP: Arrays vs. ObjectsDevArticles: Learning AJAXInternet Super Hero: PHP: mysqli_fetch_all()David Coallier's Blog: PHP Namespaces (Part 1: Basic usage & gotchas)I/O Reader: 15 Cool Things & 12 Things to Dislike About PHPProPHP Podcast: Newscast - August 16, 2007PHPBuilder.com: Dynamic XML with PHPSite News: Popular Posts for the Week of 08.17.2007PRADO Watch Blog: PRADO Watch: Interview With Timani Tunduwani - Why I Moved From CakePHP to PRADO
489175
Sunday, September 2 is the deadline for ISO member countries to vote on Microsoft's Office OpenXML -- the result will determine if it's approved as an international standard. Name calling, finger pointing and muckraking have sparked a debate over current standards-approval procedures and how they're affected by corporate influence. All this excitement over office docs?
754440
From the Inside Open Source APress blog, there's a new post by Michael Stahnke documenting his search for a useful way to work with configuration files in a PHP application.   Recently I was working on developing an application that required a configuration file to setup. [...] XML is too hard to read for management-types. Plain text wasn't all that easy to handle from a code perspective. Then I remembered that when I played with Ruby on Rails it used something called YAML, and thought I'd give that go.   Searching around, he discovered the spyc library that aids in the YAML development and, as suggested by a commentor, the standards-compliant extension syck.
320370
This week you'll learn how to use XML in PHP and Oracle when building XML-enabled PHP/Oracle applications. Topics covered include: constructing XML with the PHP DOM extension, navigating XML with XPath, generating XML from relational data with Oracle SQL/XML functions, and more. By Yuli Vasiliev. 0917
566978
Data exchange format is just too slow, some say. But there's debate over the best way to make Extensible Markup Language fly.
169600
Amyloo was digging around the NY Times code weblog and found this OPML file, weighing in at a monstrous 3.3MB that contains some mysterious but rich data about the NY Times and a guide to using the Times to cover special topics that I don't think anyone outside the Times knew existed, but there it is, in a public folder, so lets have a look.  1. There are 10522 top-level headlines. There's no structure to the OPML, it's absolutely flat. Here's an HTML rendering of the list: timestopics.html.  2. It's a subscription list. Each item has four attributes, type, title, htmlUrl and xmlUrl.  3. The htmlUrl for each element points to a page of stories for the topic. For example, here's a page of stories about table tennis. On that page is a link to an RSS 2.0 feed containing the same information.  4. The xmlUrl links for at least some of the elements are broken, the error appears to be very simple, if you replace the ampersand with a question mark, it works.  If you look around at the topics you'll see it's an incredibly rich set of data. Here are just some of the topics that begin with the letter T: Tableware, Taste, Tattoos, Tax Credits, Tax Evasion, Taxation, Taxicabs and Taxicab Drivers, Tea, Teachers and School Employees, TED Conference News, Teflon, Telephones and Telecommunications, Television, Television Sets, Table Tennis, Terra Cotta, Terrorism, Tests and Testing, Textbooks, Thanksgiving Day.
405165
In a new note from the BitFlux blog, Christian Stocker has information about the latest patch comitted to the PHP 5.1 branch that allows you to parse not well-formed XML documents and adds the missing elements, eg. missing closing tags.
460038
In this post to his blog, Chris Shiflett talks about some issues surrounding character encoding and the cross-site scripting issues it can open up in your application.    In the post [on Good and Bad PHP Code], he provides a few useful PHP interview questions, including some questions from Yahoo. He explains that good PHP code should be Structured, Consistent, Portable and Secure   In the comments, many additional improvements have been suggested, but there's one that has yet to be mentioned. When using htmlspecialchars() without specifying the character encoding, XSS attacks that use UTF-7 are possible.    Included in the post is an example to illustrate the point as well as a solution, a simple one involving the header() function, to help correct the problem and prevent bad things from happening.   Be sure to check out http://shiflett.org/blog/2007/may/character-encoding-and-xss#comments">the comments for more great tips.
458368
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").
645652
Jonathan Robie explains the role of XQuery, a query language for XML data, and its importance to IT business users.
498291
The defeat of Microsoft&#39;s Open XML proposal before the International Standards Organization is more than a small hiccup in the software giant&#39;s plans to make its document file format a global standard, some analysts now say.
466648
Stefan Koopmanschap has pointed out an interesting article over on the CIO magazine website that has some in the PHP community a bit up in arms about comments it makes towards the language.   The article, "You Used PHP to Write WHAT?!", covers the basics of the language - its status in the web programming world, the functionality it offers and the database interfaces it includes. They also include a hit list of reasons PHP is popular and why it's a good choice for your project.   Then things get a little strange - they move from their PHP praise to three things that have more to do with unresearched "facts" than the reality of the language:   Security and PHP Working with PHP and the shell Scaling and PHP (in enterprise environments)   These incorrect assumptions have lead to many comments both from the PHP community and from users of other languages (like Java and ColdFusion) sharing thoughts on the contents of the article and the language in general. Check out the article's comments to see for yourself.
396426
On his blog, Michael Kimsal points out a PHP4 to PHP5 XML wrapper he dig up over on this site:   I know I've looked for this sort of thing before, and I'm not sure why I didnât find it earlier, but it's just made a tedious task take about 2 minutes.  Thanks guys! While I'm sure it's not perfect, it seems to be working well enough for what I needed it to do - basically read data from an XML file in to an array structure.  Doesn't simplexml do that already?    The script provides a lot of the functions that PHP5 has to offer in a handy-dandy library to make working with XML in PHP4 a little easier.
709708
Intuitive, naturally Hands on, part 2 Groovy, unlike Java, provides a relatively streamlined way to read and write XML documents. In the first part of my two-piece tutorial, I looked at how you can use Groovy's flexible strings, closures and iterators to quickly create XML fragments and files.â¦
527300
Michael Kimsal (and his bother Mark) were talking about the state of ecommerce applications, specifically about the latest "hot topic" software - Magento.   My brother Mark has been doing a long term project based on Magento doing a lot of custom work on top of it, and has told me many points, both good and bad, about it.    According to Michael and Mark, speed of the application is a big hindrance. They also mention two points that could help make an ecommerce system so much easier to integrate into the "blogosphere" - publishing a blog feed of some of the user feedback about orders/products/etc and accept trackbacks from an external blog post reviewing the products.
578818
InfoWorld - Sleepycat Software this week announced the general availability of Berkeley DB XML 2.0, a major upgrade to its open source database for telecommunication infrastructure and enterprise data centers. This release adds support for XQuery 1.0, an emerging standard for XML data access, as well as improvements in performance and usability. Other enhancements include support for XPath 2.0, which allows the selection of a portion of an XML document, and support for the PHP API, which enables developers using the PHP scripting languages to work with XML documents.