Developing Web Applications with Ajax, Pt. 4
603201
This week you'll learn how to submit information through forms without reloading the page. We'll begin with the form's HTML, and then we'll move onto adding the JavaScript for submitting a form with Ajax. By Jonathan Fenocchi. 0719
1897
Latest PHPClasses.org Releases:Auto-Gen CSS FormsadebugFox captchasecShieldImage ResizerPage Rating Classl10nFuerte Image ToolOsiris CoreOsiris CoreArZipStrOTP_TSArZipStrDBNavigatorWAP PushphpTubegCachePaging Class with AJAX or HREF
745384
Joshua Eichorn mentions today about the "digital shortcut" created for his upcoming book "Understanding Ajax" from Prentice Hall.    A chapter from my book, Understanding AJAX has been made available as a digital shortcut. This chapter covers the different ways you can use the data you transfer using XMLHttpRequest.   Document centric approaches based on HTML and XML are described as well as various RPC approaches are shown.    The shortcut focuses on consuming data sent back in an XML or JSON format (and costs $9.99 USD). Joshua notes that he, personally, tends more towards "JSON based RPC approaches or HTML document based approaches" for his communication method. He also mentions client-side XSLT as an alternative to having to parse through and style the large amounts of data returned.
612499
This week you'll go through the steps of building an AJAX DataGrid control, which is used to iterate over a list of JavaScript objects. Other topics covered are the behavior component, databinding, templating and the declaration. By David Johnson, Alexei White, and Andre Charland. 0904
104466
Matthew Turland has mentioned his article in the latest issue of php|architect magazine (the December 2007 issue) covering web scraping.   Just a quick post to announce (albeit a little late) that the December 2007 issue of php|architect, which includes my article on web scraping. Please buy a copy, give it a read, and feel free to post comments on the forum thread for the article. I'd love to hear some reader feedback!   Other articles in the issue include "Writing an Object/Relational Mapper in PHP", "Understanding CLI" and the cover story "Going native with mysqlnd".
165210
Free and independent Ajax developers are turning away from commercial development tools and opting for free, open source alternatives.â¦
318761
DevShed ramps up another new series today with this new article giving developers a look at working with object-oriented programming through the eyes of design patterns. It's another excerpt from the George Schlossnagle book "Advanced PHP Programming".   This chapter provides an overview of the advanced OO features now available in PHP. Some of the examples developed here will be used throughout the rest of this book and will hopefully serve as a demonstration that certain problems really benefit from the OO approach.   The article lays down the foundation for the more complex information to come. It introduces object-oriented programming briefly, and talks about some of the handy features of it - like inheritance, static attributes and methods.
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.
449459
DevShed continues their series looking at some of the fundamentals of working with PHP in this new tutorial posted today. It looks at one of the flow control statements the language has to offer and a very useful data structure - the switch statement and arrays.   In our last exciting adventure (back in early November), we braved crocodiles, ravenous editors, most of the PHP statements, and beginning loops. In this edition we'll cover the final statement, the Switch, and discuss arrays. So sit back, order your R2D2 robot to bring you a cold, frosty Jolt Cola, and let's get cracking.   They start with a simple example of a switch statement (to echo out strings) and follow it with a detailed description of the different sorts of arrays - numeric indexed, associative and multidimensional versions.
38202
On CodeSnipers.com today, there's a new book review posted of the APress book "Beginning Ajax with PHP" by Lee Babin.   Although no stranger to Ajax, I received a review copy of Beginning Ajax with PHP expecting some watered down presentation of Javascript with some PHP thrown in. I was quite surprised to find a good presentation of using Ajax and PHP, easy enough for the beginner and still interesting for those who have done it for years.   Nola covers the contents of the book, generalizing the sections just to give you a brief overview of what's going on in each chapter. She also describes the end of the book as a "random splattering of interesting topics" dealing with using Ajax in different, useful situations.
320001
Hoping to spur development of Web sites using the AJAX development platform, Google on Tuesday released the Google Web Toolkit. The platform would allow those with knowledge of Java to create browser compliant JavaScript and HTML easily.
97624
In this new blog post today, Richard Thomas shares a simple helper he's created to help tie PHP and Javascript together via jquery - Pjq.    This is a simple php handler, it doesn't try to generate javascript for you, honestly if your using jquery you better already be able to write your own javascript ;).   The goal is to provide a extremely simple way to call php functions from within javascript and either get data back, inject php generated html or call jquery functions from php.    You can check out his demo here - three simple examples showing how to get JSON values, inject HTML, and some more complex work with Javascript and CSS.
6134
In this new tutorial from WebReference, they show you how to develop a simple database-enabled Ajax application in PHP.   In this article you'll learn how to create database-enabled Ajax requests using PHP and MySQL. We begin by creating the front-end HTML and JavaScript files used to make requests to the server-side. The requested server-side is a PHP file which bridges the gap between Ajax and a PHP object that connects to a MySQL database and returns results as an XML response to the Ajax engine.   The application is a simple way to enter news postings into a database and pull them back out with this handy Javascript functionality. They also provide the complete source code for download to help you get started.
439562
In a new post to his blog today, Danial Krook shines a spotlight on a the technology that bridges the gap between two different languages - Java and PHP.   In the time since I wrote that post [talking about PHP with WebSphere], and particularly in the past month, there have been several items published which demonstrate the value of this technology. I still need to delve deeper, but hereâs a quick summary of whatâs going on.   He looks quickly at this combination, breaking it out into four parts - what the technology is, how it allows PHP and Java to work together, where you can download the needed software from and some resources where you can find out more information on implementation and examples of it in action.
466365
Cameron Olthuis wants to share the tools that he finds th emost useful with the entire web, so he's posted them here on his blog.   His list includes libraries from all different technologies, not just PHP. Several are Javascript-related, but it's always good to have a complete toolkit on hand when trying to tackle some of the more difficult things.   Included in his list are things like:  Moo.fx - a Javascript effects library Swat - an open source web application toolkit PEAR - the PHP package repository Mochikit - lightweight Javascript library    Be sure to check out the post and its comments for more great resources!
625065
On DevShed a new series has started (a six-part one) with This new tutorial posted today talking about the use of the Yahoo! web services in a PHP5 application.   It's not my intention to provide you here with a fully-featured guide on how to use Yahoo!'s Web services with PHP 5, because the best place to go is simply the aforementioned Developer Network. Instead, I'll offer to you a bunch of code samples that hopefully will assist you in the development of PHP 5 applications that will utilize some of these useful web services.   You'll need to get an Application ID to work with before you get started (go here to sign up, you'll also need a Yahoo! ID), but the rest of the code is provided. They make a search request to the Yahoo! backend for "madonna" and show the XML formatting of the results.   They also include examples of querying two other services offered by the company's backend API - video search and an image search.
601472
Three-step guide Fundamentally, there's nothing terribly new about the problems posed by Asynchronous JavaScript and XML (AJAX) when it comes to security, we just need to apply some good old security principles to this new technology.â¦