How to use topic map created in wandora in other IDE?

Forum is for miscellaneous user help requests.

How to use topic map created in wandora in other IDE?

Postby malihaz » Tue Mar 31, 2015 6:29 pm

Hi,
I wanted to know that if i create a topic map in wandora and i want to use it on my website which is developed in Java and Jsp pages using NetBeans IDE. Is there any option of import in xml format or directly generating the html pages in wandora and importing it as it is in NetBeans? What do you suggest, how should i go about it?

Thanks,
Regards,
malih..
malihaz
 
Posts: 3
Joined: Tue Mar 31, 2015 6:15 pm

Re: How to use topic map created in wandora in other IDE?

Postby akivela » Tue Mar 31, 2015 9:16 pm

Hi Malihaz

To be honest, I am not familiar with Java Server Pages and unable to suggest any solution to integrate Wandora and topic maps with JSP framework. But I am rather confident such integration is possible.

If you are not limited to JSPs but can use a complete Java Servlet framework in your application, you should look at the modules framework of Wandora application [1]. The modules framework is used to build a web application that can somehow visualizes the topic map. Look at the topic service [2] at build/resources/server/topic. It features a simple modules framework service generating interlinked web pages for topic map topics. The topic service is part of Wandora's embedded server [3] but easily moved into a Tomcat installation -- and Netbeans IDE.

Yet another way to create a topic map application is to rely on a web browser instead of a web server. Look at the extras folder in Wandora. It contains angular_wandora and mobile_browser directories. First contains a web browser application based on Angularjs framework [4]. The web browser application reads any JTM topic map and visualizes it as a collection of (virtual) HTML pages. The latter option, mobile_browser is based on JQuery Mobile [5]. It reads a JTM topic map too and visualizes it as a collection of interlinked and virtual HTML pages. Obviously these web browser based topic map applications are more limited than server applications. The Javascript topic map engine implementation is more limited than actual Java topic map engine of Wandora. On the other hand, web browser based topic map implementation is very flexible and easy to develop -- you write Javascript instead of Java.

Lastly, you can always export your topic map as a collection of static and interlinked HTML pages [6]. This feature is available in menu File > Export > Export topic map as series of HTML files.... You can even edit the export templates in build/resources/gui/export to change the look of HTML pages.

Kind Regards,
Aki / Wandora Team

ps. There is a known bug in both angular_wandora and mobile_browser web browser applications that prevents a topic to have more than one subject identifier. Fix is available in our Github repository at https://github.com/wandora-team/wandora .


[1] http://www.wandora.org/wiki/Wandora_modules_framework
[2] http://www.wandora.org/wiki/HTML_service_module
[3] http://www.wandora.org/wiki/Embedded_HTTP_server
[4] https://angularjs.org/
[5] https://jquerymobile.com/
[6] http://www.wandora.org/wiki/Exporting_WWW_site
akivela
Site Admin
 
Posts: 260
Joined: Tue Sep 18, 2007 10:20 am
Location: Helsinki, Finland

Re: How to use topic map created in wandora in other IDE?

Postby malihaz » Thu Apr 02, 2015 9:22 am

Hey admin,
Thanks alot for the comprehensive reply. il surely try one of these options and hope il come out with some reasonable solution. Thanks again...
p.s will surely bug you again if i get stuck somewhere :/
malihaz
 
Posts: 3
Joined: Tue Mar 31, 2015 6:15 pm


Return to How to... and problems

Who is online

Users browsing this forum: No registered users and 45 guests

cron