Putting PHP and JQUERY/ajax together in a web project
This is a question for PHP programmers who have added JQuery to their projects, I think a lot out of there.
I read quite a few books on both PHP and JQUERY but still have my own doubts on how to properly "assemble" a web project using PHP + JQUERY. I am quite a noob specially on JScript and this means a whole new world to me, and I love the separation of style and behaviour proposed by the non obtrusive model.
So I have basically PHP pages (could be html but PHP gives me more possibilities like "picking up" the header, footer from a single PHP) and now I am adding JS with JQuery driving the requests (async mostly via ajax) to the PHP server pages.
Question is: How do you organize your code? For the "served" PHP code you use single separate files or a monolithic file called with different parameters?
Any tip that I can use or site to point me to them? Thanks a lot !!!