What Beautiful PHP & AJAX Looks Like

I recently saw an image demonstrating What Beautiful HTML Looks Like. I’ve decided to do my own What Beautiful PHP and AJAX Looks Like image. You can also play with the actual application that this image demonstrates if you so wish!

The Source

This example makes use of the Prototype JavaScript library. I’m using this, as it simplifies AJAX calls, and keeps this tutorial simple. You can view the full source here, which you can view, copy and include in your AJAX applications. It contains suffice comments which should help you understand how everything works.

Credit for the email validation goes to ILoveJackDaniels. It’s not bullet-proof, but suffice for this example.

Comments would be much appreciated on this blog entry. Positive and constructive only.

Posted in AJAX, PHP by Ed at November 13th, 2007.
Tags: , , ,

You Might Also Like...

9 Responses to “What Beautiful PHP & AJAX Looks Like”

  1. jurrieb says:

    Coding “Beautiful” is somthing all people should do. I strongly recommend this because it make the code so easy to understand. Keep up the good work

  2. EllisGL says:

    I try to keep my JS at the bottom of the page. IIRC – It’s a Yahoo sugguestion.

  3. Eric Di Bari says:

    That’s a great example of keeping HTML looking good. I’m always a fan of indenting, but sometimes when the nesting becomes too deep it makes it hard to read.

  4. fruido says:

    I have found out this wonderful forum by search engines.It is one of the forums I have found out believe to be here for a very very long time

    By the way If someone of you is too interested in Watch Movies Online Free look my Sig.

  5. Ligeomo says:

    Well…hopefully I have some time to educate myself. Time to start reading. Thanks a lot anybody in advance for your instruction.

    I’m unclear if this is allowed but I am curious about educational software, so that I am living a link in my signature that has plenty usefull guideline close to that subject.

  6. Titonofe says:

    just want to say a big hey there to everyone here. i’m fresh new here and look forward to creating more posts…

    By the way If anyone of you is also interested in Gossip Girl pleases check out my Sig.

  7. Titonofe says:

    Excuse me guys and girls, could a person be so kind and help me out? I got here the other day due to yahoo but now cannot find again the post I have been reading that time :( . And before someone asks, no I’m not blond simply not that excellent with pcs hehe.
    Muack

    By the way If someone is also interested in Gossip Girl TV pleases check out my Sig.

  8. Jay says:

    If this is how you define “beautiful code”, then I can only say you don’t know how to code.

Leave a Reply