ArtyPapers.com: P+C DTR - PHP & CSS Dynamic Text Replacement
306132
In this post on ArtyPapers.com today, there's information about a new tool that allows the creation of PHP & CSS dynamic text replacement - P+C DTR.    PHP + CSS Dynamic Text Replacement is a JavaScript-free version of the Dynamic Text Replacement method originally created by Stewart Rosenberger.  P+C DTR allows you to take a vanilla standards-based (X)HTML web page and dynamically create images to replace and enhance page headings using only PHP + CSS. Sick of using the same three fonts? Tired of editing heading images in PhotoShop? If so, P+C DTR might be for you.    This is a definite must see if you do a lot of web work with something more creative than simple text. This tool allows you to create some very nice text in a short amount of time. And, because it's based on simple, open standards, its use is simple too...
275370
A new post to the php.evangelism mailing list has started up a great discussion on something that a lot of users seem to be in favor of - trying to get PHP accepted by Microsoft to be included in its Dynamic Language Runtime environment.   From the inital post:   I am wondering why there isn't any effort in the PHP community to get PHP into the DLR. If nothing, DLR is yet another platform, and for a php programmer it gives one more playground to showcase his skillset. Anyway, my question is whether there would be any community effort to get MS adopt PHP into CLR too. I am sure there is a genuine customer requirement, and enterprises have made quite a bit of investment in PHP and they would all love to be able to take it to the .NET platform.   Responses so far include the pointing out of problems, possibilities like a Zend collaboration and lots of talk on what such a project would entail.
692839
On his "Yet andother PHP blog" today, William Candillon shares a script he's written up to create a visualization of the parse tree of a bit of PHP source code.   I wrote this xslt stylesheet to visualize the parse tree of a PHP source code. The stylesheet can actually convert any XML tree to graph in the dot format interpreted by Graphviz.   His code is a simple seven line script that outputs a nice, clean tree structure image of how the process flows. He includes links to all of the source and files he used to create the tree image.
155453
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: AJAX and PHP Part 1Developer.com: Threads Versus The Singleton PatternNick Halstead's Blog: Google Gears Caching of WordPress in PHPDevShed: PHP, MySQL and the PEAR DatabaseDave Dash's Blog: Installing a PHP that can do symfony+doctrine on DreamhostChristopher Jones' Blog: Upgrade PHP with Oracle Application Server on LinuxPHP.net: PHP 5.2.3 ReleasedPro::PHP Podcast: Newscast for May 31st, 2007Secunia.com: PHP Integer Overflow Vulnerability and Security BypassPHPBuilder.com: PHP and Regular Expressions 101
562803
Greg Beaver has posted a quick note about the latest release of his PHP_LexerGenerator package through the main PEAR website - version 0.2.2.   I just released version 0.2.2 of PHP_LexerGenerator.  This release fixes two bugs, one where / characters were erroneously being replaced by  characters in regular expressions, and another where lexers with no %statename processing instruction were outputting "const 1=1;" which is invalid PHP.   You can grab this latest release directly from the package's homepage.
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.
187716
This month's edition of PHP Magazine has been released!
515083
On the SitePoint PHP blog there's a new post from Harry Fuecks talking about a replacement method using token that works a bit better than the typical regular expression method.   Promtped by a real world example, one often-overlooked feature of most regular expressions engines is how subpatterns can useful to whip up tokenizers relatively easily. The problem? I needed to match the word any of the words "Canton", "Region" or "Group" in a string and perform a follow up action depending on which matched.   His ultimate solution used a set of preg_match generated tokens to do the replaces a bit more reliably. It also makes it easy for other scripts (like his Python example) to use them too.
647262
In a new post to his blog today, Mike Potter talks about the WebORB for PHP software and a new feature based on Adobe technology - a Flex-based console.   [It] includes a service browser, as well as a number of useful examples, showing both the client side code (in Flex) and server side code in PHP. The getting started guide (again, built into the console or available on the web) provides a good tutorial for creating your first WebORB powered application.   He likes the project overall, but notes a small issue he has with starting a new project - a prompt to use the Flex Data Services. Overall, though, he has high hopes for the future of the project.
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
632254
Harry Fuecks has gotten busy and posted the third part of his "Joy of Regular Expressions" series over on the SitePoint PHP Blog today.   Following on from the last part, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.   He looks at two different topics:  A "must reads" section of resources for getting the most out of regular expressions A comprehensive "cheat sheet" with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.
653445
On the SitePoint PHP Blog, there's a new post from Harry Fuecks pointing out an extension for PHP that allows it to use the Cairo graphics library.   Cairo is the "next generation" vector graphics library for Linux and very cool to have it available in PHP. Also cool about the extension was created using PEAR::CodeGen_PECL, which Hartmut describes here: look Mum - no C! (well almost).   Harry also asks if, with the rise of new technologies like this, if it's time to make the move to deprecate GD from normal PHP use - at the same time, removing another hurdle in PHP's path towards being thread safe.
449834
Sebastian Bergmann has posted the results of some benchmarking on the compilation he's done on the branches of PHP from version 3.0 all the way up to 5.3-CVS.   As people keep asking me for an update to my previous benchmarks (PHP / GCC / ICC Benchmark, PHP 5.1 / GCC Benchmark (Update), and PHP 5.1 Performance, I quickly ran a new benchmark today.   He rendered the results out into a series of charts defining the number of total seconds taken for the compile and how long each of the components took. It's impressive to see how much of a jump there was between the 3.0 series and 4.3.   He also includes his compile settings (and machine information) as well as the numbers for the results if you'd like to graph them out yourself.
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
460464
A new posting from Dynamically Typed - More on rich web UIs - has a few interesting links to share, as well as Harry's search for a XmlHttpRequest method.
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.
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.