PHP & AJAX Presentation Online 33
the.admin.man writes "There's been quite a bit of buzz around using PHP as a backend to AJAX-based web applications (the same development methodology on which some Google applications), lately, particularly after the release of JPSpan, a framework that helps building XML-based interfaces between Javascript and PHP apps. Just yesterday, Joshua Eichorn gave a presentation to the Arizona PHP Group on developing AJAX applications for PHP--he's posted the slides online, and will give his presentation again through a free webcast hosted by php|architect."
What is this... (Score:1, Redundant)
Most likely the... (Score:4, Informative)
Generally, all Ajax does is replace the constant "page jumping" that occurs with past server-client web pages. For example, when you are looking for something, and you have to jump across a hundred pages to find it, or when you're filling out a form, it doesn't jump to a new page for "confirmation".
I'm sure there will be a lot of other great uses for it as well. Does anyone remember games like "Stellar Crisis"? I'm sure it'd stand to gain a LOT from Ajax.
Re:Most likely the... (Score:2, Insightful)
Re:Most likely the... (Score:3, Informative)
Re:What is this... (Score:3, Informative)
Re:What is this... (Score:3, Insightful)
Re:What is this... (Score:2, Informative)
Should also say that it's not easy, but it's doable. Use firefox + webdeveloper toobar by Chris Pederick t
Re:What is this... (Score:3, Interesting)
Personally, I love it. Once I figured it out, it struck me at how clunky my old code was. There are many areas where I went through WAY too much trouble putting things into JS arrays and whatnot because I didn't want the visitor to have to refresh. But now I can use common PHP code to get the data when I need it.
The one thing I will say is that there seems to be a lot of needlessly complicated example code out there. I've impleme
Re:What is this... (Score:1, Redundant)
There is also a program in there to take a PHP class and automaticly generate javascript code to wrap it.
I have also set up
Re:What is this... (Score:2)
SQL for the database.
A server-side application language like PHP, Coldfusion, Java/JSP, Ruby, etc.
HTML for the client-side layout.
Javascript for the client-side application program.
AJAX just refers to a Javascript programming technique.
> I got this crazy idea about becoming a web developer
I got this sane idea to STOP being a web developer... you know, what with having to pay
I dunno about throwing it out. (Score:2)
There are various ways to accomplish this, depending on what toolkits you use to make your website. But certainly, an Ajax'd web application feels a lot smoother and more friendly than a non-Ajax'd application.
It's especially useful when editing lists, tables, or groups.
object oriented programming in javascript (Score:5, Interesting)
However, what I'd really like to see is a good javascript library that acts as an abstraction layer that removes the browser differences in javascript, css and html support.
Re:object oriented programming in javascript (Score:1, Insightful)
Somewhere on there net there's a JS program which makes JS work like Ruby (blocks, iterators, etc).
Too bad JS is trapped in the browser like that, having to deal with the outside world via DOMs and documents and junk like that.
Use the library that Rails uses. (Score:5, Informative)
It's very well written, gets a lot of maintenance, and even has some eye candy as a bonus.
Re:Use the library that Rails uses. (Score:1)
This is true. (Score:2)
You can also go to some Ajax-Enabled rails sites and see their source.
It's unfortunate, but that's just the way a lot of web development is these days. People just don't document they way they do in other circles.
AJAX makes more sense with Nevow (Score:1, Informative)
Or, in other words: if you want your web pages
Why PHP? (Score:2, Informative)
Of course I have to plug Ruby on Rails here.. adding dynamic stuff to your app is just 1 or 2 lines of code. This is how it should be!
PHP is fine too, if you bill by the hour.
slides/show (Score:1)
And so, a month from now, I can watch the presentation? Hmm, Let me add that to my calendar [kcoyle.net]. Why so far in advance?
Doing this for years now (Score:1)
Re:Doing this for years now (Score:1, Insightful)
So except for the lack of XML or
Re:Doing this for years now (Score:2)
Re:Doing this for years now (Score:1)
I don't know exactly if/how AJAX style XML requests get around this.
For the love of all that's holy (Score:2, Insightful)
In any case I've built a greasy little forum app that uses the shit out of XmlHttpRequest and it doesn't really require any special toolkit
Re:For the love of all that's holy (Score:2)
The fact that you're even saying this in response to a slashdot article posting means it's far too late.
Roll with it. It's not so bad a name.
Re:For the love of all that's holy (Score:1)
it's just frustrating when people come out with all of these "toolkits" for this and that and do the overnight expert thing for tech that's pretty damned old anyway. ahhhh well.