PHP vs. ASP and JSP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
freezies
Forum Newbie
Posts: 1
Joined: Sat Aug 15, 2009 7:48 pm

PHP vs. ASP and JSP

Post by freezies »

Hi, I'm new to PHP programming. I have a outdated application made with ThinkCAP and JSP and I need to migrate this program to another platform. I'm thinking of learning PHP with this opportunity.

I do alot of ASP.NET and JSP but I was wondering if PHP has something like the resource bundles in ASP and JSP. If not, how does it support multi-language in PHP applications?

How is PHP in terms of application security?
Which data access services does php use to access database?

Any useful information comparing PHP to ASP and JSP are appreciated. :)
Thanks for your help,
Kevin
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP vs. ASP and JSP

Post by Christopher »

freezies wrote:Hi, I'm new to PHP programming. I have a outdated application made with ThinkCAP and JSP and I need to migrate this program to another platform. I'm thinking of learning PHP with this opportunity.
You will probably need to rewrite from scratch because unlike .NET or Java, PHP is not application server based.
freezies wrote:I do alot of ASP.NET and JSP but I was wondering if PHP has something like the resource bundles in ASP and JSP. If not, how does it support multi-language in PHP applications?
There are multi-language solutions around, but PHP does not provide a standard way to bundle content in different languages. Typically you would just use a database or filesystem to store them.
freezies wrote:How is PHP in terms of application security?
That is a pretty broad subject, but in general you need to provide explicit security to the various attack vectors. That is probably several different conversations...
freezies wrote:Which data access services does php use to access database?
There are database connection libraries for almost all databases in PHP. There are also abstraction layers that provide specific interface styles.
freezies wrote:Any useful information comparing PHP to ASP and JSP are appreciated. :)
I think understand the Share Nothing architecture (and attitude) of PHP would probably be the best place to start if transitioning from another language/architecture.
(#10850)
Post Reply