File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If one is new to AJAX, and a beginner to PHP

 
Wayne Riddle
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would it make sense to to become more proficient with AJAX first and then dive into learning how to use AJAX and PHP together?

Thanks
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although I've only recently started using AJAX, I would say learn PHP (or a similar technology, I use Java Servlets) first. AJAX sends a request to the server, so you need something to process that request. You don't need to be a PHP expert to use it (with AJAX), but you do need some basic knowledge.
 
ryan headley
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most certainly learn PHP first. At the very least, you can start writing an application and not even worry about Ajax, and when you're done still have a fully working app with no Ajax whatsoever.

Like the poster above mentioned. Ajax needs something to talk to on the other side, without that, its just javascript doing nothing. One thing I'm seeing alot of, and it concerns me, is using Ajax/JS just because "we can."

We really need to think about what makes sense when it comes to using these technologies. If there is a need for it in your application use it. It all comes down to what you want your application to do. Do page refreshes bother you? Are the page refreshes taking a long time? Or do you just wanna say, "yeah, my app uses some ajax", etc.

Ajax is a great tool, but don't over engineer to use it simply because its "cool." Learn the server side language first, then learn the other ways to enhance the application you've written with things like Ajax.

Just my 2 Mhz
 
Neil Ford
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Wayne Riddle:
Would it make sense to to become more proficient with AJAX first and then dive into learning how to use AJAX and PHP together?


PHP first I would say... and the JavaScript... and then AJAX.
 
Wayne Riddle
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies, I'll keep brushing up on PHP for now then.
 
Bogdan Brinzarea
author
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would also go for PHP first as it will represent the server side backend of each application. Next, you can start with AJAX. As the AJAX applications become more complex you will need to extend your PHP and AJAX knowledge.


Hope it helps!

Regards,
Bogdan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic