ASP Tutorial part 1

I was learning asp and figuring out how to do simple things in the now almost obsolete language.

But i heard the knowledge of asp helps you work in the Microsoft Technologies like ASP.NET etc.

Lets get started rite now.If you have worked on php you will be knowing tags.

Similarly in asp the ASP tags are <% and %>. You need to place your asp code between the same.

example1:
[code lang=”asp”]
<% response.write("Hello World!")%>
[/code]

for working in any server side language, HTML knowledge is must. Its not that difficult to learn html. You can use html within asp response statement.

[code lang=”asp”]
<%
response.write(“

You can use HTML tags to format the text!

“)
%>
[/code]
Next time we will deal with variables and loops.Happy ASP ing!! .

Simple Easy to use ASP XML/RSS Parser

I would like to share with you people a simple xml to html parser i found when working on a related project.

It contains two files. The xmlParser.asp and xmlStyle.xslt
The xmlParser.asp
[code lang=”asp”]
<% response.ContentType="text/html" dim objXML, objXSL set objXML=server.CreateObject("MSXML2.DOMDocument") set objXSL=server.CreateObject("MSXML2.DOMDocument") objXML.async=False objXSL.async=False objXML.setProperty "ServerHTTPRequest",true objXML.load "http://domain.com/rss_url" objXSL.load Server.MapPath("xmlStyle.xslt") response.write "" response.write objXML.transformNode(objXSL) response.write "" set objXML=nothing set objXSL=nothing %>

[/code]

xmlStyle.xslt

[code lang=”css”]







  • _blank



  • [/code]

    Microsoft working on Open Source ?

    Here�s an interesting read. Looks like Microsoft�s Sleeping with the Enemy !

    ââ?¬Å?An investigative report into the Linux lab at Microsoft has revealed some interesting twists to Microsoftââ?¬â?¢s often stormy relation ship with the world of Open Source Software (OSS).

    The lab, which opened last September, is run by Bill Hilf, a former programmer for IBM. Originally, it was set up to ââ?¬Å?help Microsoft understand the phenomenon of open source software and improve our products because of that.ââ?¬? But over time, the role of the lab has changed, from merely wanting to understand the ââ?¬Å?enemyââ?¬? towards a tentative effort to working with them.ââ?¬?
    Link: Microsoft�s Linux lab works on Open-Source interoperability

    Yahoo Gave Search Data To Bush Administration

    Yahoo Inc. on Thursday acknowledged handing over search data requested in a subpoena from the Bush administration, which is hoping to use the information to revive an anti-porn law.

    Yet another reason to dislike Yahoo, Google is fighting the goverment tooth and nail over this one, where as Yahoo is laying, and giving away your private information like the little bitch they are.read story

    Vista’s successor to be code-named Vienna

    Microsoft loves using code names. If you can remember what the monikers Longhorn, Orcas, Whidbey, Whistler, Janus, Hydra, Bobcat, and Thunder represented within Microsoft at one time, then my hat’s off to you. If that’s the case and you are a Microsoft code name fanatic, then you also probably know that the successor to Windows Vista is code-named Blackcomb, or so it was. The next, next generation Windows operating system is now being called Vienna, as confirmed by Robert Scoble via Channel 9.

    Database Replication In MySQL

    This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync. This is not a backup policy because an accidentally issued DELETE command will also be carried out on the slave; but replication can help protect against hardware failures though.

    India plans unmanned Mars mission

    The government of India has already announced plans for a lunar space mission — and after that, it’s aiming for Mars.

    Indian Space Research Organisation Chairman G Madhavan Nair said the United States and Europe appear to favour a global partnership in this context, and India would be more than willing to be a partner in this huge exercise. “For mankind, the next interesting thing (after moon) is Mars,” Nair told PTI in Bangalore.”To reach there and make an investigation is a big challenge. After the moon, Mars could be logical step,” he said. India has proposed an unmanned scientific mission to moon (Chandrayaan-I) in early 2008, in a Rs 380 crore project. The 525 kg satellite is planned to be launched on board India’s Polar Satellite Launch Vehicle and placed in 100 km polar orbit around the moon.

    Link to item on Bruce Sterling’s blog.