PHP-GTK Community Site: Using GtkSourceview to build a php editor with syntax highlighting
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.
139275
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: Try-Catch Syntax WeirdnessPHPBuilder.com: Cross-Platform Database PHP DevelopmentIBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2OpenSourceCommunity.org: What do you think makes a good CMS?Jonathan Snook's Blog: Elemental: Conditional Content with CakePHPDevShed: The Basics of Using the Factory Pattern in PHP 5Builder.com.au: PHP exploit code plants itself in GIFJohn Cox's Blog:  Linux.com Now PHP PoweredNick Halstead's Blog: Solving Programming ProblemsPHP-Tools Blog: Testing FIT
467744
In this new post to his blog, Tobias Schlitt shares some VIM tips with the PHP community, specifically about PHP Documentor integration functionality. He's gone back and documented the functionality now to make it that much easier to use.   Because I had a talk about how to use VIM in respect to PHP source code editing, I took the time during the week, to write some extensive documentation for PDV, the PHP Documentor plugin for VIM.   He's also documented the VIM file type plugin as well, and both are available through his SVN of PDV. There's also to updates mentioned - one about splitting up the .vimrc and file type plugin and added the repository to the official SVNServe list making it easy to check out.
636915
Popular posts from PHPDeveloper.org for the past week:RefreshinglyBlue Blog: PHP vs Ruby - Practical Language DifferencesAndreas Gohr's Blog: Determine StumbleUpon RankingsPHP.net: PHP 5.2.4 ReleasedThe Bakery: Five New Posts - Custom Views, CSS, ViewInFile, ActsAs and Email ValidationPHPBuilder.com: File uploads made easyStefan Mischook's Blog: Turning on display_errors in WAMP - Video Tutorialphp|architect: Pro::PHP Podcast - Newscast for August 2007MT-Soft Blog: Creating a secure PHP production environment from Source CodeCommunity News: Andi Gutmans to Present at AjaxWorld 2007HowTo Forge: How To Set Up A Facebook RSS Feed Reader
673968
On the Zend Developer Zone, they point out a handy little image manipulation class they've come across - GenXDesign's PHP Thumbnail Class - as well as some details about it.    I've seen a lot of implementations of thumb nail functionality in PHP, I've even written a couple of my own. I like this class thought. In looking over the code the first thing you notice is that it's clean code. I don't mean they use the latest whiz-bang method to cshave a few keystrokes.    This code is simple, nicely formatted and easy to read through. My only real problem with the code itself is that it is not terribly well documented. That can be forgiven since easy to read.    Cal talks about some of the other features of the class, including that it works with gif/jpeg/png images, makes it easy to set the quality of the jpgs, and makes it easy to display the dynamic images directly to the browser. Check out the demo for more.
522938
On of the next steps up from building a regular menubar or toolbar in your PHP-GTK application is the addition of icons to help liven up the menus and help users quickly find what they want. This new tutorial on the PHP-GTK Community Site aims to help with just that.   When creating a soft, you'll often want to have a menu like in the majority of graphical softs. It's often clear in your mind but require more code than you want to do simple things using a plain GtkMenu. So here's a class to help you to quickly design such menus and will also allow you to display nice icon in your menus.   They start with a usage example before getting into the code of the class - a simple menu with a "file" and "help" top menus and under "file", "open" and "exit".    The complete code for the class is included in the post so it's a simple cut and paste away from being yours.
713722
Latest PEAR Releases:Text_Wiki_Creole 0.5.1HTML_QuickForm_Renderer_Tableless 0.5.3PHP_Archive 0.11.0pearweb_phars 1.3.1PHP_Archive 0.11.1pearweb_phars 1.3.2Validate_FI 0.3.0Structures_DataGrid_DataSource_DBQuery 0.1.10Structures_DataGrid_DataSource_MDB2 0.1.10Structures_DataGrid_DataSource_DBTable 0.1.6File 1.3.0Tree 0.3.0pearweb_index 1.0.0RC1pearweb_index 1.16.2pearweb_index 1.16.1pearweb 1.16.0pearweb_index 1.0.0HTML_QuickForm 3.2.8
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.
400984
Ed Finkler has a little PHP6-related humor posted to his blog today - some things he's looking forward to in PHP6:  His tongue-in-cheek list includes things like:  Punctuation-only variable names HDMI outputs ASCII-art generators added to core (once CLAs are signed) Improved elegance   Looking for something a bit more realistic? Check out our posts tagged with php6 to get details on what's to come and some discussion about these new features.
711059
Today a new Editor was added to the site. PHP Designer 2005 (V2.0.0) has been developed by Michael Pham of MP Software and it's looking very promising.
692991
From Carlo on the FCHouse.com blog, there's this new guide to debugging your PHP5 application with the Eclipse PDT functionality in an OS X environment.   In these months I have developed in PHP with Eclipse PDT (Php Development Tool). During the first days I tried to make the debugging works, but without great results, therefore I dropped and I took back the usual debugging technique of every good script developer: echo $variableName; or simply logging everything possible in some log files.   Knowing that this wasn't "the right way" to do things, Carlo searched for something better. He found a hint on another blog and ultimately figured out how to get his Eclipse/Apache/XDebug installation to work on his Mac. His post also includes the "glue" that you'll need to get them all working happily together.
362156
On the Zend Developer Zone, ahamedjais has written up a tutorial that talks to the reader about the creation of an example PHP desktop application via PHP-GTK.   We have been creating web-applications using PHP since it came into existence, now we can also develop Desktop or Stand alone Applications with PHP-GTK. [...] Thanks to PHP-GTK, we can now build cross platform windowed applications with PHP as well.   He starts off by describing what PHP-GTK is and the essentials (like where to get it and how to test to see if your installation is working with some sample code). He also includes links to more resources about PHP-GTK including a PHP-GTK cookbook and a page describing all of the base GTK classes.
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
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.
385236
Scott Mattocks is back with the latest installment of the PHP-GTK news, issue number 22.   It's been a while, but I finally have some time to get back to summing up the world of PHP-GTK. Things have slowed down a little in the past few months on the development side but that doesn't mean that the world of PHP-GTK 2 has stood still.   In this edition, there's a call for help for anyone that would want to join the other (4!) developers in working on the PHP-GTK 2 project as well as some general information about the project and its involvement in the community - from talks at php/db|works, International PHP Conference, and the Zend/PHP Conference to the many PHP-GTK-related articles being printed to a new online resource for PHP-GTK tutorials.
706136
Latest PHPClasses.org Releases:PHPThreaderVery Simple CaptchaPHP ThreaderMultiCurl class libraryPersistenciaOfile classSecurity_TokenPHP poppassd clientTree AJAXClass Treeview
322217
Sara Golemon brings us some news from the front about PHP6 in her latest blog entry today.   While everyone else has been busily gearing up for the release of PHP 5.2 and the new features that are going to come with it, Andrei and his small band of merry babelonians (yours truly included) have been making inroads on preparing PHP6 for a preview release. In the past week we've managed to roughly double the number of builtin functions (those which are part of the main distribution) that have been reviewed for unicode safety, either flagging them as good or upgrading their functionality   She also talks about what kinds of functions this entailed and how far along they are total (around 22%). She also encourages anyone that wants to get involved to help to jump right in.