PHPClasses.org: Responsive AJAX applications with COMET
622183
From PHPClasses.org today, there's a new article describing the combination of a few technologies - more specifically Ajax, Comet, and PHP - to create responsive applications.    This post describes an approach used to implement highly responsive AJAX applications using the COMET approach. It describes in detail how the AJAX COMET approach can be implemented in PHP.   It also discusses how HTTP compression and chunking affect AJAX response delays, as well aspects that may influence the choice between Apache 1.3.x with mod_gzip versus Apache 2.x with mod_deflate for AJAX COMET applications.    Manuel breaks the tutorial up into sections:  Multiple response AJAX requests COMET: Multiple response AJAX request implementation HTTP compression Page compression delays Avoiding mod_gzip dechunking Apache 2.2.x with mod_deflate  For each topic, there's a bit of explaination and some links to reinforce the ideas. There's not really any code, but he does link to various classes that can help combine to meet the goal.
611971
Although frankly I really didn't feel the need to read the entire thread, I can tell you that the posting to the PHP 3 mailing list is related to the Smarty Templating Engine back in the day. In fact, I believe this was the original spec Andrei proposed before Smarty even existed. Although I don't remember the exact e-mail, this posting reminded me that there was a point in time I thought exactly this way... quoting myself:
153871
Latest PHPClasses.org Releases:PHP HTML Graph ClassForm Data CleanerimagebmpWMSServerSharedMem Session HandlingFTP Writer ClassDatabase Connection Classesfile2menuRequestDirectory MatchEasy CronSQL Handling FunctionsPHP JavaScript Tooltip Generator ClassUnit testing classDAOSQL2CSVmabp::request
355469
Popular posts from PHPDeveloper.org for the past week:DeveloperTutorials.com: AJAX and PHP Form ProcessingPHPRiot.com: Monitoring File Uploads using Ajax and PHPCommunity News: Has Smarty's Time Come?Deasil.com: Lessons to be learned from PHPIan Bicking's Blog: What PHP Deployment Gets RightDaniel Crook's Blog: Mashups from IBM at NYPHP in JanuaryMike Naberezny's Blog:  Horde/Yaml 1.0 ReleasedMikko Koppanen's Blog: Padding thumbnail with colorRichard Lord's Blog: If you want to create AVM2 swfs from PHPZend Developer Zone: PHP Abstract Episode 31: Book Review - Sitepoint's PHP Anthology, 2nd Ed.
67530
According to this latest blog entry, Joshua Eichorn has released the latest version of his PEAR package combining PHP and Ajax - HTML_AJAX 0.3.4.    HTML_AJAX 0.3.4 was released today, it contains lots of bug fixes so if you use HTML_AJAX youâll want to upgrade.  Release notes and testing results are available on the wiki, and the examples are available online if you want to see some of the basic features.    According to the Changelog some of the fixes include: an update to assignAttr in HTML_AJAX_Action, Request timeouts errors, std input when HTTP_RAW_POST isn't set, and a few more. You can get this latest release here...
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.
185572
On the ProDevTips.com website, there's a new tutorial (part one of a series) that walks the developer through the integration of the Zend Framework, some Ajax functionality and Smarty to create a feed reader.   In this series I will walk you through the code of a site that uses only Ajax and Scriptaculous to handle it's completely windowed interface. Making an interface like this is not really good design, it's only done here for the sake of teaching. It is kinda cool though. Especially if you have a big screen.   The source code is available for download and having it makes the installation and setup of the system much simpler. With it, you're only about fifteen steps away from getting the application up and running.
242013
Popular posts from PHPDeveloper.org for the past week:ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6Nessa's Blog: Using an .htaccess with PHP Compiled as CGIArnold Daniels' Blog: How I PHP: The Output Handler - ContinuedMartynas Jusevicius' Blog: PHP 5 features: Class autoloadingSean Coates' Blog: Actually Solving a Problem (believe it or not)The Northclick Blog: Message Queue Project: First working versionStefan Mischook's Blog: A Question about object properties in PHP ClassesJob Posting: G2 Technology Seeks PHP Developer (Memphis, TN)Rob Allen's Blog: Zend_View: Access the view from a view helperDavid Walsh's Blog: Using PHP Generic Objects To Organize Your Code
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...
272507
On our sister site, AjaxDeveloper.org, today, there's a new post that mentions the latest blog post from Joshua Eichorn - a look at Javascript behaviors in his PEAR package, HTML_AJAX.    Welcome to part two of the series "Sending email with AJAX." In three parts, this series goes through the making of a simple web-based email application. It uses AJAX as the driving technology for fetching the files responsible for sending email from the server, as well as for adding and updating contacts.    This part covers the development of a "email sender" module, a "contact listing" module, the "contact insertion" module, and, finally, starting things up with the initializeEmailClient function.
674304
Mike Wallner has thrown together some stats for the latest edition of the pecl/http package to test its response performance.   The results surprised me, because it clearly shows that the performance drop for starting the PHP engine and doing the neccessary negotiation to provide caching is not that bad.   There's a chart of the results as well as a full PDF with all of the stats the graph maps out. He includes the legend to make the graph easier to understand.
186014
Latest PHPClasses.org Releases:Simple CURL WrapperMoney CurrencyDraw SudokuPlay List ImportercPanel APIDate Drop Down List GeneratorBig Number CalculatorRSS ErrorSession in CookiesPHP MS WordOverall Tag ViewGoogle Calendar WrapperGraidleAJAXed list boxes
313541
Latest PHPClasses.org Releases:Guaranix Full TextACEStereo Anaglyph ImagesStar RatingForm Table GeneratorSteggerCheck ISDNPHP date picker classwalutySuggesterSMS gateway APIPHP Cookie ClassPHP Email To DBCode MapEasy MySQL classCurl HTTP ClientrsMandelbrotMy Easy Copy
535174
Jan Lehnardt has been working up a REST controller for a PHP application he's been developing and has posted a minimalistic structure for one he's worked up.   One of the projects involves very little code and I do not want to use a full fledged framework there. Another one is using Code Igniter which does not handle REST by default (as far as I can tell). So I wrote a minimal REST application controller that easy to integrate and very flexible.   His example makes a base class that is extended by each of the controllers needing REST functionality. It includes methods for dispatching, error handling, responding and passing the call to the right handler.
1897
Latest PHPClasses.org Releases:Auto-Gen CSS FormsadebugFox captchasecShieldImage ResizerPage Rating Classl10nFuerte Image ToolOsiris CoreOsiris CoreArZipStrOTP_TSArZipStrDBNavigatorWAP PushphpTubegCachePaging Class with AJAX or HREF
719917
Latest PHPClasses.org Releases:phpmmPHP Array to JavascriptDay IteratorFile Reader and Writer AbstractionDirectory and file infoSimple PagerSimple ListScript timerMessage HandlerText 3DWindowFXLake effectWPGetYahoo Messenger PM send via PHP
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.