Click to See Complete Forum and Search --> : help a newbie!


bluehaley
08-25-2003, 02:54 PM
Hi,

I'm thinking of whether to use JSP or PHP for my little online store. Can someone please give me some suggestions:

1. What are the pros and cons of JSP vs. PHP?
2. What application server (low-cost) goes well with JSP?
3. What database (low-cost) goes well with JSP? Is MySQL a good choice?

Thank you very much for your help. I really appreciate it!

Khalid Ali
08-25-2003, 04:16 PM
JSP could be a better choice depending upon what exactly is your application intend to do.
For jsp you will need extra step for any webserver to recognise(apache needs addtional module to process jsp)

If you are only running some queries for a simple shopping cart type of application,PHP could be a good choice.

Apache+PHP+MySQL is probably the cheapest and very decent combination.

pyro
08-25-2003, 04:36 PM
If you would have tried asking ASP vs. PHP, I would have told you that as far as I'm concerned, ASP stands for "Actively Support PHP" :D

Anyway, I agree with Khalid. Both options are good choices... Which are you more comfortable with?

bluehaley
08-26-2003, 11:38 AM
Thanks, Pyro and Khalid. Sorry for using a bad headline. Will work by guidline next time.

To answer Pyro, I know nothing about either of them. My experience is limited to C++, a little bit of Java and Servlet.

What I try to do is like an online video store. So the customers should be able to search (by title, actor, etc) and of course checkout. I guess PHP+MySQL is the best choice then? The only thing I'm concerned about is scalability. In case my little store grows, do I have to switch to JSP and rebuild it all over again?

Thank you very much for your help.

pyro
08-26-2003, 12:08 PM
PHP is really very powerful, so I wouldn't see any problems in the future, if your site grows.