Jump to content
xisto Community
Sign in to follow this  
nickmealey

Whats The Beg Thing About Php? help

Recommended Posts

um, I'm just now begining PHP and my SQL and I've read a book about them. But I was wondering, I hear JSP is even better, harder, but better. If you have some good reasons about why this language is so good, do tell. Thanx.

Share this post


Link to post
Share on other sites

the problem with JSP is that it isn't offered by as many webhosts compared to PHP. Because PHP is free, virtually ALL webhosts will support it. I admit that I am more familiar with PHP but, I'm sure that whatever JSP can do, PHP can probably do it as well.There are so many server side languages for creating dynamic pages, you really gotta learn the one you think will benefit you the most. I chose to learn PHP because of the availability.I also know CGI and PERL but those are getting a bit old now and (I think) will be replaced by PHP.

Share this post


Link to post
Share on other sites

um, I'm just now begining PHP and my SQL and I've read a book about them. But I was wondering, I hear JSP is even better, harder, but better. If you have some good reasons about why this language is so good, do tell. Thanx.

60209[/snapback]


every language has it's pros and cons. as JSP is favored because of it's OOP style. PHP as well is liked because of it's C style. JSP is not that support by hosts because of it's low demand unlike PHP which has a very high demand. JSP maybe better than PHP or vice versa. I think that it just depends on how a developer uses the language to create great apps. PHP is really good because of it's system and great support communities everywhere and of course very easy to learn.

Share this post


Link to post
Share on other sites

I don't really know about this JSP, but let me say this. PHP, as far as I can tell, isprobably the most used scripting language on the web. It's what the majority of website developers use. PHP is good because it handles databases very well, it's not hard to learn, and it's free. In my opinion, PHP is probably better than JSP, butthen again, I'm assuming that it is, which is kind of ignorant on my part. :angry: But whatever suits you best is all I can say. To each their own.

Share this post


Link to post
Share on other sites

If you are just learning server-side scripting and such things, just stick to PHP. if you get the opportunity and feel like learning JSP and Servlets, go for it, but to get the full potential out of JSP and servlets you really should learn Java (Java is not JavaScript).

 

Like has been pointed out, they both have their strengths and weaknesses.

 

About OO: PHP 5 has incresed OO capabilities.

Share this post


Link to post
Share on other sites

PHP has a really simple syntax and it's a lot like C. It also interacts with databases really well, and it can manipulate images.It's also got commands for pretty much everything.

Share this post


Link to post
Share on other sites

I see a lot of people talking like HTML and PHP are exclusive. PHP does not modify what your site looks like. It only changes the content, and you still have to use HTML to tell it what the new content should look like. PHP goes on top of HTML, it doesn't replace it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.