PHP-GTK Community Site: Building a submenu in a GtkMenubar
520857
The PHP-GTK Community site is back again today with another quick tutorial showing how to build a submenu with the help of the GtkMenubar widget.   It's broken us into the key sections - details, a visual tree of the structure, the logic tree and relationships, and, finally the source code. It's a pretty simple process of creating the menu and appending the elements onto it, much like a normal drop down menu. The key is in the set_submenu function, creating a new object for the code to append the submenu elements to. The rest is just simple appends.   They've also included a screenshot to illustrate the end result.
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.
769389
Latest PHPClasses.org Releases:Class TreeviewPHP User ClassDHTMLDumpSalatCSV Parse and ReadRSAsmb4phpClient infoTrue Singleton ClassRounded Border Table Generator
266732
On the PHP-GTK Community site today, there's a call for speakers that's been issued for the upcoming Forum PHP 2007 happening in Paris (September 21st and 22nd).   They [the organizers of the conference] are looking for French speaking experts, who want to share their know-how and enthusiasm. This two day conference features one technical day, with the most advanced PHP techniques and a business day, with case studies and examples of successful projects..   The theme for the conference focuses on the latest generation of clients and databases in PHP. Those interested in submitting a talk should check out the guidelines the groups given including the deadline and what kinds of "perks" speakers get for presenting.
642167
Newly posted over on PHP Magazine's website is this week's latest PHPBarnstormer - Issue #11
437494
Popular posts from PHPDeveloper.org for the past week:PHPClasses.org: A PHP killer feature - Streams abstractionRob Thompson's Blog: Switch vs. IfPHPEverywhere: Octopussy numbers in PHPJob Posting: MODE Visual Seeks PHP Developer (Charlotte, NC)ProDevTips.com: Why PHP as a templating language sucksMatthew Turland's Blog: The Yin and Yang of TypingStubbles Blog: Stubbles 0.5.0 releasedChristopher Jones' Blog: Updated connection pooling in PHP's OCI8 extensionBen Ramsey's Blog: Congrats Costa Rica PHP!Carsten Lucke's Blog: Configuration issues with Xdebug on Debian Etch
264910
Scott Mattocks, like so many others, has just reciently recieved notification that he's been accepted as a speaker for the Zend/PHP Conference & Expo this fall. He talks more about his speech in his latest post.   My session, "Consusming Web Services with PHP-GTK 2&#8243; will be a look at how to turn a web services API into a desktop application. I only have fifty minutes so it won't be very heavy on implementation details. Instead it will look more at representing different data structures, collecting different types of data and how creating a desktop application can make life easier for the company and the end user.   Scott joins other speakers for this great event, including speakers like Ilia Alshanetsky, Wez Furlong, and Zeev Suraski. Be sure to check back on the Zend site soon to see when Scott and others' talks will be held.
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.
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?)
193363
In a recent post Brian Moon points out an advancement in something he's very excited about - the MySQL native driver for PHP.   I have been excited about the MySQL native drive (mysqlnd) since I first heard about it.  They are looking for testers now.   Brian also includes comments about the fact that the driver was originally intended for use in PHP6 and how some people have been talking about a back-port to PHP4 for those still hanging on.   Check out this post from Lukas Smith on the same subject with a bit more information on what the driver is and what it could mean for the PHP community as a whole.
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
411598
As per this announcement on the PHP-Coding-Practices.com site today, they've launched a new PHP Links Directory as an offshoot of their site.   It's finally there! PHP-Coding-Practices.com's own PHP Link Directory, which saw its first light today at 12am GMT as a cause of a poll we had two weeks ago. It will feature only the best of the best links to all good php resources. My plans are to form an excellent collection of links for all topics that are important for us: frameworks, team programming, language-specific stuff, development tools, performance & optimization, refactoring, etc.   The directory is broken up into several categories including "Agile Software Development", "PHP Community Sites" and "Refactoring". Currently, there's only one category that has a link in it - CakePHP for Felix Geisendorfer's blog ThinkingPHP and Beyond.
313545
Luke Welling takes a humorous look at something he misses in PHP - register globals being set to on.    I am aware that there are some things so shocking that you are not supposed to say them in polite company [...] so confronting that they are best kept to yourself regardless of how strongly you believe them. I have a similarly shocking sentiment that I feel I have to share.   I really like register_globals in PHP.    He reminicies about the days gone by of being able to assume that register_globals is turned on, the days of simpler, lighter code that's even easier for the newbies to get into. Anyone for a tshirt?
428997
The PHP-GTK Community site has introduced a new feature for members of the site - the ability to create and write to their own blog right there on the site.   These are the most visible sign of a new feature on the site: registered members now have their own blog on the site, and blogging about a manual update, community story or recent page is just one click away.   Clicking on the "small, dark, lowercase 'b' marks" on their site (when logged in, of course) will allow users to blog about a specific item or piece of content on the site. You can still create free-form posts, but this is a shortcut to prepopulating some of the details about the content without having to cut and paste or type it in yourself.   Check out the PHP-GTK Community site and check out this post for more information on how you can get started.
48844
According to this new post on DynamicWebPges.de and a message from Derick Rethans on the php.internals mailing list, there's an issue with PHP 4.4.5 where sessions are causing segfaults when register_globals is set to "On".   As per Derick:   Because of this I'd like to release a 4.4.6 soon with this fixes. As  there is also an upgrade to pcre 7.0 we'd need at least one RC, which I  plan to release on Thursday.   Users of the PHP 4.4.x series should keep watch for this new update to correct the issue quickly.
606469
Kasper Johansen has posted to the PHP-GTK Community website some information about a new application that can help manage databases like phpMyAdmin does (and uses a PHP framework to do it - knj SQL-admin.   This application can manage a database for you, in the way phpMyAdmin does. Furthermore, it can convert various types of databases to another type of database (ig from MySQL to SQLite, Access to MySQL, PostgreSQL to MySQL and more).   You can get more information about the project and framework from its site over on SourceForge.
251767
The ProDevTips website has posted part seven of their series covering the construction of a community site (or CMS) with the combination of Smarty and the Zend Framework.   Since XOOPS didn't do it for me when it comes to this project I have started with the blog component. As it turns out, a blog is more complicated than you would think. Therefore this part will not cover the whole component, only as far as I've gotten at the moment. Covering the whole process in one piece would make it a very long piece indeed.   He provides the code examples and complete SQL structure to get the blog up and rolling as well as some handy tips and explanations along the way.