DevShed: Programming with PHP and GTK
499905
If you've been wondering what all the talk about PHP and GTK has been lately, but haven't had a chance to get into the code - DevShed just might have something for you. In their new posting, Programming with PHP and GTK, Part 1 they start an introductory series to help newcomers get their feet wet.
197002
On the SitePoint PHP blog today, Troels Knak-Nielsen has written up an article that talks about dependencies in your applications - those little interconnections your code relies on to do more with less.   In lack of better words, I'll call this compositional programming style. It's a style which is usually more prevalent with experienced programmers. [...] There is, however, a dark side to composition - dependencies.   He starts with a definition to bring everyone up to a level field then moves on to how their used (through a "global symbol" or directly passed in) and how they can "leak" if you're not careful.    To help protect you and your code from any kind of damage down the line, Troels suggests making a container to keep objects where they need to be. He even includes an example with namespace support to make things even easier down the road.
187716
This month's edition of PHP Magazine has been released!
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.
496780
Lorenzo Alberton has posted some updates about the PEAR packages that he maintains to his blog today including MDB_QueryTool, Mail_Queue2, MDB2, and Translation2.   Even if lately I've been coding way more in C/C++ than in PHP, I still keep an eye on PEAR developement: I reckon in the last month I've closed a bug a day, on average. And after my last call for help about my PEAR packages, I'm also pleased to announce that someone did indeed offer a hand. I'm happy to welcome not one, but two new developers!   Each of the items has links to their PEAR homepage and a few quick words on where the package stands (including developers involved or wanting to get involved). He also reminds developers out there that they can help out too if they want to jump in and get into PEAR.
400998
Fr&eacute;d&eacute;ric G. Marand has pointed us to a great community site for those out there working with or interested in the PHP-GTK project - PHP-GTK.eu.   The site features original articles entirely devoted to that extension of PHP, and theses receives new articles on an almost daily basis: tips, code fragments, application examples...   Some of the latest articles posted include:  Extending GtkDrawingArea to draw animated graphs Extending GtkMenu class for Popup menu dialog GtkEntryCompletion Editable cells within GtkTreeView  There's tons of great information in all sections of the site so if PHP-GTK's what your into, you definitely need to check out the PHP-GTK Community Site.
388816
Popular posts from PHPDeveloper.org for the past week:Dave Dash's Blog: nginx and symfonyZend Developer Zone: The ZendCon Sessions Episode 6: Project Management Methods to Maintain IT StandSitePoint PHP Blog: Tokenization using regular expression sub patternsIT Jobs Watch: Results for PHP Developers in LondonJob Posting: Digital River Seeks PHP Developer (Eden Prairie, MN)Dan Scott's Blog: Oooh...looks like I've got (even more) work cut out for meLeon Chevalier's Blog: Improve website load time by 500% with 3 lines of codePHPWomen.org: elePHPantsPhil Thompson's Blog: 7 PHP functions that saved my lifeStuart Herbert's Blog: Using suphp To Secure A Shared Server
193310
Here's what was popular in the PHP community one year ago today:onPHP5.com: Clickable, Obfuscated Email AddressesJacob Santos' Blog: PHP BlackjackThe Bakery: RESTful Web Services With CakePHPDeveloper.com: Developing a Ajax-driven Shopping Cart with PHP and PrototypeGreg Beaver's Blog: Mac OS X ships with security hole-laden PEAR - how to upgrade immediatelyNexen.net: English Articles and a Single Distribution ResourceJob Posting: Red Ventures Seeks Several LAMP Developers (Charlotte, NC)The Bakery: Checking for duplicate records (unique record)DevShed: The Basics of Abstract Factory Classes in PHP 5NewsForge.com: A DIY calendar control in PHPDevGuide.net: Dynamic Bitmap Graphics with PHP and GDRichard Heyes' Blog: Browser DetectionInternational PHP Magazine: Poll Question: Which is the Most Important Feature of PHP 5?Builder.au: Dynamic XML document construction with the PHP DOMCommunity News: PEAR Version 1.5.0 Released
704716
As a part of their IRC discussion series, the PHP Thinktank Blog brings you the logs from their latest talk - Scott Mattocks on PHP-GTK.   Scott talked about what PHP-GTK is and what kind of things it can do as well as how you can run them on your own machine. There was also a sample link he gave out to show what an application might look like. He also talks about what sets PHP-GTK apart from the traditional PHP applications.   He gives a (very) small sample application as well as some explanations of some of the different components (widgets) that are included with the PHP-GTK installation. There's lots more where all this came from, so be sure to check out the whole talk log for more great PHP-GTK goodies.
390086
In another quick note from Chris Shiflett, there's a summary of php|works and some of the comments made about it:
712717
Picking back up on his blog, Sean Coates shares a Dashboard widget he's created to do quick and dirty PHP interpreting on the fly:   I found myself using php -r on the command line to test some simple code snippets, and it occurred to me that this isn't "The Mac Way." So, following the excellent documentation at Apple, I managed to come up with something pretty useful in an afternoon.   His widget sits happily, ready to take in PHP code and output the result at the click of a button.
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.
762479
Here's what was popular in the PHP community one year ago today:PHP-GTK Community Site: Add icons to GtkMenuphp|architect: php|tek 2007 schedule now onlineRyan Malesevich's Blog: Comments Closed After 21 DaysCodeSnipers.com: Book review: Beginning Ajax with PHP by Lee BabinCommunity News: TorrentVolve (PHP-driven Web-based BitTorrent)Stefan Mischook's Blog: Book Review: PHP 5 in PracticeJSLabs Blog:  How to create a php upload progress meterAlexander Netkachev's Blog: PHP IDE with debugger 0.1.6 is outDeveloper.com: Forms Validation with Symfony and PrototypeMarco Tabini's Blog: 5 PHP Performance Tips You Probably Don't Want To HearThe Codist Blog: I Will Never Understand the Appeal Of PHPArnold's Blog: Without a framework: (M)VCPHPBuilder.com: Reading RSS feeds in PHP: Part 1Mike Potter's Blog: AMFPHP 1.9 Examples from Renaun EricksonPHP 10.0 Blog: php -T (variable tainting)
146149
An introduction to using refactoring, unit testing and ZenTest on existing code.
53814
Cal Evans has posted his notes from the (just passed) Web Builder 2.0 Conference that happened over in Las Vegas. PHP had its presence there through Cal's "PHP Powers Mashups" talk and others like Chris Shiflett.   There was plenty to see and do at the conference besides PHP and Cal highlights just a few:  AJAX Optimization talks  An overview of some Flickr Stats Google's mashup offerings An introduction to  and some talk of benchmarking Ajax  Check out the full post though - it's jam-packed with links and some great event information.
532255
Elizabeth Smith has a new post to her blog today covering some of the fun she's been having with compiling things like Gtk+ and PHP-Gtk2.   So I've been using microsoft visual studio (actually it's Visual C++ Express, but uses the same stuff behind the scenes) to work on getting things compiled on windows. PHP-Gtk2 allows for some nifty extensions, well at least on linux. So I've been working to get versions of libglade, scintilla, gtksourceview and mozembed working on windows. It's a long, slow process. Here's the deal so far.   She talks about her current situation (what's compiling and what's not) and the software that she's trying to get up and running. She also mentions a problem she's been having with an error message talking about "unresolved external symbols" she'll need to track down (or get some help on - anyone out there seen it?)
41064
Gerd Schauffelberger writes on the PHP-Tools Blog today about the contents of the latest issue from the German PHP Magazine, specifically an article covering the PEAR package HTML_AJAX.   This article's target is (1st) to give a brief introduction to AJAX and how things work from Javascript an PHP side in contrary. Also (2nd) I wanted to show that you actually don't have to muck around with a mess of Javascript (browser compatibility issues and such) because it's it is all done by the Joshua Eichorn's HTML_AJAX framework.    The article doesn't build up an entire application (as Gerd mentions) but it does provide you a good base to work from and gives you a good direction to head from to learn more about this powerful package.