PHPHacks.com: Generate OpenOffice documents with PHP
239068
PHPHacks.com shares some inforamation today on how to quickly and easily create OpenOffice documents with the help of a little PHP.   PHP DocWriter is a set of PHP classes that allows you to create documents in OpenOffice.org XML  format (that is, StarOffice/OpenOffice.org documents). You can download the library files from here (http://phpdocwriter.sourceforge.net/download.php?lang=en). Also, you can find installation steps in the mentioned link.   With the library installed, it's a simple matter of creating a new object, defining properties and using methods on it and exporting it from the script. There are several examples included in the tutorial, everything from a simple "Hello World" example out to creating documents with meta-information and tables.
394439
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: AJAX and PHP Part 2 - XML Communication/ProcessingCommunity News: Zend Framework 1.0.0 ReleasedMike Potter's Blog: Slides for today's e-seminar on Flex and PHPBlogSecurity.net: Interview with Stefan Esser on WordPressCommunity News: India's First PHP UnconferencePro::PHP Podcast: Newscast for 2007.06.28JSLabs Blog:  How to create Microsoft Office Documents with PHPPEAR Blog: Request for ideas: New developer FAQPHP-Coding-Practices.com: Composing Methods: Split Temporary VariableRob Allen's Blog: Spanish versions too!
548113
Microsoft-endorsed Open XML Translator project releases downloadable ODF converter.
575304
Here's what was popular in the PHP community one year ago today:Zend Developer Zone: php|works - Day Two WrapupDevShed: Invoice Management in a PHP Invoicing SystemJared White's Blog: Developer Preview 2 of Willowgarden has been released todayZend Developer Zone: php|works - Day One WrapupP&aacute;draic Brady's Blog: PFP II: Return of Patterns For PHPPHPHacks.com: Generate OpenOffice documents with PHPThinkPHP Blog: SQL injections for dummies - and how to fix themILoveJackDaniels.com: Regular Expressions Cheat SheetDevShed: Tracking Website Statistics with PHPJob Posting: Red Ventures Seeks Mid/Sr Web Developer (Charlotte, NC)Scott Mattocks' Blog: PHP-GTK News #22Community News: Senza Limiti Acquires Ajax-based PHP Grid, Plans to Open Source ItAlexander Netkachev's Blog: Installing Propel object persistence layer for Web applicationDevShed: Main Methods of the DirectoryIterator Class in PHP 5Ilia Alshanetsky's Blog: PHP 5.2.0 RC4 Released!
71505
Latest PHPClasses.org Releases:CAPTCHA 2Get Futurist DatePictoru's GIF TextFormulariosIP_to_countryMsSql To XMLrschatCheck spamTSfloCrosswordPictoru's GIF TextMYSQLCLS_DBFile2XMLColor extractphpmmPHP Array to Javascript
690580
On the Dotvoid.com blog today, there's a new post that shares some handy code to parse out information from the incoming user agent string for the visitors for your site.   Recently I experimented a bit with an Apache log file analyzer written in PHP. It's not all that difficult were it not for trying to parse the browser, or user agent, string. [...] For my purposes I don't care much for the operating system details. This is the result so far. I'm still not very satisfied but I thought maybe other people might be interested and maybe help out.   He provides the code in the format of an encapsulated PHP function that returns the product they're using, the version number of the browser and other various comments.
630264
There's a new tutorial posted on the PHP-GTK Community site today - a quick one showing how to use GtkSourceview to create a simple PHP editor with syntax highlighting.   This widget is nearly usable as a real php-gtk IDE. It extends GtkSourceView widget and internally manages both a text buffer and language object classes.   They provide the code, but not too much in the way of explanation for it. Thankfully, most of it is pretty straight-forward. There are a few things that the script has to manage to make the it work - a text buffer for the data, a viewer (window), and the syntax highlighting component. For the view, there are a few handy functions already built in so you won't have to create them - undos, the syntax highlighting, line numbering, markers, and bracket highlighting.
466365
Cameron Olthuis wants to share the tools that he finds th emost useful with the entire web, so he's posted them here on his blog.   His list includes libraries from all different technologies, not just PHP. Several are Javascript-related, but it's always good to have a complete toolkit on hand when trying to tackle some of the more difficult things.   Included in his list are things like:  Moo.fx - a Javascript effects library Swat - an open source web application toolkit PEAR - the PHP package repository Mochikit - lightweight Javascript library    Be sure to check out the post and its comments for more great resources!
80346
The Zend Developer Zone has a new tutorial that focuses on the dynamic creation of zip archives in a PHP application.   PHP too has included support for the ZIP format since PHP 4.x but it was only recently when, idly browsing the PHP manual, I realized that PHP 5.2.0 includes a re-engineered version of the ext/zip extension, one based on the zlib library. Bored and not a little intrigued, I decided to try it out. And over the next few pages, I'm going to tell you what I found.   The tutorial does require that you have the zip extension installed before getting started. He starts with the basics (reading and opening a zip file) but quickly moves on to creating and decompressing them. All of the code needed is included of course, so you'll be up and working with your own zip files in no time.
541647
On Codewalkers.com today, there's a new tutorial posted concerning some of the looping features PHP has to offer.
23151
Here's what was popular in the PHP community one year ago today:PHPClasses.org: File upload progress meter for PHP 4, at last!Zend Developer Zone: Zend Framework Preview Release 0.6.0 AnnouncedIBM developerWorks: Generate Flash movies on the fly with PHPMike Bernat's Blog: Creating a Simple Registration Script using PHPphp|architect: An overview of the CakePHP frameworkPHPBuilder.com: Reading RSS feeds in PHP: Part 2The Bakery Blog: SwiftMailer Component TutorialPHP-GTK Community Site: Merry Christmas (A Holiday Widget)Ben Ramsey's Blog: Installing the Eclipse PHP IDEZend Developer Zone: Zend Studio 5.5 WalkthroughCommunity News: Vancouver PHP Conference 2007Edin Kadribasic's Blog: BenchmarksJSLabs Blog:  phpBB 3...is it worth the wait?Christopher Jones' Blog: Installing Oracle XE on Ubuntu with PHPChris Chabot's Blog: phpSocketDaemon
647305
Popular posts from PHPDeveloper.org for the past week:Ian Selby's Blog: Uploading Large Files With PHPONLamp.com: Quick and Clean PHP FormsDotVoid.com: Reordering nested sets using PHP and JavascriptRob Allen's Blog: Zend Framework Book Coming SoonCommunity News: php|works Daily Summaries (Day 2)Community News: Sara Golemon & Christopher Jones - First Day Summaries of php|worksJob Posting: University of Wisconsin, Department of Medicine Seeks Web Developer (Madison, WI)Zend Developer Zone: PHP Abstract Podcast Episode 19: Glue Frameworks vs. Full Stack FrameworksStefan Mischook's Blog: Installing PHP and MySQL on the Mac with MAMPSecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)
323470
This month's edition of php|architect has been released - complete with the "return" of a sample article.
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.
185572
On the ProDevTips.com website, there's a new tutorial (part one of a series) that walks the developer through the integration of the Zend Framework, some Ajax functionality and Smarty to create a feed reader.   In this series I will walk you through the code of a site that uses only Ajax and Scriptaculous to handle it's completely windowed interface. Making an interface like this is not really good design, it's only done here for the sake of teaching. It is kinda cool though. Especially if you have a big screen.   The source code is available for download and having it makes the installation and setup of the system much simpler. With it, you're only about fifteen steps away from getting the application up and running.
767454
PHP Magazine has a new posting today about an article from WebProNews.com concerning a new article - Generate HTML Files With PHP To Reduce The Server Load.
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.