Simon Filiatrault
|
| Posted: 03/13/2002, 2:45 PM |
|
I am setting up a linux redhat 7.2, PHP, Java, Mysql and Apache server.
My goal is to build tools for FAQ, Customers support, Inventory, Knowledge base, etc... on my company intranet and possible some of it on the NET.
What are the pros and cons between building with PHP and JSP on that kind of platform for those kind of project. I would like to make an intelligent choice for the long run. I don't know either PHP or JSP very much.
Any comments are welcome
Thanks,
|
|
|
 |
Brent
|
| Posted: 03/13/2002, 2:58 PM |
|
With CC you can add JSP snippets of code into ASP or PHP applications so
you're not really locked into one specific language.
PHP is a lot more popular than JSP and PHP should be faster at rendering pages.
This is important if you plan on having a lot of concurrent users.
There is a large knowledge base on PHP on the internet and plenty of books to
choose from. "PHP and MySQL Web Development" by Luke Welling and Laura Thomson"
is one of the best out there. Also "PHP for the World Wide Web" by Larry Ullman
is a good quick start guide.
I don't know how prevalent this is, but users have been turning of Java Scripting
in their browsers because of security concerns. If you do decide on JSP you
will need to advise users that js should be turned on. You can do a lot of neat
things with JSP snippets in an ASP or PHP app, but the number of people using
a full blown JSP application are in the minority. I'm not really sure why. Perhaps
someone else can add their 2 cents worth.<g>
|
|
|
 |
Jeremy
|
| Posted: 03/13/2002, 10:23 PM |
|
If you know JSP, or servlets, use them. I think the security alone is enough benefit in itself. And actually, the design behind a servlet is great for scalability, and can handle many more concurrent users than php/asp could ever hope. Just remember to destroy the memory from time to time, don't rely on a default garbage collector, or something along those lines, to fix it for you. When a servlet or jsp is loaded on the server, it stays resident in the memory, unlike asp/php code. So when another user comes along and performs the same action, BOOM, it can execute it immediately. No initializing, and closing, like "agent" type behavior if you've ever seen lotus domino. ASP/PHP is great too, but if you know jsp/servlets it's neat to implement. Either way, have fun. Email me with any more questions...
Regards,
Jeremy
jlrosine@yahoo.com
|
|
|
 |
Jeremy
|
| Posted: 03/13/2002, 10:31 PM |
|
and still powerful....
|
|
|
 |
Simon Filiatrault
|
| Posted: 03/14/2002, 4:11 AM |
|
What about accessing mysql on the server or another server from JSP. I know PHP has build in access to mysql.
|
|
|
 |
|