+ Reply to Thread
Results 1 to 6 of 6

Thread: What language is this?

  1. #1
    Doan is offline x10Hosting Member Doan is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    44

    What language is this?

    view-source:http://www.nirvanahq.com/

    *copy and paste into address bar.*
    Last edited by Doan; 08-22-2010 at 10:39 PM.

  2. #2
    techairlines's Avatar
    techairlines is offline x10 Flyer techairlines has much to be proud oftechairlines has much to be proud of
    Join Date
    Jul 2009
    Location
    New York City
    Posts
    2,853

    Re: What language is this?

    I believe its coded in PHP.

    http://www.nirvanahq.com/index.php loads the home page, though index.html does not exist (neither does several other index languages I tried).
    Best regards,
    Brian Yang - TechAirlines


    How am I doing? Click the star button at the bottom left to rate this post. Thanks.
    Terms of Service | Account Portal | Wiki

  3. #3
    bhupendra2895's Avatar
    bhupendra2895 is offline x10 Elder bhupendra2895 is an unknown quantity at this point
    Join Date
    Jun 2010
    Location
    India
    Posts
    554

    Re: What language is this?

    These are the headers that my browser sent to open https://www.nirvanahq.com
    Code:
    GET / HTTP/1.1
    Host: www.nirvanahq.com
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9pre) Gecko/20100805 Ubuntu/10.04 (lucid) Namoroka/3.6.9pre
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: chrome://global/locale/intl.properties
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    And these are the headers it recieved in reply.
    Code:
    HTTP/1.1 302 Found
    X-Powered-By: PHP/5.2.11
    Set-Cookie: PHPSESSID=p13e1b67jq67lh7gatdf0u8sg0; expires=Wed, 25-Aug-2010 05:31:10 GMT; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Location: http://www.nirvanahq.com/
    Content-Type: text/html
    Content-Length: 0
    Date: Mon, 23 Aug 2010 05:31:10 GMT
    Server: lighttpd/1.4.22
    Which clearly suggests it is php and lightpd combination, where php is programming language and lightpd is web-server.Whole credit for this info goes to live http header add-on of Firefox.
    Liked this? Click on the icon on the bottom of post to make me .

  4. #4
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: What language is this?

    Since you made reference to the view->source, I'm going to assume that you aren't so much interested in the back-end language as what you've seen in the browser. I'll assume that you are familiar with (X)HTML. That leaves the constructs in JavaScript that you may not be familiar with. This stuff:

    Code:
    var nirvtweets = 
    				[
    					{ 
    						'user' : 'madlift',
    						'link' : 'http://twitter.com/madlift/statuses/9169264245',
    						'tweet': "Very cool time management/organizer app. Sleek and slick. Has a very mac style to it. Check it out." 
    					},
    					{ 
    						'user' : 'allieseligman',
    						'link' : 'http://twitter.com/allieseligman/status/8197738981',
    						'tweet': "I'm getting so jealous of my husband. He's becoming quite organized, while I wait for my invite." 
    					},
    /* --- snip --- */
    					{ 
    						'user' : '_djh',
    						'tweet': "Use #GTD to stay organized? Check out @nirvanahq - potentially the best GTD app yet.",
    						'link' : 'http://twitter.com/_djh/statuses/10003509371'
    					}
    is literal object notation (JSON). It's functionally equivalent to this:

    Code:
    var nirvtweets = new Array();
    
    nirvtweets_0 = new Object(); 
    nirvtweets_0['user'] = 'madlift';
    nirvtweets_0['link'] = 'http://twitter.com/madlift/statuses/9169264245';
    nirvtweets_0['tweet'] = "Very cool time management/organizer app. Sleek and slick. Has a very mac style to it. Check it out.";
    nirvtweets[0] = nirvtweets_0;
    
    nirvtweets_1 = new Object(); 
    nirvtweets_1['user'] = 'allieseligman';
    nirvtweets_1['link'] = 'http://twitter.com/allieseligman/status/8197738981';
    nirvtweets_1['tweet'] = "I'm getting so jealous of my husband. He's becoming quite organized, while I wait for my invite.";
    nirvtweets[1] = nirvtweets_1;
    .
    .
    .
    Obviously, the literal object notation is a lot less verbose, and can more easily be created from a database query than the second version. That's why it is used so extensively in "AJAX" (which, really, should be called "AJAJ" if you're using JSON rather than XML as the transport format).

    The only other possible source of confusion I can see is the jQuery stuff -- the things that begin with $(). jQuery is just a JavaScript library that makes cross-browser web applications easier to develop. There's a major download cost to get the simplicity, but if your <script> tag points to the library kept at the Google code repository, there's a good chance that the user will already have the library cached locally.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  5. #5
    a.fatman84's Avatar
    a.fatman84 is offline x10Hosting Member a.fatman84 is an unknown quantity at this point
    Join Date
    Jul 2010
    Posts
    2

    Re: What language is this?

    Thanks for the link to Nirvana.

  6. #6
    Bigbucks2528 is offline x10Hosting Member Bigbucks2528 is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    69

    Re: What language is this?

    More than likely it is PHP, an with HTML as well
    Have I helped you out? Click the pretty little button to the top right of my post( )

+ Reply to Thread

Similar Threads

  1. Replies: 9
    Last Post: 11-26-2009, 10:48 AM
  2. Language
    By neonight in forum Free Hosting
    Replies: 2
    Last Post: 09-17-2009, 03:48 PM
  3. what the best web language?
    By nuno_18 in forum Off Topic
    Replies: 20
    Last Post: 02-25-2009, 09:35 AM
  4. Web language
    By Marzy in forum Feedback and Suggestions
    Replies: 9
    Last Post: 11-07-2007, 08:09 PM
  5. [REQ] what language is this
    By Derek in forum The Marketplace
    Replies: 7
    Last Post: 10-13-2006, 03:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers