dcsimg
www.webdeveloper.com
Results 1 to 9 of 9

Thread: ASP and Javascript

  1. #1
    Join Date
    Dec 2002
    Posts
    14

    ASP and Javascript

    Hello all,
    I'm a beginner trying to extend Flash action scripting capabilities. Could someone please explain the relationship between ASP and Javascript?

    Sarah

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    As far as technologies are concern,there is no relationsship between ASP and JavaScript.
    ASP is a direct sub-set of MS Visual Basic and JavaScript can be losely tied with C/C++ and Java family of programming languages.

    Functionality wise,
    ASP is a server side scripting language which is used to enhance the abilities and hide the business logic from a client.
    On the other hand JavaScript is a client side scripting language that has nothing to do with the underlying OS/Machine,
    By Client side I mean that it resides on the client(Browser).

    Hope this helps a bit.

    Khalid Ali

  3. #3
    Join Date
    Dec 2002
    Posts
    14

    ASP and Javascript

    Thank you, Khalid. Your reply helped tremendously.

    Let me ask you another question. If Javascript is a client side scripting language, I'm assuming it invokes certain functions via the application server, right? What language would you use to write those functions that the application server passes on to the web server?

    I hope my question makes sence. I'm knew to this. If you would like me to clarify, please let me know.

    Thanks in advance,
    Sarah

  4. #4
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    If I understood u correctly.
    then there is a variety of programming languages you can use, on the server side
    JSP/Java, ASP, I am not familiar with CGIScripting and PHP but I am certain they have a way of embedding JavaScript as well.

    Khalid

  5. #5
    Join Date
    Dec 2002
    Posts
    14

    Server side languages

    OK. So here is my quandary. I want to build a dynamic web site, which will calculate logarithmic functions based on user input and invisible database info. Does that make sence? I then want the application server to respond appropriately. Would I need both a client side and a server side language to accomplish this or will one or the other suffice? Security is a big issue and would rather not share my log functions with the client, only the result.

    Sarah

  6. #6
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    Ok, here is the point.
    The reason we want to use client side scripting langs(JavaScript etc) is that to minimise the number of connections to the application server, and do as much as possible work on client side,which return makes a faster response to user.
    There now it all depends on your particular case, and how your logic will be and is for your datamodel.

    Khalid

  7. #7
    Join Date
    Dec 2002
    Posts
    14

    Your server-side language

    Thank you, good sir, for all the valuable information. You have pointed me in the right direction so far, so I won't ask you about logic and data models. I will however, ask you what your preferred server-side language is? Could C++ be considered a server-side language? and most importantly, could you suggest a good book on this topic?

    Newbie
    Sarah

  8. #8
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    I gues you could use C++,
    My choice would be java(Servlet or Jsp) and if you have extremely database dependent application model the probably Java,J2EE framework.This will increase your applications prtablity on various OS's.

    If you know more and actual guidance in using java related tecnologies,let ne know,I may be of a help..:-)

    Khalid

  9. #9
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    oops type.
    "If you need more guidance "

Thread Information

Users Browsing this Thread

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

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