view-source:http://www.nirvanahq.com/
*copy and paste into address bar.*
view-source:http://www.nirvanahq.com/
*copy and paste into address bar.*
Last edited by Doan; 08-22-2010 at 10:39 PM.
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 thestar button at the bottom left to rate this post. Thanks.
Terms of Service | Account Portal | Wiki
These are the headers that my browser sent to open https://www.nirvanahq.com
And these are the headers it recieved in reply.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
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.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
Liked this? Click on theicon on the bottom of post to make me
.
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:
is literal object notation (JSON). It's functionally equivalent to this: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' }
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).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; . . .
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)
Thanks for the link to Nirvana.![]()
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()