Widget Initialization Using JSON, HTML Custom Tags and XML files
611128
DHTML components or widgets exist all over the Internet as calendars, toolbars, menus, etc. This week you'll learn about configuring DHTML widgets, the pros and cons and programming techniques to avoid errors and speed up development time. By Nicolas Erlijman. 0117
267028
In the new blog entry, Jonathan Snook shows how to implement "conditional content" on your CakePHP application.   I finally got around to implementing conditional content here on Snook.ca. I've wanted to do this since I moved to the new design just over a month and a half ago. [...] With a little bit of late night development and some quick help from Larry (aka PhpNut, the lead developer of CakePHP), I've developed what I have dubbed "Elemental".   In his example he shows the two parts making up the functionality - the controller with new methods (in app_controller.php) and a new helper called "Elemental". Using the methods enableElement and disableElement you can turn off and on different chunks of code that are stored in an element array.
664550
Sebastian Bergmann has posted an official call for help for a PHPUnit-related project that seems to be a more and more requested feature for the popular unit testing package - an Ajax-based test runner.   It would be great if the frontend for the browser-based test runner would make use of AJAX. Since I am clueless when it comes to both web design in general and AJAX in particular, I would appreciate if someone else could help me with implementing this test runner.   He's looking for the XHTML, CSS, and Javascript to put it all together as well as the Javascript that makes the magic happen. If you're interested in helping out, you can either contact him on the mailing list or in #phpunit on the Freenode IRC network.
507022
On the ParanoidFerret.com blog today, there's a new tutorial showing how to get the Adobe Flex technology to talk happily with PHP over a JSON interface. Their example is a simple form that, given a person's information, finds matches from a backend XML.   To make sure we don't get too stuck in a rut with our tutorial posts I decided to branch out a little bit and talk about Adobe Flex 2.0. I recently spent a lot of time figuring out how to do this. Basically what I am going to go over here is how to use php and json to send data to your flex application, and then how to use that data in Flex.   He includes an example of the app in action plus all of the PHP and Flex code you'll need to make it work on your system. Since Flex has built-in JSON functionality, it makes it simple to query the resource and pull back the information that matches.
653298
In the last part of this series, you'll learn how to build a declarative component for an application with a list of customers which is populated from a server-side data handler using AJAX. By David Johnson, Alexei White, and Andre Charland. 0910
331124
An introduction to XML and DocBook: what is it and why should I learn yet another data format?
174602
Elizabeth Smith has a new post today points out some Windows builds of some of the more popular PHP-GTK2 widgets she's compiled (including GtkSourceview, GtkHtml, and LibGlade).   I have these extensions building on windows, or have found someone else who is building them for windows. You can find downloads that are either the full distributions (if no one else is building them) and/or the runtimes + items needed to build with PHP-GTK2 at my callicore build site with the other gtk libraries.   She uses the rest of the post getting into some detail on how she compiled the modules, issues she had with some, and what widgets/packages are on the horizon.
198672
InfoWorld - Widgets, or small Web applications that supply useful information direct to the desktop, could soon be appearing on your cell phone screen.
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.
635092
MicroNova YUZU is a BSD-licensed JSP tag library designed to augment JSTL (JSP Standard Tag Library) using EL (Expression Language).     YUZU is compatible with both JSP 1.2 and JSP 2.0 specifications (tomcat 4.x/5.x).  JSTL/tagfiles along with YUZU transforms JSP into a powerful framework-independent XML-style "scripting language" for web applications and DSL (domain specific languages).   Features include:    - stackable (nestable beyond tagfile boundaries) tags - nestable/encodable map with XML/JSON support - "codec" functions (useable as JSP 2.0 EL functions)  - structured parameters with support for file-upload/select/radio  - "subroutine" call passing/returning non-string Object  - embedded EL pattern evaluation for regular text and SQL query  - HTTP client and response control  - HTML-to-DOM parser  - multipart email and mailbox  - dynamic method invocation, iterator, map, resource message map    Tags included in YUZU package are:    set, out, map, eval, param, call, return, value, include, log, postData, throw, synchronized, query, update, transaction, response, system, filter, parseHtml, mail, mailFolder   All YUZU tags follow a simple common behavioral pattern (prepare/import/default/process/assign/export) for ease of learning and extension.    CHANGES (20080211)  - added System:serialize and System:deserialize codecs - added Type:ifContained codec - added File:close and File:flush codecs - made System:uniqueId named - added System:resetUniqueId codec - made JSON:encode sorted
726584
I&#8217;m not sure if the Google Ajax Search widgets are new or not, as Google has been developing web publisher widgets based upon Google API&#8217;s for a while, but the implementation of such Google Ajax Widgets is getting easier and easier. In the same tradition of Google AdSense&#8217;s Related Links, content supplied by various Google Search [...]
709186
The PHP-GTK Community site has posted a new poll that ask PHP-GTK developers which, of the choices provided is their favorite editing widget used in their applications.  The choices are:  GtkScintilla GtkSourceView GtkTextView   They also included the "Homegrown" option for anyone that might have whipped up their own. At the time of this posting, GtkScintilla and GtkTextView are tied with two votes apiece. If you're a PHP-GTK developer and have worked much with text editing widgets, head over and cast your vote today!
514265
Our sister site, AjaxDeveloper.org has a new post today with a request from Joshua Eichorn, the developer of the HTML_AJAX PEAR package for success stories.    If you've used HTML_AJAX to make something cool I'd like to hear from you.  If what you've created is publically accessible that would be even better.  Just leave a comment on this post saying what you've created and given a link to it if you can. Any suggestions on improvements that would make further development easier are also appreciated.     With the HTML_AJAX package being as well-developed as it is, I'm sure that there are more than a few out there using it - so get on over and submit your story today!
226364
Antoine Ughetto has quickly posted about an interesting combination - php_tidy and the Yahoo! YUI Treeview to easily make a nested, recursive list.   A rapid experimentation with php tidy and Yui treeview for rendering the DOM of a specific page. We user the tidy_parse_file() and a simple recursive function to display a treeview.   You can check out an example over on their demo page. Plug in your website of choice and get the resulting HTML stricture (all cleaned up) represented as a nice, ordered tree list.
410693
If you've ever needed a good project to get started with combining PHP and Ajax, you should definitely take a look at this new tutorial from the PHPHacks.com website today. They demonstrate how to create a simple RSS reader combining the power of PHP and the client-side abilities of Ajax.   They start by explaining some of the terms they'll be working with, including:  RSS - and an example document XSL - to help create the RSS feed SimpleXML - to read in and parse the info from a remote server  After that, they jump right in, creating their first file - the main functionality for the application (on the PHP side). They opt to do everything by hand and not use any of the frameworks that are already out there so you can really understand what goes into it. They provide all of the code you'll need to get things set up, including the CSS to get things nice and styled and a few usage examples to show you how it all ties in together.
499517
Over on our sister site, AjaxDeveloper.org today, there's a note about the latest release of Joshua Eichorn's HTML_AJAX PEAR package - version 0.3.1.    HTML_AJAX 0.3.1 is out, lots of good bug fixes, and iframe fallback support for Opera and IE with activeX turned off.  More details are available on the release notes on the wiki.  Feature wise were getting close to beta release, its mainly getting a browser compatability test suite added in and doing some basic API review. If you have experience supporting an API without breaking bc, it would be great to get your feedback on HTML_AJAX.    In the release notes, there's mention of several bugs with Internet Explorer implementations and some yet unsolved problems (IE memory leaks and table support in Konqueror). Check out the rest of the notes for more of the bugs and issues they've taken care of...
687610
In this new blog post, Jared White spotlights a feature of the Willowgarden application platform - the template modes.   Unlike many Web frameworks, Willowgarden doesn't provide a different template for every action. All actions are provided via a single template file for the entire page. This works because of the concept of template modes.   He includes a quick example of these templates, creating two files to show the difference - one with the normal templating methodology and the other showing the difference Willowgarden's templates make (more concise and more flexible).