+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    entrepreneur231 is offline Junior Member
    Join Date
    Jul 2009
    Posts
    6

    javascript, php and sql

    can anyone let me know what the difference is?

    and please go in detail

  2. #2
    Qloud9resident is offline Junior Member
    Join Date
    Jul 2009
    Location
    Tennessee
    Posts
    13
    my advice would be to go on wikipedia or w3schools website. Those three would take hours and hours to tell you the difference, in detail.

  3. #3
    clmpwnz's Avatar
    clmpwnz is offline Junior Member
    Join Date
    Jul 2009
    Location
    TN, HI, MI, FL, MI, AZ
    Posts
    4
    If you don't know the difference between js, php, and sql, going into detail isn't going to help you much, because you won't understand it. BUT...here goes:

    PHP and JS are both scripting languages, however, PHP is a server side scripting language, which means it's ONLY executed by a server (not on your computer - and if you want to test it on your computer you have to install a server - Apache). Javascript runs client side, meaning you can run it on your local computer.

    SQL is a type of database that you would use PHP to modify and manipulate - there is SQL coding that is done as well, for database querying and interaction.
    Our Website: http://www.clmpwnz.com
    Follow Us on Twitter: www.twitter.com/clmpwnz

  4. #4
    Joshua Jones's Avatar
    Joshua Jones is offline Senior Member
    Join Date
    Aug 2008
    Location
    Atlanta, GA
    Posts
    118

    Thumbs up Nice explanations

    Quote Originally Posted by clmpwnz View Post
    PHP and JS are both scripting languages, however, PHP is a server side scripting language, which means it's ONLY executed by a server (not on your computer - and if you want to test it on your computer you have to install a server - Apache). Javascript runs client side, meaning you can run it on your local computer.

    SQL is a type of database that you would use PHP to modify and manipulate - there is SQL coding that is done as well, for database querying and interaction.
    That's pretty much it. I also agree with the W3 Schools method of learning.

    JavaScript - Browser based scripting language that is the foundation for the vast majority of web applications these days (see AJAX). JavaScript can make changes to a website at run time without page reloads and can query a database using AJAX calls to a server side scripting language like PHP.

    PHP - (per php.net) PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML and can connect to a database.

    MySQL - This is a database, just like SQL or MS Access.

    You basically think about out all the information you will need to store and/or leverage - map it out in the MySQL database as specific tables, then build your PHP scripts to interact with your database tables and finally, use JavaScript to update your HTML content with the results of the PHP execution.

    While JavaScript is not necessary to have a database driven web application, it just makes things "appear" to move faster and fluidly with virtually no additional server load.

    Lastly, all 3 of these are open source technologies, which makes development and maintenance costs much lower. Hope that helps.

  5. #5
    buzzlair's Avatar
    buzzlair is offline Member
    Join Date
    Aug 2009
    Location
    United States
    Posts
    65
    and all of them if combined together considered as an oop programming language and generally base on MVC pattern

    M - Model
    V - View
    C - Controller

    especially when it comes to php where in php, it is integrated in its skeleton - the xhtml. and make-up by CSS. php is basically the engine, where all the logic, process is in. in php too, an executor is in place, the C - controller who trigger the process.

    javaascript is interesting. its basically a script that would bring the level of experience a bit higher in web development. - only if you know that im talking about AJAX (mootools, jquery)
    Follow me on twitter

    Add me on Facebook

    Check my website at Buzzlair

    Read my blog at Posterous

    If you think that what ive written is interesting, dont forget to visit my website and leave a comment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Untitled Document
YoungEntrepreneur Logo Featured on: Business Week About Alltop Wall Street Journal

Terms of Service | Privacy Policy


SEO by vBSEO 3.5.0 RC3