Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

TheDailyWTF.com:
Client-Side PHP
Apr 13, 2006 @ 12:03:29

The Daily WTF post for today bears mentioning if for nothing less than to show how to not do things. It has an interesting twist on the whole Ajax craze that's going on in the web today, and takes it to a really scary, pointless level.

The introduction of the XMLHttpRequest component (*) opened the doorway for a new breed of "fancy schmancy" web applications like Flickr, GMail, etc. This, in turn, spawned an entire sub-industry and a new series of buzzwords seemingly based on the names of household cleaning chemicals. It even incremented the current version of the Internet to 2.0.

That said, it should come as no surprise that this Borax-technology has also empowered "certain programmers" to create new perversions in information technology never imagined before. Gustavo Carvalho discovered what happens when XMLHttpRequest and the Eval() function in PHP are combined. I'll leave it to your immagination as to what the server-side looks like ...

You should definitely check out the code on this one - using evil() is bad enough, but passing code back to the PHP server like that is just wrong (and a huge security hole).

tagged: thedailywtf client-side ajax xmlhttprequest eval thedailywtf client-side ajax xmlhttprequest eval

Link:

TheDailyWTF.com:
Client-Side PHP
Apr 13, 2006 @ 12:03:29

The Daily WTF post for today bears mentioning if for nothing less than to show how to not do things. It has an interesting twist on the whole Ajax craze that's going on in the web today, and takes it to a really scary, pointless level.

The introduction of the XMLHttpRequest component (*) opened the doorway for a new breed of "fancy schmancy" web applications like Flickr, GMail, etc. This, in turn, spawned an entire sub-industry and a new series of buzzwords seemingly based on the names of household cleaning chemicals. It even incremented the current version of the Internet to 2.0.

That said, it should come as no surprise that this Borax-technology has also empowered "certain programmers" to create new perversions in information technology never imagined before. Gustavo Carvalho discovered what happens when XMLHttpRequest and the Eval() function in PHP are combined. I'll leave it to your immagination as to what the server-side looks like ...

You should definitely check out the code on this one - using evil() is bad enough, but passing code back to the PHP server like that is just wrong (and a huge security hole).

tagged: thedailywtf client-side ajax xmlhttprequest eval thedailywtf client-side ajax xmlhttprequest eval

Link:

PHPBuilder.com:
Using XML - A PHP Developer's Primer (Part 3)
Mar 24, 2006 @ 13:04:06

For those of you that have been following along, PHPBuilder.com has posted the third and final part of their "Using XML: A PHP Developer's Primer" series. Even if you haven't been keeping up, it's worth a look.

In this edition, they look at more advanced topics - a deeper look at Ajax and how to style the data you get back with XSL, both on the client and sever.

To start, they look at XSL - what it is, how it's used, and some code examples of both the XML and XSL structures to style XML data into a valid HTML page. Of course, you'll need the PHP extension to get this all working, so they step you through the installation/enabling of that as well.

They touch on other topics (like passing variables to a stylehseet and XSLT in Javascript) before getting to a simple XSLT and Ajax example - pulling book data and formating it with examples of both the PHP and Javascript sides.

tagged: xml xslt primer part three style javascript server-side client-side xml xslt primer part three style javascript server-side client-side

Link:

PHPBuilder.com:
Using XML - A PHP Developer's Primer (Part 3)
Mar 24, 2006 @ 13:04:06

For those of you that have been following along, PHPBuilder.com has posted the third and final part of their "Using XML: A PHP Developer's Primer" series. Even if you haven't been keeping up, it's worth a look.

In this edition, they look at more advanced topics - a deeper look at Ajax and how to style the data you get back with XSL, both on the client and sever.

To start, they look at XSL - what it is, how it's used, and some code examples of both the XML and XSL structures to style XML data into a valid HTML page. Of course, you'll need the PHP extension to get this all working, so they step you through the installation/enabling of that as well.

They touch on other topics (like passing variables to a stylehseet and XSLT in Javascript) before getting to a simple XSLT and Ajax example - pulling book data and formating it with examples of both the PHP and Javascript sides.

tagged: xml xslt primer part three style javascript server-side client-side xml xslt primer part three style javascript server-side client-side

Link:

DevArticles:
Sending Email with AJAX - Developing the Client-Side Application Layer
Jan 31, 2006 @ 13:04:50

DevArticles has posted part two of their "Sending Email with Ajax" series today, this time discussing the development of the client side of things.

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.

Building on the previous part, they create a few more modules - an "email sender", "contact listing", "contact insertion", and a function to get things started - initializeEmailClient. The next part of the series will wrap things up, making the server side of things to actually do the work of sending the emails...

tagged: ajax client-side application send email ajax client-side application send email

Link:

DevArticles:
Sending Email with AJAX - Developing the Client-Side Application Layer
Jan 31, 2006 @ 13:04:50

DevArticles has posted part two of their "Sending Email with Ajax" series today, this time discussing the development of the client side of things.

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.

Building on the previous part, they create a few more modules - an "email sender", "contact listing", "contact insertion", and a function to get things started - initializeEmailClient. The next part of the series will wrap things up, making the server side of things to actually do the work of sending the emails...

tagged: ajax client-side application send email ajax client-side application send email

Link:


Trending Topics: