Duke Walk
CommandForm

Developer Information

We consider DukeWalk as a platform for Domain Name service. We provide javascript, json , SOAP API for this domain service.

How to use html <a/> tag

Basically,the basic navigation from one web site to another website happends in html is done in the "a" tag. For example if a html page has

<a src="http://www.awebsite.com/">Example Link</a> When user clicks on this link, browser basically, uses a DNS service and and resolve the domain awebsite and then it does a http connection to fetch that web site.

To achieve the same functionally using duke walk server, developers should use the javascript API provided by DukeWalk. For example, if a web page wants to link to 'great movies' Duke Walk regsitered web site he will simply program it as:

<a href="javascript:dukewalk('great movies')">Example Duke Walk Link</a>

and on top of the web page ,you will include the javascript DukeWalk API as:

<script type="text/javascript" src="http://www.dukewalk.com/jsapi/dukewalk.js"/>

Javascript API

The Duke Walk javascript provides the following functions , but for the lastest check the dukewalk java script file dukewalk.js:

//method to go to dulk walk domain function >dukewalk(domain) ; //method will redirect dulkwalk show all the domain that are related to this search //terms. function dukesearch(search); //This method shall return such a dulk walk domain exists or not. function dukewalk_exists(domain); //This method shall return current url for this dukewalk domain. //It may be a dns domain or if it may be based on ip,port,etc. //Result Example : http://www.google.com/ // http://10.2.3.4:8080/ function dukeurl(domain); // shall take you to a particular domain page // if a domain is "command engine" and page is demo.jsp //and the resulting url for domain is http://1.2.3.4/ //then it shall take you to http://1.2.3.4/demo.jsp function dukewalk_page(domain,page) ; //User can send adminstrative message to the domain owner if he need to send some //sort message. function dukecontact_page(domain,message); //special way to submit a form. function dukewalk_command(domain,command) ; //Followings are ajax way to do walk , search , url,etc. function dukewalk_ajax(domain) ; function dukesearch_ajax(search) ; function dukeurl_ajax(domain);

For Non javascript environment , we provide JSON based api Check the dukewalk JSON java script API at, file dukewalk_json.js Contact DukeWalk personals for further details if you need on JSON Script API.

For non-browser environment , we also provide SOAP based XMLRPC api. Contact DukeWalk personals for further details if you need XMLRPC API.



Duke Walk 2010