HTML_AJAX 0.3.0 is huge leap forward from the previous versions, although it still remains mostly backward compatible with earlier releases. Currently the only change in API occurs in Main.js – some event handlers were colliding so name changes were made.…
HTML_AJAX 0.2.5 released
This is a minor bug fix release, the big fixes updating serverl url handling and some fixes allowing you to specify a class name with case when exporting it. The server url handling allows you to add parameters like a…
Introduction to HTML_AJAX slides available
I gave a presentation at yesterdays azPHP Meeting. The slides from this are now available. Also there should be another HTML_AJAX release today fixing and annoying bug.
HTML_AJAX 0.2.3 Released
This release is a mix of bug fixes and new features. There shouldn’t be any reference bugs left so those of you running on php 4.4 or 5.1 should be fine now. The only item that should cause you problems…
HTML_AJAX 0.2.1 Released
I just released HTML_AJAX 0.2.1, if your running 0.2.0 you’ll want to upgrade immediatly since this fixes a bunch of bugs I added in that version. The main changes are: Bugs: Remove debug message when throwing an exception Fix problems…
HTML_AJAX 0.2.0 Release
HTML_AJAX 0.2.0 is out. There were a number of changes most of them on the JavaScript side. The code is now released on the lgpl so thoses of you with GPL apps should feel comfortable using it now. I don’t…
AJAX – PHP presenter in Boston
I was contacted by the Mark Withingon, founder of the Boston PHP Users group today, there looking for someone who could do a presentation about HTML_AJAX for them in November. Now I would love to fly there and help them…
AJAX Article in php|arch
A new article in php|architect is out, and an article I wrote about AJAX is in it. The article gives a good introduction to AJAX as a concept and then moves into practical use. The issue looks like a good…
The PHP License
As you might have noticed HTML_AJAX is licensed under the PHP license. It is mainly because it borrows some JavaScript for JPSpan that was released under this license. It has been brought to my attention that there are a number…
Website Usage Visuationzation and AJAX Tricks
I’ve been working on a small website stats project, mainly because webalizer et al don’t meet my needs. The actual implementation is mod_log_sql + a bunch of php/sql script to transform that to a star schema and then some php…
AJAX Hello World with HTML_AJAX
This is a continuation of my AJAX Hello World series, in my earlier posts I covered sajax and JPSpan. In this article i’ll cover how to get a basic AJAX appliction up and running with HTML_AJAX. If you haven’t figured…
Say Hello to HTML_AJAX
HTML_AJAX had its first PEAR release today. Its the same version as was voted on so there is no new code but you can use the PEAR installer to get it. Once you have it installed you’ll find the examples…
Frankfurt PHP Users Group AJAX Presentation Wrapup
I just finished a short presentation for the the Frankfurt PHP users group . I’m not sure thats its the best presentation i’ve ever given since I tried to do mainly a overview of the tech as well as a…
HTML_AJAX Call for votes
I called for votes on the HTML_AJAX proposal on tuesday, it has 13 +1’s already so it looks like it will pass. The voting period ends on the 10th so there is still plenty of time for you to review…
Javascript Goodness
Clay over at Pearified has been packaging popular JavaScript libraries an making them available over a pear 1.4 channel. To install them you need to run: pear channel-discover pearified.com Then install the packages like pear install pearified/JavaScript_Behaviour Unless you have…
AJAX Resource Updates
I finally started clearing out my incoming bookmarks folder, still a long ways to go but a lot of whats left are reference links i’ll need when I do the writeup about my embedded mozilla project (thing pdf generation). Anyhow…
HTML_AJAX
If your on the pear-dev mailing list you should have already seen the post but i’ll blog about it here as well hoping to get some feedback. A proposal was made on pepr for an HTML_AJAX library in PEAR. I…
AJAX Resource List updates
I finally got through my incoming bookmark category and read up on all the AJAX stuff that looked useful. I also updated my resource browser code to allow you to browse by any tag. I also had a couple other…
AJAX File upload Progress
A couple days ago I found an interesting ruby on rails project. It uses AJAX to update a progress bar as the file uploads. The trick is a patch to rails for getting upload status and doing the upload in an iframe so that the main page is still active.
So to replicate this I just had to find a patch that provides upload status in PHP and then implment my little iframe upload widget.
I found the PHP with a little work from google: Upload Progress Meter
First you need to install the patch and the extension, the included instructions are easy to follow. The only problem I found is that: upload_progress_meter.store_method = “file” had to be set in my php.ini before thing would work.
I also ran into a JPSpan problem, if your having network problems the status call might take longer then 1 second, and you’ll get Call in Progres error alert. This can be fixed with the current version of JPSpan but i’d like to see some api added to help. The proxied objects need some type of inProgress call to make this an easy fix.
One item of note is that the extension only provides information in a way to provide 1 progress bar per form no matter how many files. The javascript code is setup so multiple forms could be on a page at once and both uploading, but this hasn’t been tested.
Here is the demo you’ve been waiting for, for most connections a 250k file will be enough to see something besides connecting and complete.
A walkthrough of the code and download links are included in the rest of the post.
Also if anyone has the time and skills to review the php patch and see what it would take to get integrated, please let me know. I haven’t heard from its author so I don’t know why its not integrated but it just seems crazy to have a 3K patch that is this useful only available to those who are willing to patch.