From: <sk...@us...> - 2007-10-22 18:35:41
|
Revision: 257 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=257&view=rev Author: sknappe Date: 2007-10-22 11:35:37 -0700 (Mon, 22 Oct 2007) Log Message: ----------- added Ajax-Test, an Ajax enhanced dbpedia navigator Modified Paths: -------------- trunk/src/dbpedia-navigator/Settings.php trunk/src/dbpedia-navigator/SparqlConnection.php trunk/src/dbpedia-navigator/index.php Added Paths: ----------- trunk/src/dbpedia-navigator/Ajax-Test/ trunk/src/dbpedia-navigator/Ajax-Test/Settings.php trunk/src/dbpedia-navigator/Ajax-Test/SparqlConnection.php trunk/src/dbpedia-navigator/Ajax-Test/ajax-loader.gif trunk/src/dbpedia-navigator/Ajax-Test/ajax.php trunk/src/dbpedia-navigator/Ajax-Test/ajaxfunctions.php trunk/src/dbpedia-navigator/Ajax-Test/default.css trunk/src/dbpedia-navigator/Ajax-Test/index.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/LICENSE.txt trunk/src/dbpedia-navigator/Ajax-Test/xajax/README.txt trunk/src/dbpedia-navigator/Ajax-Test/xajax/copyright.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/copyright-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/helloworld-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/multiply/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/multiply/multiply-common-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/multiply/multiply-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/multiply/multiply-server-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/signup/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/signup/signup-common-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/signup/signup-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/signup/signup-server-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/thewall/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/thewall/thewall-common-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/thewall/thewall-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/thewall/thewall-server-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/xul/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/xul/xulApplication-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/examples/xul/xulServer-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/errorHandlingTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/index-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/legacy_tests/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/legacy_tests/catchAllFunctionTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/legacy_tests/index-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/legacy_tests/jsLoadingTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/legacy_tests/preFunctionTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/registerObjectTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/searchReplaceTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/alert_confirm-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/assign_append-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/callScriptTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/controls_html_401_transitional-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/controls_xhtml_10_transitional-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/css-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/delayEvents-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/events-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/functions-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/index-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/scriptContext-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/server_events-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/suite/theFrame-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/tests/xajaxResponseTest-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/content-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/document-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/form-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/group-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/misc-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_controls/structure-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/support/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/support/xajaxCallableObject-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/support/xajaxEvent-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/support/xajaxUserFunction-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/xajaxCallableObjectPlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/xajaxDefaultIncludePlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/xajaxEventPlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/xajaxFunctionPlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/plugin_layer/xajaxScriptPlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajax-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxArgumentManager-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxCall-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxCompress-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxControl-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxLanguageManager-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxPlugin-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxPluginManager-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxRequest-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxResponse-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajaxResponseManager-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_core/xajax_lang_de-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/xajax_core_uncompressed-js.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/xajax_debug_uncompressed-js.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/xajax_lang_de_uncompressed-js.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/xajax_legacy_uncompressed-js.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_js/xajax_verbose_uncompressed-js.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_plugins/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_plugins/response/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_plugins/response/googleMap-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/xajax_plugins/response/tableUpdater-inc-php.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Classes.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Constants.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Files.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Functions.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Functions2.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Functions3.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Functions4.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Functions5.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General10.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General2.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General3.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General4.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General5.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General6.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General7.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General8.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/General9.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Variables.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index/Variables2.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/index.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/javascript/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/javascript/main.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/styles/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/styles/main.css trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/helloworld.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/multiply/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/multiply/multiply.common.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/multiply/multiply.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/multiply/multiply.server.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/signup/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/signup/signup.common.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/signup/signup.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/signup/signup.server.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/thewall/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/thewall/brick.jpg trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/thewall/thewall.common.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/thewall/thewall.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/thewall/thewall.server.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/xul/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/xul/xulApplication.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/xul/xulClient.xul trunk/src/dbpedia-navigator/Ajax-Test/xajax/examples/xul/xulServer.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/release_notes.txt trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/HTTPStatusTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/basicPluginTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/callScriptTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/callTechniquesTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/catchAllFunctionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/changeEventTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/charEncodingTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/createFormInputTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/customResponseClassTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/disabledFormElementsTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/errorHandlingTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/eventHandlerTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/fluentInterfaceTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/formSubmissionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/includeExternalScriptTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/index.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/largeResponseTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/legacy_tests/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/legacy_tests/catchAllFunctionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/legacy_tests/index.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/legacy_tests/jsLoadingTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/legacy_tests/preFunctionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/myExternalFunction.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/myExternalFunction.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/nonXajaxResponseTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/performance.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/phpWhitespaceTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/preFunctionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/redirectTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/registerExternalFunctionTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/registerObjectTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/searchReplaceTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/alert_confirm.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/alert_confirm_external.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/assign_append.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/callScriptTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/controls_html_401_transitional.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/controls_xhtml_10_transitional.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/css.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/css1.css trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/css2.css trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/delayEvents.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/events.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/frame_left.htm trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/frame_right.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/frameset.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/functions.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/googleMap.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/iframe.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/iframe.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/index.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/none.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/options.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/pluginTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/scriptContext.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/server_events.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/tables.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/theFrame.html trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/theFrame.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/suite/transport.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/tests/xajaxResponseTest.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/content.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/document.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/form.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/group.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/misc.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/structure.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/validate_HTML401TRANSITIONAL.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_controls/validate_XHTML10TRANSITIONAL.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/legacy.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/support/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/support/xajaxCallableObject.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/support/xajaxEvent.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/support/xajaxUserFunction.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/xajaxCallableObjectPlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/xajaxDefaultIncludePlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/xajaxEventPlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/xajaxFunctionPlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/plugin_layer/xajaxScriptPlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajax.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxArgumentManager.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxCall.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxCompress.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxControl.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxLanguageManager.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxPlugin.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxPluginManager.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxRequest.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxResponse.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajaxResponseManager.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_core/xajax_lang_de.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_core.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_core_uncompressed.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_debug.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_debug_uncompressed.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_lang_de.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_lang_de_uncompressed.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_legacy.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_legacy_uncompressed.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_verbose.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_js/xajax_verbose_uncompressed.js trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/request/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/response/ trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/response/googleMap.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/response/tableUpdater.inc.php trunk/src/dbpedia-navigator/Ajax-Test/xajax/xajax_plugins/response/tableUpdater.js Added: trunk/src/dbpedia-navigator/Ajax-Test/Settings.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/Settings.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/Settings.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,7 @@ +<?php + +class Settings{ + public $wsdluri="http://localhost:8181/services?wsdl"; + public $dbpediauri="http://dbpedia.openlinksw.com:8890/sparql"; +} +?> \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/SparqlConnection.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/SparqlConnection.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/SparqlConnection.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,195 @@ +<?php + +//require_once 'pear/HTTP_Request.php'; + +class SparqlConnection +{ + private $DBPediaUrl; + private $DLLearnerUri; + private $client; + + function SparqlConnection($DBPediaUrl,$DLLearnerUri) + { + ini_set("soap.wsdl_cache_enabled","0"); + ini_set('default_socket_timeout',200); + $this->DBPediaUrl=$DBPediaUrl; + $this->DLLearnerUri=$DLLearnerUri; + //$this->loadWSDLfiles($DLLearnerUri); + $this->client=new SoapClient("main.wsdl"); + } + + function getConceptFromExamples($posExamples,$negExamples) + { + $id=$this->client->generateID(); + + $ksID = $this->client->addKnowledgeSource($id, "sparql", $this->DBPediaUrl); + $this->client->applyConfigEntryInt($id, $ksID, "numberOfRecursions", 2); + $this->client->applyConfigEntryStringArray($id, $ksID, "instances", array_merge($posExamples,$negExamples)); + $this->client->applyConfigEntryInt($id, $ksID, "filterMode", 0); + $this->client->applyConfigEntryStringArray($id, $ksID, "predList", array()); + $this->client->applyConfigEntryStringArray($id, $ksID, "objList", array()); + $this->client->applyConfigEntryStringArray($id, $ksID, "classList", array()); + $this->client->applyConfigEntryString($id, $ksID, "format", "KB"); + $this->client->applyConfigEntryBoolean($id, $ksID, "dumpToFile", true); + + $this->client->setReasoner($id, "dig"); + $this->client->setLearningProblem($id, "posNegDefinition"); + $this->client->setPositiveExamples($id, $posExamples); + $this->client->setNegativeExamples($id, $negExamples); + $this->client->setLearningAlgorithm($id, "refinement"); + + $start = microtime(true); + + $this->client->init($id); + + $learn_start = microtime(true); + $init = $learn_start - $start; + echo 'components initialised in '.$init.' seconds<br />'; + + $threaded=true; + + if($threaded == false) { + + $concept = $this->client->learn($id); + + $learn = microtime(true) - $learn_start; + echo 'concept learned in '.$learn.' seconds<br />'; + + echo 'result: '.$concept; + + } else { + + $this->client->learnThreaded($id); + + $i = 1; + $sleeptime = 1; + + do { + // sleep a while + sleep($sleeptime); + + // see what we have learned so far + $concept=$this->client->getCurrentlyBestConcept($id); + $running=$this->client->isAlgorithmRunning($id); + + $seconds = $i * $sleeptime; + + echo 'result after '.$seconds.' seconds of sleep: '.$concept.'<br />'; + + $i++; + } while($running); + + echo 'algorithm finished'; + } + return $concept; + } + + function getTriples($individual) + { + $id=$this->client->generateID(); + + $ksID = $this->client->addKnowledgeSource($id, "sparql", $this->DBPediaUrl); + $this->client->applyConfigEntryInt($id, $ksID, "numberOfRecursions", 1); + $this->client->applyConfigEntryStringArray($id, $ksID, "instances", array($individual)); + $this->client->applyConfigEntryInt($id, $ksID, "filterMode", -1); + $this->client->applyConfigEntryStringArray($id, $ksID, "predList", array()); + $this->client->applyConfigEntryStringArray($id, $ksID, "objList", array()); + $this->client->applyConfigEntryStringArray($id, $ksID, "classList", array()); + $this->client->applyConfigEntryString($id, $ksID, "format", "Array"); + $this->client->applyConfigEntryBoolean($id, $ksID, "dumpToFile", false); + $this->client->applyConfigEntryBoolean($id,$ksID,"useLits",true); + + $object=$this->client->getTriples($id,$ksID); + $array=$object->item; + $ret=array(); + foreach ($array as $element) + { + $items=preg_split("[<]",$element,-1, PREG_SPLIT_NO_EMPTY); + $ret[]=$items; + } + + return $ret; + } + + function getSubjects($label='Leipzig',$limit=5) + { + $id=$this->client->generateID(); + + $ksID = $this->client->addKnowledgeSource($id, "sparql", $this->DBPediaUrl); + $object=$this->client->getSubjects($id,$ksID,$label,$limit); + return $object->item; + } + + private function loadWSDLfiles($wsdluri){ + $main=$this->getwsdl($wsdluri); + $other=$this->getOtherWSDL($main); + $newMain=$this->changeWSDL($main); + $this->writeToFile("main.wsdl",$newMain); + $x=0; + foreach ($other as $o){ + $this->writeToFile("def".($x++).".xsd",$this->getwsdl($o)); + } + + } + + private function changeWSDL($wsdl){ + $before="<xsd:import schemaLocation=\""; + $after="\" namespace=\""; + $newWSDL=""; + $desca="def"; + $descb=".xsd"; + $x=0; + while($posstart= strpos ( $wsdl, $before )){ + + $posstart+=strlen($before); + $newWSDL.=substr($wsdl,0,$posstart); + $wsdl=substr($wsdl,$posstart); + $newWSDL.=$desca.($x++).$descb; + $posend= strpos ( $wsdl, $after ); + $wsdl=substr($wsdl,$posend); + + } + return $newWSDL.$wsdl; + + } + + private function getOtherWSDL($wsdl){ + $before="<xsd:import schemaLocation=\""; + $after="\" namespace=\""; + $ret=array(); + while($posstart= strpos ( $wsdl, $before )){ + $posstart+=strlen($before); + $wsdl=substr($wsdl,$posstart); + $posend= strpos ( $wsdl, $after ); + $tmp=substr($wsdl,0,$posend); + $ret[]=$tmp; + $wsdl=substr($wsdl,$posend+strlen($after)); + } + return $ret; + } + + + + + private function getwsdl($wsdluri){ + // this is copied from the Pear example + // please don't ask me how it works + $req = &new HTTP_Request($wsdluri); + $message=""; + $req->setMethod(HTTP_REQUEST_METHOD_GET); + $req->sendRequest(); + $ret=$req->getResponseBody(); + return $ret; + } + + + + private function writeToFile($filename,$content){ + + $fp=fopen($filename,"w"); + fwrite($fp,$content); + fclose($fp); + + } +} +?> \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/ajax-loader.gif =================================================================== (Binary files differ) Property changes on: trunk/src/dbpedia-navigator/Ajax-Test/ajax-loader.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/dbpedia-navigator/Ajax-Test/ajax.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/ajax.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/ajax.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,10 @@ +<?php +require_once ("xajax/xajax_core/xajax.inc.php"); + +$xajax = new xajax("ajaxfunctions.php"); +$xajax->register(XAJAX_FUNCTION, 'getsubjects', array( + 'onResponseDelay' => 'showLoading', + 'onComplete' => 'hideLoading' + )); +$xajax->registerFunction("getarticle"); +?> \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/ajaxfunctions.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/ajaxfunctions.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,40 @@ +<?php +function getsubjects($label, $limit) +{ + include_once("Settings.php"); + require_once("SparqlConnection.php"); + $settings=new Settings(); + $sc=new SparqlConnection($settings->dbpediauri,$settings->wsdluri); + + $content=""; + $subjects=$sc->getSubjects($label,$limit); + foreach ($subjects as $subject) + { + $content.="<a href=\"\" onclick=\"xajax_getarticle('".$subject."');return false;\">".urldecode($subject)."</a><br/>"; + } + + $objResponse = new xajaxResponse(); + $objResponse->assign("searchcontent", "innerHTML", $content); + return $objResponse; +} + +function getarticle($subject) +{ + include_once("Settings.php"); + require_once("SparqlConnection.php"); + $settings=new Settings(); + $sc=new SparqlConnection($settings->dbpediauri,$settings->wsdluri); + $triples=$sc->getTriples($subject); + $content=""; + foreach ($triples as $triple){ + $content.="Subject: ".urldecode($triple[0])."<br/>Predicate: ".urldecode($triple[1])."<br/>Object: ".urldecode($triple[2])."<br/><br/>\n"; + } + + $objResponse = new xajaxResponse(); + $objResponse->assign("article", "innerHTML", $content); + return $objResponse; +} + +require("ajax.php"); +$xajax->processRequest(); +?> \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/default.css =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/default.css (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/default.css 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,478 @@ +/** + * default.css + * main Ontowiki style sheet + * @author: Norman Heino + * @version: $Id: default.css 751 2007-02-14 19:20:17Z nheino $ + */ + +/* remove browser specific margins */ +* { + margin: 0; + padding: 0; +} + +html { + font: 80%/1.2 "Lucida Grande", Helvetica, Arial, sans-serif; +} + +p { + margin: 8px 0; +} + +h2 { + margin: 0.5em 0 0.1em 0; +/* background-color: #eee;*/ + font-size: 110%; +} + + +/* + * Main site structure + */ + +#wrapper { + position: relative; + max-width: 100%; + padding: 15px; +/* margin: 15px;*/ +} + +#content { + margin: 0 19em; + overflow: hidden; +/* border-left: 1px solid #bbb; + border-right: 1px solid #bbb; + padding: 0 5px;*/ +} + +/* + * Side bars are positioned absolutely due to several reasons: + * (1)Internet Explorer has problems displaying float elements, + * (2) the content's position in html is irrelevant, + * (3) positioning the content div is more straightforward. + */ +#leftSidebar { + position: absolute; + width: 18em; +} + +#rightSidebar { + position: absolute; + width: 18em; + top: 15px; + right: 15px; +} + +#clear { + clear: both; +} + + +/* + * sidebar content (boxes) + */ + +.box { + color: #666; + margin-bottom: 20px; + border: 1px solid #bbb; + font-size: 85%; +} + +/*.box td { + font-size: 100%; +}*/ + +.box .boxtitle { + color: #666; + background-color: #eee; + padding: 3px 0.4em; + font-weight: bold; + white-space: nowrap; +} + +.box .boxtitle .boxtitle_string { + width: 80%; + overflow: hidden; +/* display: none;*/ +} + +.box .boxcontent { + padding: 0.6em; + border-top: 1px solid #bbb; +} + +/* restrict content of certain boxes */ +.box#predicates .boxcontent, +.box#classes .boxcontent { + overflow: hidden; +} + +.box p { + margin: 0 2px 4px 0; +} + +.box ul, .box ol { + margin: 0px; +/* padding-left: 15px;*/ + list-style-position: inside; +} + +.box ul.no_bullet, .box ul.no_bullet { + list-style-type: none; +} + +.box ul li.horizontal, .box ol li.horizontal, +.box ul.horizontal, .box ol.horizontal { + display: inline; +} + +.box a.title_switch { + position: absolute; + right: 0.5em; + margin: auto 0; + color: #666; + border: 1px solid #bbb; + width: 1em; + height: 1em; + background-color: #fff; + text-align: center; +} + +.box a.title_switch:hover { + color: #02a; + text-decoration: none; + background-color: #eee; +} + +.box hr { + margin: 0.5em 0; + border: none; + border-top: 1px dotted #bbb; + height: 0; +} + +.box#classes .boxcontent a { + display: block; +} + +/*.box select { + width: 250px; /* TODO remove absolute size */ +}*/ + +.box input { + width: auto; +} + +.box td input { + width: 100%; +} + +.box img.rating { + position: relative; + top: 1px; +} + +.hidden { + display: none; +} + + +/* + * Links + */ + +a, a:link, a:visited { + color: #02a; + text-decoration: none; + cursor: pointer; +} + +a:hover { + text-decoration: underline; +} + + +/* + * Tabs + */ + +/* all the tabs */ +.tabs { + float: left; + width: 100%; + background: #fff url("../images/tabs_back.png") repeat-x bottom; +} + +.tabs ul { + list-style: none; +} + +.tabs li { + float: left; + margin-right: 1px; +} + +.tabs a { + display: block; + margin-top: 1px; + padding: 0.35em 1.35em; + background-image: url("../images/tab_back.png"); + background-repeat: repeat-x; + background-color: #cbcbcb; + border: 1px solid #bbb; +} + +.tabs a:hover { + background: #fff; + text-decoration: none; +} + +.tabs a.current { + background: #fff; + border-bottom: 1px solid #fff; +} + +/* horizontal line underneath the tabs */ +#tab-line { + height: 1em; + clear: both; +} + +#instances { + float: right; +} + +.selected { + background-color: #bde; /*#b4d5fe;*/ +} + +.button { + border: solid black 1px; + padding: 0px 1px; + background-color: #eee; +} + +/* + * Tables + */ + +tr.odd { + background-color: #ccc; +} + +tr.even { + background-color: #eee; +} + +table.instanceTable th { + text-align: left; +/* background-color: #eee;*/ +} + +table.instanceTable > tbody > tr > td { + padding-top: 0.5em; +} + +table.instanceTable td.property { + text-align: right; + font-style: italic; + padding-right: 5px; +} + +table.instanceTable ul { + margin: 0px; + padding-left: 20px; +} + +table.instanceTable { + width: 100%; +} + +.searchHighlight { + background-color: orange; +} + +table.tripletable { + width: 100%; + font-size: 90%; +} + +.tripletable td { + padding: 0.4em; +} + +table.blind tr td { + padding-top: 0.4em; +} + +/* + * Instances + */ + +.instance .instance { + margin-left: 13px; + background-color: #ddd; +} +.instance .instance td { + font-size: 90%; +} +.instance .instance .instance { + background-color: #eee; +} + +.instance .instance .instance .instance { + background-color: #fff; +} + +#instanceEdit { + border-spacing: 0px; + width: 100%; +} + +#instanceEdit input, #instanceEdit textarea { +/* width: 250px;*/ + background-color: #fff; + font-size: 95%; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + padding: 0.1em 0; +} + +#instanceEdit > tbody > tr > td, #instanceEdit > tr > td { + background-color: #eee; + padding: 5px; + border-bottom: 2px solid #fdfdfd; +} + +/* + * Calendar + */ + +table.calendar { + margin-top: 1em; + width: 100%; + height: 730px; + table-layout: fixed; + font-size: 90%; +} + +.calendar .weekday0 { + background-color: #eee; + padding: 0.4em; +} +.calendar .weekday1 { + background-color: #f5f5f5; + padding: 0.4em; +} +.calendar .weekend0 { + background-color: #ddd; + padding: 0.4em; +} +.calendar .weekend1 { + background-color: #eaeaea; + padding: 0.4em; +} + +#map { + margin-top: 0.5em; + width: 100%; + height: 750px; + font-size: 90%; +} + +#map .instance td { + font-size: 80%; + padding: 0 3px; + border-bottom: 5px solid white; +} + +#superClassPath { + margin-bottom: 0.5em; +} + +img { + border: none; +} + +span.submit { + float: right; + padding-right: 100px; +} + +/* + * Autosuggest box + */ +div.autosuggest { + font-size: 85%; + position: absolute; + background-color: #fff; + border: 1px solid #bbb; +} + +div.autosuggest ul { + list-style-type: none; + list-style-position: inside; + padding-left: 0px; +} + +div.autosuggest ul li.selected { + background-color: #bde; +} + +div.autosuggest ul li { + display: block; + padding: 0.2em; +/* height: 22px;*/ + cursor: pointer; +} + +span.formal { + display: none; +} + +/* + * Layer + */ +#layer { + width: 100%; + height: 100%; + position: absolute; + background-image: url("../images/black_50.png"); + background-repeat: repeat; + z-index: 98; +} + +#layerContent { + margin-top: 100px; + margin: auto; + width: 500px; + height: 300px; + background-color: #ffb; + border: 2px solid #bbb; + z-index: 99; +} + +/* + * Buttons + */ +input.button { + border: 1px solid #bbb; + color: #666; + background-color: #eee; + padding: 3px 0.4em; + font-weight: bold; + white-space: nowrap; + font-size: 85%; +} + +/* + * Loading + */ +#loading { + padding: 20px; + display: none; /* hidden */ + left: 50%; + top: 25%; + font-weight: bold; + font-size: large; +} \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/index.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/index.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/index.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,68 @@ +<?php +require("ajax.php"); + ini_set('error_reporting',E_ALL); + ini_set('max_execution_time',200); + +echo '<?xml version="1.0" encoding="UTF-8"?>' +?> +<html> + <head> + <title>DL Learner</title> + <meta http-equiv=\"content-type\" content=\"text/html; charset=ISO-8859-1\"/> + <link rel="stylesheet" href="default.css"/> + <?php $xajax->printJavascript('xajax/'); ?> + <script type="text/javascript"> + showLoading = function() { + xajax.$('loading').style.display='block'; + }; + hideLoading = function() { + xajax.$('loading').style.display = 'none'; + } + </script> + </head> + <body> +<h3>DBPedia-Navigator-Test</h3> +<div id="wrapper"> +<div id="leftSidebar"> + +<div class="box" id="search"> + <div class="boxtitle">Search</div> + <div class="boxcontent"> + <form action="index.php" method="GET" id="searchForm"> + <table border="0"> + <tr><tb>Search:<br/></tb></tr> + <tr><tb><input type="textfield" name="label" id="label"><select name="limit" size="1" id="limit"> + <option>1</option> + <option selected="selected">5</option> + <option>10</option> + <option>15</option> + </select><br/></tb></tr> + <tr><tb><input type="button" value="Calculate" class="button" onclick="xajax_getsubjects(document.getElementById('label').value,document.getElementById('limit').value);return false;" /></tb></tr> + </table> + </form> + </div> <!-- boxcontent --> +</div> <!-- box --> + +<div class="box" id="search"> + <div class="boxtitle">Searchresults</div> + <div class="boxcontent" id="searchcontent"> + <div id="loading"><img src="ajax-loader.gif" alt="Loading..."/></div> + </div> <!-- boxcontent --> +</div> <!-- box --> + +<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> +</div><!-- END leftSidebar --> + +<div id="content"> +<div class="box" id="search"> + <div class="boxtitle">Content</div> + <div class="boxcontent" id="article"> + </div> <!-- boxcontent --> +</div> <!-- box --> + +<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> +</div><!-- content --> +</div> + </body> +</html> + \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/xajax/LICENSE.txt =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/xajax/LICENSE.txt (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/xajax/LICENSE.txt 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,11 @@ +Copyright (c) 2006 - 2007, Jared White & J. Max Wilson +Portions Copyright (c) 2007, Joseph Woolley +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of xajax nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file Added: trunk/src/dbpedia-navigator/Ajax-Test/xajax/README.txt =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/xajax/README.txt (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/xajax/README.txt 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,149 @@ +=============================================================================== + + xajax PHP & Javascript Library + The easiest way to develop powerful Ajax applications with PHP + + Version 0.5 (Beta 4) + README Text File + September 5, 2007 + + ------------------------------------------------------ + | ** Release Notes: | + | See release_notes.txt in this download archive | + | | + | ** Project Managers: | + | Joseph Woolley (jo...@ca...) | + | J. Max Wilson (jma...@us...) | + | | + | ** Developers: | + | Steffen Konerow (st...@nr...) | + | Jared White (ja...@in...) | + | Eion Robb (ei...@bi...) | + ------------------------------------------------------ + +=============================================================================== + + :: To find out what's changed since the 0.5 Beta 3 release of xajax, :: + :: view the Release Notes in the file listed above. :: + +=============================================================================== + +xajax 0.5 is leaps and bounds forward from the last stable release, however, +xajax 0.2.5 was released to help bridge the gap. xajax 0.5 has an +extensible and flexible plugin interface so both the php and javascript +engines can be adapted to fit your needs. With xajax 0.5 beta 3, we've added +an HTML control library with built in support for both plain and xajax based +javascript and added new features that will give you a development platform +to build on for years to come. In this release, we've added the ability +to customize debug, warning and error messages, thus allowing for easier +development and debugging for non-english speaking programmers. + +Beta 4 represents a solidification of the xajax php and javascript code, so +from this point, the xajax interface will remain mostly unchanged until stable +release. We have greatly improved the documentation that is available for +the xajax api. In addition, we will continue to work hard to resolve any +issues that are discovered in the code, the documentation, wiki and to answer +questions in the forum. + +We published an updated website at http://xajaxproject.com Thanks to Jared and +Steffen for putting together a great looking site with a lot of functionality +and flexibility! The forums continue to be active and interesting, so be sure +to check in from time to time to keep current with all things xajax at +http://community.xajaxproject.com and visit sourceforge for posting feature +requests, bug fix requests and patches at http://www.sourceforge.net/projects/xajax + +Thank you for downloading xajax 0.5 beta 4! + +____________________________________________________________________ + + +"it's safer, better, faster and even more bright and shiny" - Steffen + +____________________________________________________________________ + +1. Introduction + +xajax is a PHP library that you can include in your PHP scripts +to provide an easy way for Web pages to call PHP functions or +object methods using Ajax (Asynchronous Javascript And XML). Simply +register one or more functions/methods with the xajax object that +return a proper XML response using the supplied response class, add +a statement in your HTML header to print the Javascript include, +and run a request processor prior to outputting any HTML. Then add +some simple Javascript function calls to your HTML, and xajax takes +care of the rest! + +xajax includes a Javascript object to facilitate the communication +between the browser and the server, and it can also be used as a +Javascript library directly to simplify certain DOM and event +manipulations. However, you can definitely choose to use a +dedicated Javascript "engine" of your liking and integrate it with +xajax's client/server communication features. Since xajax is moving +towards a highly modular, plugin-based system, you can alter and extend +its behavior in a number of ways. + +2. For More Information + +The official xajax Web site is located at: +http://www.xajaxproject.org + +Visit the xajax Forums at: +http://community.xajaxproject.org +to keep track of the latest news and participate in the community +discussion. + +There is also a wiki with documentation, tips & tricks, and other +information located at: +http://wiki.xajaxproject.org + +3. Installation + +To run xajax, you need: +* Apache Web Server or IIS for Windows XP/2003 Server + (other servers may or may not work and are not supported at this + time) +* PHP 4.3.x or PHP 5.x +* Minimum supported browsers: Internet Explorer 5.5, Firefox 1.0 (or + equivalent Gecko-based browser), Safari 1.3, Opera 8.5 (older + versions only work with GET requests) + +To install xajax: +Unpack the contents of this archive and copy them to your main Web +site folder. Or if you wish, you can put all of the files in a +dedicated "xajax" folder on your Web server (make sure that you +know what that URL is relative your site pages so you can provide +xajax with the correct installed folder URL). Note that the +"thewall" folder in the "examples" folder needs to be writable by +the Web server for that example to function. + +Within the main xajax folder there are four folders: "examples", +"tests", "xajax_js", and "xajax_core". Only "xajax_js" and +"xajax_core" are required to use xajax. + +You should be able to view the PHP pages in "tests" from your +Web browser and see xajax working in action. If you can view the +pages but the AJAX calls are not working, there may be something +wrong with your server setup or perhaps your browser is not +supported or configured correctly. If worst comes to worst, post +a message in our forums and someone may be able to help you. + +4. Documentation + +Detailed documentation for the xajax PHP classes is available on +our wiki (URL listed above in section 2), and more is on the way +(particularly in regards to the Javascript component of xajax). +Another good way of learning xajax is to look at the code for the +examples and tests. If you need any help, pop in the forums and +ask for assistance (and the more specific your questions are, +the better the answers will be). + +5. Contributing to xajax + +xajax is released under the BSD open source license. If you wish +to contribute to the project or suggest new features, introduce +yourself on the forums or you can e-mail the project managers +and developers at the addresses listed at the top of this README. + +6. Good luck and enjoy! + +==================================================================== Added: trunk/src/dbpedia-navigator/Ajax-Test/xajax/copyright.inc.php =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/xajax/copyright.inc.php (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/xajax/copyright.inc.php 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,54 @@ +<?php +/* + File: copyright.inc.php + + This file contains detailed information regarding the xajax project, + current version, copyrights, licnese and documentation. + + You do not need to include this file in your project for xajax to + function properly. +*/ + +/* + Section: Current Version + + xajax version 0.5 (beta 4) +*/ + +/* + Section: Copyright + + - copyright (c) 2005-2007 by Jared White & J. Max Wilson + - portions copyright (c) 2006-2007 by Joseph Woolley +*/ + +/* + Section: Description + + xajax is an open source PHP class library for easily creating powerful + PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously + call PHP functions and update the content of your your webpage without + reloading the page. +*/ + +/* + Section: License + + xajax is released under the terms of the BSD license + http://www.xajaxproject.org/bsd_license.txt +*/ + +/* + @package xajax + @version $Id: copyright.inc.php 327 2007-02-28 16:55:26Z calltoconstruct $ + @copyright Copyright (c) 2005-2006 by Jared White & J. Max Wilson + @license http://www.xajaxproject.org/bsd_license.txt BSD License +*/ + +/* + Section: Online documentation + + Online documentation for this class is available on the xajax wiki at: + http://wiki.xajaxproject.org/Documentation:xajax.inc.php +*/ + Added: trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/copyright-inc-php.html =================================================================== --- trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/copyright-inc-php.html (rev 0) +++ trunk/src/dbpedia-navigator/Ajax-Test/xajax/documentation/files/copyright-inc-php.html 2007-10-22 18:35:37 UTC (rev 257) @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> + +<html><head><title>copyright.inc.php</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class=UnframedPage onLoad="NDOnLoad()"><script language=JavaScript><!-- +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> + +<!-- Generated by Natural Docs, version 1.35 --> +<!-- http://www.naturaldocs.org --> + +<!-- saved from url=(0026)http://www.naturaldocs.org --> + +<table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td class=MenuSection valign=top><!--START_ND_MENU--><div class=MEntry><div class=MFile id=MSelected>copyright.<span class=HB> </span>inc.php</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Examples</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="examples/helloworld-php.html">helloworld.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Multiply</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="examples/multiply/multiply-common-php.html">common.php</a></div></div><div class=MEntry><div class=MFile><a href="examples/multiply/multiply-php.html">php</a></div></div><div class=MEntry><div class=MFile><a href="examples/multiply/multiply-server-php.html">server.php</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Signup</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="examples/signup/signup-common-php.html">common.php</a></div></div><div class=MEntry><div class=MFile><a href="examples/signup/signup-php.html">php</a></div></div><div class=MEntry><div class=MFile><a href="examples/signup/signup-server-php.html">server.php</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Thewall</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="examples/thewall/thewall-common-php.html">common.php</a></div></div><div class=MEntry><div class=MFile><a href="examples/thewall/thewall-php.html">php</a></div></div><div class=MEntry><div class=MFile><a href="examples/thewall/thewall-server-php.html">server.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="examples/xul/xulApplication-php.html">xulApplication.php</a></div></div><div class=MEntry><div class=MFile><a href="examples/xul/xulServer-php.html">xulServer.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="xajax_plugins/response/googleMap-inc-php.html">googleMap.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_plugins/response/tableUpdater-inc-php.html">tableUpdater.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Tests</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="tests/errorHandlingTest-php.html">errorHandlingTest.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/index-php.html">index.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Legacy_tests</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="tests/legacy_tests/catchAllFunctionTest-php.html">catchAllFunctionTest.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/legacy_tests/index-php.html">index.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/legacy_tests/jsLoadingTest-php.html">jsLoadingTest.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/legacy_tests/preFunctionTest-php.html">preFunctionTest.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="tests/registerObjectTest-php.html">registerObjectTest.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/searchReplaceTest-php.html">searchReplaceTest.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Suite</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="tests/suite/alert_confirm-php.html">alert_confirm.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/assign_append-php.html">assign_append.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/callScriptTest-php.html">callScriptTest.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/controls_html_401_transitional-php.html">controls_html_401_transitional.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/controls_xhtml_10_transitional-php.html">controls_xhtml_10_transitional.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/css-php.html">css.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/delayEvents-php.html">delayEvents.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/events-php.html">events.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/functions-php.html">functions.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/index-php.html">index.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/scriptContext-php.html">scriptContext.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/server_events-php.html">server_events.php</a></div></div><div class=MEntry><div class=MFile><a href="tests/suite/theFrame-php.html">theFrame.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="tests/xajaxResponseTest-php.html">xajaxResponseTest.php</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Xajax_core</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Plugin_layer</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Support</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/support/xajaxCallableObject-inc-php.html">xajaxCallableObject.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/support/xajaxEvent-inc-php.html">xajaxEvent.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/support/xajaxUserFunction-inc-php.html">xajaxUserFunction.<span class=HB> </span>inc.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/xajaxCallableObjectPlugin-inc-php.html">xajaxCallableObjectPlugin.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/xajaxDefaultIncludePlugin-inc-php.html">xajaxDefaultIncludePlugin.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/xajaxEventPlugin-inc-php.html">xajaxEventPlugin.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/xajaxFunctionPlugin-inc-php.html">xajaxFunctionPlugin.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/plugin_layer/xajaxScriptPlugin-inc-php.html">xajaxScriptPlugin.<span class=HB> </span>inc.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="xajax_core/xajax-inc-php.html">xajax.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/xajax_lang_de-inc-php.html">xajax_lang_de.<span class=HB> </span>inc.php</a></div></div><div class=MEntry><div class=MFile><a href="xajax_core/xajaxA... [truncated message content] |