I have a question, my clients want to create a web based enterprise system which would be fairly large and would have around a million users online at any given time. the client is leaning towards php as the presentation layer with the business/service/dao layer in java. this system needs to be deployed on the cloud. could someone outline the broad architecture. I am new to cloud computing and php too. I want to understand how would the php layer invoke my java services? how do i take care of sclability of my application and trasaction support for the different use cases? Also, could i use the DB on the cloud and which one would you guys recommend? Can anyone tell me How do I deploy the system on the cloud.
Another issue is that I am not sure why client is leaning towards PHP for web interface. Our website would be highly interactive and will have lots of users, so he believes that since stuff like facebook, photobucket and yahoo uses PHP his website should also be based on PHP. Also, i guess there are not too many popular alternatives that i can showcase that was developed in Java interface (probably linkedin and ebay is).. can anyone tell me if using PHP instead of java based web framework would be a good choice for presentation layer?