Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
Jan 10 2008, 09:42 AM
Post
#1
|
|
![]() New Member ![]() Group: Members Posts: 3 Joined: 10-January 08 Member No.: 182,501 |
Maybe seems like an odd question to ask but the reason I ask is because I am learning JavaScript which I find fairly hard to pick up and I am going to start learning PHP soon and so I wondered if I am going to find it easier or harder than JavaScript? -------------------- |
|
|
|
Jan 10 2008, 10:40 AM
Post
#2
|
|
![]() Forum Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: HJT Junior Classmen Posts: 3,732 Joined: 7-January 07 From: UK Member No.: 105,123 |
Hello,
I'm In the middle of a Computer Science postgrad and the course deals with php, javascript and others, For me I found that javascript was slightly harder than php, I might change my opinion of this in a few days when I hand in my php assignments -------------------- Regards
Alan |
|
|
|
Jan 11 2008, 07:57 PM
Post
#3
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 5,987 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
I think it sort of depends. If all that you know is HTML, both are going to be hard. And I should point out that they have very different purposes and constructs. Javascript is a client side scripting language, meaning that it loads in the browser along with the web page. Javascript also has far fewer capabilities than does other languages. PHP, on the other hand, is a client side language that is used to generate web content,and it runs on the server. It is much more powerful than javascript, and as such, has a larger library. On the balance, both are scripting languages, and they share some similarities. I think javascript tends to be a bit more cryptic, at least until one gets a feel for the language and understands the Document Object Model. Using php for dynamic web page generation is also a bit hard to get one's head around at first. I think both are equally challenging in their own way, which makes it hard to say that one is more difficult to learn than the other.
-------------------- |
|
|
|
Jan 21 2008, 06:50 AM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 57 Joined: 18-January 08 Member No.: 184,382 |
@puablo: I think you should learn both of them. In trends of web 2.0 you must combine both of them to build a "flexible, attractive, fast" website. AJAX is an example, it's a combination of ASP + JavaScript.
-------------------- |
|
|
|
Jan 21 2008, 02:24 PM
Post
#5
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 5,987 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
QUOTE ASP + JavaScript. No, it is not. AJAX stands for Asynchronous JavaScript and XML, and has nothing to do with ASP at all. -------------------- |
|
|
|
Jan 22 2008, 08:03 AM
Post
#6
|
|
|
Member ![]() ![]() Group: Members Posts: 57 Joined: 18-January 08 Member No.: 184,382 |
QUOTE No, it is not. AJAX stands for Asynchronous JavaScript and XML, and has nothing to do with ASP at all. You are right. Because I made AJAX + ASP therefore I write so. Sorry, this is my mistake. -------------------- |
|
|
|
Jan 22 2008, 05:22 PM
Post
#7
|
|
![]() Forum Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: HJT Junior Classmen Posts: 3,732 Joined: 7-January 07 From: UK Member No.: 105,123 |
Well I just finished my assignments, and I believe php is harder than javascript.
-------------------- Regards
Alan |
|
|
|
Jan 24 2008, 07:08 AM
Post
#8
|
|
|
Member ![]() ![]() Group: Members Posts: 85 Joined: 5-March 07 From: Brighton, UK Member No.: 115,537 |
I don't think either one is 'harder', there both fairly easy to pick up. All you need is a good book and take time to read the books and when there are exercises at the ends, make sure you do them, as they make you think. I would suggest you learn both of them as then you have more tools at your disposal when deciding which language to use when creating a dynamic site, Etc.
Dan |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 10th October 2008 - 03:29 PM |