www.webdeveloper.com
Results 1 to 5 of 5

Thread: Why JS

  1. #1
    Join Date
    Nov 2013
    Posts
    6

    Why JS

    hello.
    i'm new in web development i use php for web (that is a scripting language like javascript), why should we need JS?
    both are scripting language. would i have a problem if i continue not using JS?

  2. #2
    Join Date
    Oct 2013
    Posts
    5
    - well you can have site without it, but if you want to have site which is "up to date" and probably your client would like to have sites that doesn't stand out (old). then you will need to learn JS. check JQUERY plugin which give you the overall understanding of what can you do using js: http://jqueryui.com/demos/

  3. #3
    Join Date
    Mar 2011
    Posts
    1,144
    JavaScript allows you to enhance your webpages so that they respond directly to user actions and create dynamic, animated displays. Effects like revealing additional content when a user clicks on a particular element are done in JavaScript. Validating form entries without requiring a call to the server can be done in JavaScript. Slideshows and other animated image gallery effects are done in JavaScript. In all, JavaScript is a vital skill for any serious web developer.

    However, I wouldn't advise trying jQuery until you learn the basics of JavaScript. jQuery is a framework for creating JavaScripts. It includes a large library of built-in functions that are very useful and can significantly speed up your development when you're working on advanced level software. But it comes at the price of loading at least one additional file on every page that uses it, and it won't teach you the fundamentals of JavaScript. Once you know the basics, you can make an intelligent decision about when it make sense to use jQuery.
    Rick Trethewey
    Rainbo Design

  4. #4
    Join Date
    Oct 2013
    Posts
    17
    For me Javascript/Jquery/AJAX allows me to build web apps that are comparable to desktop apps. The advantage is the app can run on a PC, Mac, iPad, Android or other device with little to no extra effort. I usually only do PC desktop apps since adapting the app for other platforms is cost prohibitive. Also updating desktop apps is a pain. I can just update the files on the server and everyone has the update immediately. I view Jquery as an easy to use wrapper around numerous capabilities in Javascript. You don't have to use it but you would be insane not to.

  5. #5
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,362
    Three reasons I can think of

    1.Javascript was around long before PHP or serversides were and everything had to be client side and JS had more power and access to client side than it does now.
    2. it can allow seamless apps to be made using AJAX to interact with server sides like PHP
    3. it can be used to modify page content, update pages with new information and provide support for playing media or something as simple as a web page clock that displays in the users local time regardless of server location.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles