dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 10 of 10

Thread: Ajax and C

  1. #1
    Join Date
    Dec 2008
    Posts
    3

    Post Ajax and C

    Hi All,
    Can anyone help me with good links or tutorial to start using ajax with C programming.

    Thanks in advance

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    C what?

    C++?
    C#
    C

    What version will you be using?

  3. #3
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    AJAX is a javascripting, what's the relation?
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    You can use Ajax with C# - there are lots of examples of that.

    I just don't know about other versions of C

  5. #5
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    that's why I asked what's the relation ... C - Ajax ... ok maybe the question should be:

    "what do u want to do exactly?"
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  6. #6
    Join Date
    Dec 2008
    Posts
    3

    C and Ajax

    Thanks for the reply.

    I want to use C language as the server side program and send request from client side using AJAX and receive the response back at the client.

    This can be done using C#, C++ and ofcourse ASP at the server side.
    My concern was whether Ajax can be used with the server side program written in C language.
    If any one have any reference example to this please do let me know.

    Thanks Hack and Amahdy for the reply

  7. #7
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Well, this is what I found. Hopefully something in there will be of benefit to you.

    http://www.google.com/search?hl=en&q...ide+c&aq=f&oq=

  8. #8
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    ok i never met something like that ... but as u said the AJAX is sending a request and wait results ... if this request is sent to a console application, and the response is graped from a "cout" or something similar ... so maybe u just need a perl module to call which is by its turn will call this application ...
    the thing is all what u can do from AJAX is mentioning the URL of the requested file to execute... whatever this file was an ASP, PHP, PERL ... and can read the normal output from it ... try it (and am not sure) maybe it's the same when u request a C consol application, if not i would search on how to make the server software [IIS or appache] be able to execute a C app.
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  9. #9
    Join Date
    Dec 2008
    Posts
    3
    Hack and Amahdy,
    Thanks again guys for the quick and nice gesture of support.
    Amahdy I looking for the IIS server or Appache server side C implementation. Please do let me know if you happen to come across something similar to the same.

    Thanks Again
    Sunil

  10. #10
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    This link say the same thing:
    http://www.webmasterworld.com/forum92/2556.htm

    The C (or c++ of course) compiled script can run just like any file, put it in cgi-bin and chmod [if u run as nobody] .. or put it in any place if u run as usr ...
    *this is for linux ... for windows u don't need more than allowing the execution permission for 'Everybody'.
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

Similar Threads

  1. Ajax and Browser Positioning
    By dbrook007 in forum AJAX
    Replies: 0
    Last Post: 04-22-2008, 07:40 AM
  2. Ajax within Ajax generated code
    By geekdesign in forum AJAX
    Replies: 2
    Last Post: 09-16-2007, 08:38 PM
  3. using an AJAX function to return a value
    By k285715 in forum AJAX
    Replies: 0
    Last Post: 06-18-2007, 11:06 AM
  4. Ajax: Working in IE but not Mozilla?
    By MarkMac in forum AJAX
    Replies: 0
    Last Post: 03-15-2007, 04:41 AM
  5. New forum + some AJAX links
    By Lori in forum AJAX
    Replies: 0
    Last Post: 02-09-2006, 02:26 PM

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center