Community News: Latest PEAR Releases for 01.28.2008
563123
Latest PEAR Releases:Net_LDAP 1.1.0a2pearweb_gopear 1.0.3HTML_TagCloud 0.1.3Console_GetoptPlus 1.0.0RC1Crypt_GPG 0.4.0LiveUser 0.16.13
573906
In a new blog entry today, Matthew O'Phinney talks about updates (and refactoring) that he's done to a PEAR package he's developed, File_Fortune.   Over the past few evenings, I've refactored File_Fortune to have it implement Iterator, Countable, and ArrayAccess -- basically allowing it to act like an array for most intents and purposes. As a result, I've eliminated the need for the File_Fortune_Writer package, and greatly simplified the usage.   The package is designed to make an interface between the casual PHP user and the fortune files common on most *nix machines. To illustrate he update, he includes some code that grabs the fortune file, parses it to grab a random one and echoes them out. Also included is the save() method so you can add your own to the list easily.
616513
Popular posts from PHPDeveloper.org for the past week:Community News: Namespaces in PHP6Mike Potter's Blog: Sample Code From PHP / Flex e-SeminarThe Bakery: PremierMarinas.com, ScienceHack.com and an iPhone AppPHP F1: PHP Session TutorialCommunity News: GoPHP5 Official SiteCommunity News: jPOP Framework - Javascript & PHPTim Koschuetzki's Blog: Composing Methods: Remove Assignments to ParametersAlexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymoreMatthew O'Phinney's Blog: File_Fortune refactoredSite News: Popular Posts for the Week of 07.06.2007
763474
In his latest post, Padraic Brady takes a look at PEAR in a verb form - both in how you can use it and what sorts of things it has in store.   over the last few months after finally getting over my ignorance of PEAR beyond it being a hodge podge of packages of dubious quality I've been questioning whether pearifying my future and past code is worthwhile. The answer is a resounding YES.   Unfortunately, there are some barriers for most people to get into the PEAR world (including the lack of the "coolest packages") with some of the perceived barriers including:   PEAR will require large scale changes to my shiny new cool code PEAR only allows proposals for complete functional code PEAR is elitist PEAR is fossilised   He also talks about PEAR packages and dispels one of the most popular myths about the package repository - "you can't use PEAR on a shared host".
685152
Joshua Eichorn has posted some slides that he presented at a local PHP User Group meeting just passed that serve as an introduction to PEAR.   I'm hoping to improve the slides a bit and give this presentation at lots of other places. If any PHP User groups on the west coast would like me to do a presentation about PEAR drop my a line.   To help further the cause of PEAR, he's also offering the slides in an archived file for presentation anywhere.
404297
Latest PEAR Releases:PHP_CodeSniffer 0.1.1Net_UserAgent_Mobile 0.28.0Structures_DataGrid_Renderer_HTMLTable 0.1.1Structures_DataGrid_DataSource_XML 0.1.1Structures_DataGrid_Renderer_XML 0.1.1HTML_Table 1.7.3Spreadsheet_Excel_Writer 0.9.1PHP_CompatInfo 1.4.0XML_Query2XML 0.6.1Console_Color 0.0.4PEAR 1.5.0a1Crypt_XXTEA 0.8.0
416241
In a new post Richard Heyes links to a replacement for the popular PEAR::DB package:   PEAR::DB is all well and good if you want to connect to multiple databases (I assume, I've never actually used it with anything other than mysql) but it is somewhat hefty on the bad side of 60k. Not a good thing if you're not using some sort of accelerator and have a high traffic site. Here's a class which replicates the PEAR::DB API (the bits that I use anyhoo) and weighs in at a much nicer ~11k. Sweet.   The class is posted for download here as a simple PHP source file with functions and values named similar to those in the PEAR::DB package.
453155
Cal Evans of the Zend Developer Zone has posted a new book review of one of Packt Publishing's latest PHP-related offerings - "PHP Programming with PEAR".    For those who have been living under a virtual rock for a while now, PEAR is the "PHP Extension and Application Repository". In a nutshell, it is a collection of classes, it's a framework, and it's a distribution system. Most importantly though, it's an excellent place to find the classes you need so you don't have to re-invent the wheel. (Ok, beginner's time is over, I promise).   PHP Programming with PEAR, written by Stephen Schmidt, Carsten Lucke, Stoyan Stefanov and Aaron Wormus, takes a look at some important PEAR classes and how you can use them.     He mentions what the book covers (which packages) and highlights some of his favorite bits, including the chapter on web services.
298089
Latest PEAR Releases:Console_CommandLine 0.1.0Services_Amazon 0.7.1Testing_Selenium 0.4.2HTML_Table 1.8.2Structures_DataGrid_Renderer_Pager 0.1.3Structures_DataGrid_Renderer_HTMLTable 0.1.4Structures_DataGrid_DataSource_MDB2 0.1.11Structures_DataGrid_DataSource_DBQuery 0.1.11Structures_DataGrid_DataSource_XML 0.2.0Structures_DataGrid_DataSource_DBTable 0.1.7Structures_DataGrid_DataSource_CSV 0.1.6Structures_DataGrid_DataSource_Array 0.1.3Structures_DataGrid 0.9.0Structures_DataGrid_Renderer_XUL 0.1.3Structures_DataGrid_Renderer_Smarty 0.1.4Structures_DataGrid_Renderer_HTMLSortForm 0.1.3Structures_DataGrid_DataSource_DataObject 0.2.1OLE 0.6.1PHP_CodeSniffer 1.0.0Console_CommandLine 0.1.1Structures_DataGrid_DataSource_PDO 0.1.0Net_FTP 1.4.0a1
746255
Greg Beaver points out today that the sample chapter [pdf] of the "PEAR Installer Manifesto" has been posted by Packt Publishing.   Packt has put up a sample chapter, Chapter 5 "PEAR Channels: releasing to the world" up at http://www.packtpub.com/files/SampleChapter-The-PEAR-Installer-Manifesto.pdf. Check it out to see what you're missing if you don't already own the book.   The chapter he points to talks about setting up a channel (using Chiara_PEAR_Server) and why they're the "killer features in PEAR 1.4.x+".   You can get the full information on the book from its page on the Packt Publishing website and order it directly or from another retailer.
708667
Lorenzo Alberton is back today with another tutorial dealing with the PEAR::Pager class. This time, he focuses on using it with some simple Javascript and Ajax.    Not everyone has jumped on the (Ajax) bandwagon, though, and many libraries still exist without implementing this feature, so you're faced with the dilemma: should I keep using that old library and give up my cool AJAX ideas, or should I implement my own version?   If you're looking for a pager class with these requisites, I'm happy to reassure you about PEAR::Pager: it is AJAX-ready, and has been since a long time ago. 100% buzzword-compliance guaranteed!    He gives two examples of what he means - one just using the Pager package to create Javascript lists and divide them into paginated chunks and the other to work with an Ajax connection (via PEAR::HTML_AJAX) to grab the data and push it into a container DIV on the page.
144022
A few more of the International PHP Conference slides have surfaced for your enjoyment:  Sandro Zic - A comparison of PEAR Installer, Phing, and ZZ/OSS Installer alan@akbkhome.com - PEAR and PHP 5 (blog entry)
527226
Latest PHPClasses.org Releases:phpTwitterGoogle Checkout ButtonPOP3Remote MySQL QueryPlatform_pearDatabase FunctionsArIdentifierMySQLClassMenuTreeWhoCalledUsNamespaceSimgWidgetsLarge Database BackupSite ToolsgStats
559792
Latest PEAR Releases:File_Bittorrent 1.0.2Translation2 2.0.0beta11Crypt_Blowfish 1.1.0RC1PHP_CompatInfo 1.3.2Net_Sieve 1.1.4Auth 1.4.0RC1
77586
David Coallier has an update today on the effort to get PEAR developers all over the world mapped out to a Google map to show their locations - one that's finally been launched.   Over the past weeks we have had many people asking around if it would be possible to have a place to see the pear developers around the world. Well now Christian Weiske and I (With the help of Arnaud Limbourg) have put up a nice little map system on pear.php.net. You can see it at http://pear.php.net/map/   David also links to images of some of the administration panels for the application (one, two, three) and the connection information for a web service (REST) that allows access to all of the data.
396236
This month's issue of php|architect has been released and includes articles such as:  PHP5: Beyond the Objects The Ultimate PHP 5 Shopping Cart PHP and Databases Error Handling with PHP 5 and PEAR
549718
The eagerly-awaited Ubuntu Studio has been released, adding another entry into the expanding list of multimedia-optimized Linux distributions. I haven't had a chance to try it yet, but interested readers can peruse some installation screenshots or check out the latest news and information on the Ubuntu Studio Wiki. I plan to review the distro in a future column, along with an update on the latest version of the venerable PlanetCCRMA, but in this entry I'm focused on another very exciting new release. Ardour 2.0 is now available for download. This version is a significant improvement over the 0.99 series (1.0 was never released), with many new features and enhancements to performance and stability. The following article profiles the new Ardour as I employed it for three projects, all involving the program in the processes of composition and arranging as well as the more typical tasks of recording and editing. I've described each project in some detail, and each description includes a link to the final audio output.