Plea for Help - Display/Edit XML-based Catalog via Web using Java tech?

Status
Not open for further replies.
TL;DR version: We have an XML file cataloging things we need to track. It gets updated weekly (or sometimes more often depending on need). We need to display it in an organized fashion (a scrollable, sortable, filterable table and a detail view) to users. We also need to add/edit our own local catalog information and display it in the same UX. How would you way to deal with this requirement in a Java/Servlet environment? (We are extremely limited in what 'external' libraries, sources, etc. can be used. Currently on Solaris 10/11, with Java 1.6/1.7, Tomcat 5.5, NetBeans 6.7.1/7.1 and Oracle 10g/11 as the big pieces.)


Longer Version:

I've discussed this work before in various forum threads where I talked about pieces of what I'm doing.

If you care to look back:

viewtopic.php?f=20&t=1188025
viewtopic.php?f=20&t=1185786
viewtopic.php?f=20&t=1184030
viewtopic.php?f=20&t=1161866
viewtopic.php?f=20&t=1154130


We get an XML file weekly from an upstream provider. It is usually between 200 and 300mb in size. If the tempo of operations requires it, it is updated more frequently, but probably no more than daily. It contains a catalog of things we need to track, so far under 30K line-items.

We need to be able to:

  • * View a summary of the items in a user-friendly way, (currently a JTable or HTML Table)
    * Search for items based on various field values (using JTable's built-in RowFilter)
    * Sort based on various field values (using JTable's built-in RowSorter)
    * View details about the filtered items (selection on the JTable shows details; double-click brings up browser window with details)
    * Add a parallel 'database' which allows us to create/edit our own catalog items and treat them the same in this system.

Currently, we have a Java application which I wrote last year which everyone loves. It does the first four things. They want me to add the fifth bit as well, but they also want the system to me available more widely (right now, you have to have Java installed, with the application and get the XML file yourself.) So we're moving to a web-based implementation. I currently have an implemenation working inside Tomcat which works, for the most part. I have yet to add the sorting capability as well as the create/edit capability.

Another programmer is working on a VERY similar project (XML catalog of things provided by an upstream provider) which needs this same technology I'm working on. Instead of recreating the wheel, he keeps turning to me for help (which is understandable.) I'm hearing rumblings, though, that what I create may be the basis for applications from here on out...

So I don't want it to suck and I want to keep it simple so I can turn this over to other programmers to be understandable (I'm a contractor and could go away at any time.) Worse, I'm severely hampered by the inability to get external libraries, open source or otherwise, into the network(s) we need to run this program on. The approval process timespan takes months.


Right now the application is VERY tied to the data and the structure of the XML file.

What I have right now:

o ContextListener, running when the application starts or shuts down. Uses the JAXB Objects (created by NetBeans and the provided Schema Document(s) (XSD)) to read the XML file (location configured in web.xml) and parses it into Java data objects. Then it transforms those objects into custom data objects I wrote to meet the needs of the application. The parsed objects and the XML document are dropped and these custom data objects form the basis of my back-end 'database.'

o Data grid, an HTML table built by JSP, from data provided by a filter.

o Filter, both a web element and a back-end element, allowing users to filter the displayed items.

o DAO, iterates through the back-end 'database', creating a list of catalog items for display based on provided filter.

o Some simple JavaScript to handle clicks and what not; it is not doing any rendering.

o Various Servlet bits to tie the stuff together.


I've been trying different things to make it easier to 'generify' this solution, but it seems like to make it more generic (and simpler) I have to write more and more code.

I've tried to simplify my back-end database into a List<Map<String, Object>> to make it hugely generic, but then describing the data to the system requires a lot of mapping columns to properties/fields/keys just for display.

I thought I'd be clever and use JTables RowSorter to do all the heavy lifting with filtering and sorting, and this works as well, but now I have to somehow map user-provided values and RowFilters to columns. To make things even more complex, some columns are tied to other columns in a min/max value range arrangement which means that I have two filter values comparing themeselves to two target columns.


Yesterday, I thought that some of the stuff I was doing might be amenable to using XPath queries to generate my data, so I tested it out based on the simple demos floating around the 'net:

Code:
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document document = builder.parse("catalog.xml");

XPath xpath = XPathFactory.newInstance.newXPath();
String expression = "/export/widgets[widget/name='foo']";
NodeList widgets = (NodeList) xpath.evaluate(expression, document, XPathConstants.NODESET);

Reading and parsing the file in the first two lines takes about 10-15 seconds. Obviously, this is a one-time read in my current 'architecture.'

Performing the XPath query takes about 30 seconds ... not quite usable in a user-interactive environment.


This is where I am and how I've gotten here. I don't mind refactoring or asking for help or trying to get stuff approved for use; I just don't have the environment in which to (a) properly experiment. I've learned a lot and figured out even more, but I'm coming up on a mental roadblock as to where to proceed from here.

Thanks for your time reading this far...

Any help would be great.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
I was going to post exactly what Ravensroke wrote. The XML is a *interchange* format for communicating, not a useful data structure to reference within the user facing app.

Separate the concerns, then the upload part can also be separate from the web part if desired.
If you write the import functionality right you can even have it apply relates to the existing data in the database (do not do this unless you have a decent stable key) which avoids needing to stop users who are using the DB when you refresh it.
 

Joel_B

Ars Praefectus
4,652
Subscriptor
Ravensroke":2c21m4qb said:
Parse the xml file as a batch job and stuff it into a real database when the file gets updated. Since you have access to an Oracle DB I'm not sure what all this dinking around with xml files and xpath is gaining you.

Yes, this is the way to go. I would really push for using third-pary libraries as this would really speed up the process. What is making getting approval so hard..? Are you in a heavily regulated environment...?
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
Nevermind that Oracle has reasonable XML support, but I doubt the performance will be good enough for what you are trying to do here (well what that tiny fragment implies, anyway). Parse the data into something easier to search quickly, and use that.

You don't have to use Oracle if you don't want to, I suppose, but it's certainly a fine choice if it is what's available to you.
 
Ravensroke":wod6jb2d said:
Parse the xml file as a batch job and stuff it into a real database when the file gets updated. Since you have access to an Oracle DB I'm not sure what all this dinking around with xml files and xpath is gaining you.

I don't suppose you have an 'easy' way to do this or point me to a reference that would show the 'right way' how?
 
LordHunter317":ubmdd4a3 said:
Nevermind that Oracle has reasonable XML support, but I doubt the performance will be good enough for what you are trying to do here (well what that tiny fragment implies, anyway).

You don't have to use Oracle if you don't want to, I suppose, but it's certainly a fine choice if it is what's available to you.

Performance with what I've built right now, 5-12ms queries, the customer loves; when I tried DB as back-end, I was getting 500-30000ms responses (apparently, with all the changes going on within the dev db, the FlashBack fills up and clobbers the db performance -- this inconsistency is why I started working directly with the XML instead of relying on the DB).

I only recently went back to revisit the 'back-end' due to the customer's desire to make it somewhat generic so that other similar problems could be solved in a similar way. Essentially, they want me to create a framework for the future.

Parse the data into something easier to search quickly, and use that.

This is what I was trying to do when I asked about the iterator pattern. I have the huge chunk of XML that I wanted to iterate over and create my local in-memory 'database' with only those fields I needed and in a more search-friendly format (flatter).

I honestly don't know how to use Oracle DB with XML and could use some tutorials.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
If you're getting that sort of latency you're doing something wrong I'm afraid.

If I had to hazard a guess streaming through the whole thing rather than letting the DB do its job (filtering and just delivering what you need)

Without seeing more of how you setup the previous database (schema) and the code you used to query it.

If you are attempting to do full text search on the contents then either make direct use of the DBs capabilities in that area, or use something like Lucene to make such an index (for your needs build it in memory at start up) and use that to get you the relevant record keys.

Remember, especially with a web app, you do not need to load the entire data set into memory, only what is needed to display to the user. Good frameworks will abstract that away from you and keep it fast, though there is a learning curve to them.
 
zelmak":3o8av7c4 said:
Ravensroke":3o8av7c4 said:
Parse the xml file as a batch job and stuff it into a real database when the file gets updated. Since you have access to an Oracle DB I'm not sure what all this dinking around with xml files and xpath is gaining you.

I don't suppose you have an 'easy' way to do this or point me to a reference that would show the 'right way' how?

Uhm, step 1 is figuring out what the xml data would look like as far as a database schema and create a new database to store your data, then you would do what you're doing with xpath queries or jaxb or a third party xml parsing library to get that all into memory. From there you'd have to use JDBC to load it into the database.

Once you have that you'll just have a database layer in between your UI and data and you'll be querying the database to read and write which should be extremely quick.
 

Joel_B

Ars Praefectus
4,652
Subscriptor
Ravensroke":1ve0xcod said:
zelmak":1ve0xcod said:
Ravensroke":1ve0xcod said:
Parse the xml file as a batch job and stuff it into a real database when the file gets updated. Since you have access to an Oracle DB I'm not sure what all this dinking around with xml files and xpath is gaining you.

I don't suppose you have an 'easy' way to do this or point me to a reference that would show the 'right way' how?

Uhm, step 1 is figuring out what the xml data would look like as far as a database schema and create a new database to store your data, then you would do what you're doing with xpath queries or jaxb or a third party xml parsing library to get that all into memory. From there you'd have to use JDBC to load it into the database.

Once you have that you'll just have a database layer in between your UI and data and you'll be querying the database to read and write which should be extremely quick.

Last time I did this I used JAXB + Hibernate.
 

Joel_B

Ars Praefectus
4,652
Subscriptor
zelmak":24ppue9p said:
Performance with what I've built right now, 5-12ms queries, the customer loves; when I tried DB as back-end, I was getting 500-30000ms responses (apparently, with all the changes going on within the dev db, the FlashBack fills up and clobbers the db performance -- this inconsistency is why I started working directly with the XML instead of relying on the DB).

Something is seriously wrong if you are getting those kind of response times. If you parse the XML before sticking in the database you will save a lot of response time. Plus you will have a seperation (proxy) between your code and the xml. Anytime someone changes the XML structure you only need to change the importer. Much easier to change something that's a distinct step away rather than something that is halfway through the process. (Even if you separate all the code.)

zelmak":24ppue9p said:
I only recently went back to revisit the 'back-end' due to the customer's desire to make it somewhat generic so that other similar problems could be solved in a similar way. Essentially, they want me to create a framework for the future.

There are plenty of frameworks for parsing XML and sticking it in a database. If you want to write a framework, check first. It's usually been done already.

zelmak":24ppue9p said:
This is what I was trying to do when I asked about the iterator pattern. I have the huge chunk of XML that I wanted to iterate over and create my local in-memory 'database' with only those fields I needed and in a more search-friendly format (flatter).

This assumes you can write a better database than Oracle. Either you are (a) a genius or (b) ... :)

Anytime you re-invent the wheel, it's an indication you are doing it wrong. (This is friendly advice). :) :) :)
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
zelmak":1bq322gj said:
Performance with what I've built right now, 5-12ms queries, the customer loves; when I tried DB as back-end, I was getting 500-30000ms responses (apparently, with all the changes going on within the dev db, the FlashBack fills up and clobbers the db performance -- this inconsistency is why I started working directly with the XML instead of relying on the DB).
So add more disk, limit the flashback size, or disable flashback all together if you're not using it. The flash recovery area is only used by backups and flashback database. You can tweak the former and disable the latter, which shouldn't even be enabled if you're not using it.

But I don't understand why there's so much churn in the database. There shouldn't be any after you've loaded the XML file.

I honestly don't know how to use Oracle DB with XML and could use some tutorials.
Oracle has tons of documentation about what it can and cannot do. It may or may not be useful for your application. I can't recommend any specific tutorials, unfortunately. They may have some on their site somewhere.
 
LordHunter317":37j1jedn said:
zelmak":37j1jedn said:
Performance with what I've built right now, 5-12ms queries, the customer loves; when I tried DB as back-end, I was getting 500-30000ms responses (apparently, with all the changes going on within the dev db, the FlashBack fills up and clobbers the db performance -- this inconsistency is why I started working directly with the XML instead of relying on the DB).
So add more disk, limit the flashback size, or disable flashback all together if you're not using it. The flash recovery area is only used by backups and flashback database. You can tweak the former and disable the latter, which shouldn't even be enabled if you're not using it.

All true. But I don't manage any of the DB infrastructure. Our DBA waves his hands, reboots the machine or restarts Oracle and presses on. My input doesn't matter since I'm just a developer. I've opened a ticket, only to have it closed after a reboot to "could not replicate."

But I don't understand why there's so much churn in the database. There shouldn't be any after you've loaded the XML file.

Well, I *am* doing development, which means that when I was trying to figure out how to integrate my JAXB-created objects with JPA/Hibernate (which I never really successfully did) I was constantly creating tables, inserting data, fixing bugs, dropping the data/tables and starting the process all over again. After a couple days of this, as well as other folks using the DB for their development projects, the performance would be abysmal.

I honestly don't know how to use Oracle DB with XML and could use some tutorials.
Oracle has tons of documentation about what it can and cannot do. It may or may not be useful for your application. I can't recommend any specific tutorials, unfortunately. They may have some on their site somewhere.[/quote]

None of our development DBs seem to have any XML bits installed ... but, again, I don't know enough about the innards of Oracle other than how to connect to it with SQL Developer and/or JDBC ... so I could be looking in the wrong directions.

I'm looking at setting up a box at home with Linux and Oracle to futz with these technologies.

But the problem is that if they're unavailable at the job site, there's really no point.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
You can't install their express edition?

If not then keep all your data and definitions utterly vanilla SQL and use the SQL Server compact edition or any other free 'no install' local database, if PostgreSQL has one that would be best given your oracle end target, but I think the best you could do there is run a Live CD.

if the xml is vaguely well structured inserting it into the database should be as simple as a streaming xml reading API with inserts as you go along.
Using the native API for pushing data into the database will be the fastest route, but at 30K rows there's no point worrying, you you likely want to go with a 'only apply changes' route anyway after that.
 

Joel_B

Ars Praefectus
4,652
Subscriptor
ShuggyCoUk":1vinpcn4 said:
You can't install their express edition?

If not then keep all your data and definitions utterly vanilla SQL and use the SQL Server compact edition or any other free 'no install' local database, if PostgreSQL has one that would be best given your oracle end target, but I think the best you could do there is run a Live CD.

if the xml is vaguely well structured inserting it into the database should be as simple as a streaming xml reading API with inserts as you go along.
Using the native API for pushing data into the database will be the fastest route, but at 30K rows there's no point worrying, you you likely want to go with a 'only apply changes' route anyway after that.

There's also the Oracle Virtual Machines : http://www.oracle.com/technetwork/serve ... index.html

Though when buidling things to convert XML to DB we did the same thing and didn't notice any de-graded performance. Something is odd.

PS: The DBA doesn't sound like a DBA.
 

Joel_B

Ars Praefectus
4,652
Subscriptor
zelmak":3ob6ax2x said:
None of our development DBs seem to have any XML bits installed ... but, again, I don't know enough about the innards of Oracle other than how to connect to it with SQL Developer and/or JDBC ... so I could be looking in the wrong directions.

Oracle has an XML Type. AFAIK it can be queried with XPaths. Also there's the Oracle XML DB itself.

zelmak":3ob6ax2x said:
I'm looking at setting up a box at home with Linux and Oracle to futz with these technologies.

But the problem is that if they're unavailable at the job site, there's really no point.

Why won't they give you the tools to do the job...? Starting to sound like a problem contract.
 
ShuggyCoUk":1iq6kuou said:
You can't install their express edition?

I was under the impression that Express didn't come with the XML DB goodness. I'll go back and check.

If not then keep all your data and definitions utterly vanilla SQL and use the SQL Server compact edition or any other free 'no install' local database, if PostgreSQL has one that would be best given your oracle end target, but I think the best you could do there is run a Live CD.

I have to say, that I've never heard of a LiveCD Database ... I guess, tho, its no different than a Virtual Appliance, eh?

if the xml is vaguely well structured inserting it into the database should be as simple as a streaming xml reading API with inserts as you go along.

It is, with a few exceptions. Unfortunately, these exceptions happen across the whole of the input XML. The XML (and apparently the process that creates it and other process which consume it) rely on implicit ordering of items based on their order within the XML. For example, one chunk of XML designates a list of ranges of decimal values.
Code:
<!-- no explicit ordering -->
<frequencies>
  <range>
    <min>10.0</min>
    <max>20.0</max>
  </range>
  <range>
    <min>25.0</min>
    <max>35.1</max>
  </range>
  <range>
    <min>42.0</min>
    <max>55.3</max>
  </range>
</frequencies>
Another chunk of XML will reference the first chunk as a lookup table, referencing items with an integer index by their order in their sub-list.

Code:
<!-- explicit ordering for these items, but they depend on the implicit order of the other list -->
<playback-order>
  <event>
    <order>1</order>
    <range>2</range>
    <duration>5</range>
  </event>
  <event>
    <order>2</order>
    <range>1</range>
    <duration>16</range>
  </event>
  <event>
    <order>3</order>
    <range>3</range>
    <duration>3</duration>
  <event>
  <event>
    <order>4</order>
    <range>3</range>
    <duration>3</duration>
  </event>
</playback-order>

Simply inserting these values into a database breaks that ordering (since a DB isn't required to send them back to you in any specific order. (I discussed this in one of my previous posts, as well.) So, additional fields or mapping tables are required to explicitly support the implicit ordering/indexing.

Using the native API for pushing data into the database will be the fastest route, but at 30K rows there's no point worrying, you you likely want to go with a 'only apply changes' route anyway after that.

I haven't tracked changes between updates; I've just been restarting/redploying my application whenever the file is updated during low-usage periods. There are SOME IDs on some bits of the heirarchy, but not everywhere. Without those IDs, I don't know how to compare old bits with new bits. I imagine that the IDs are guaranteed to be consistent across the weekly XML dumps, but the way things work around here...
 

Joel_B

Ars Praefectus
4,652
Subscriptor
zelmak":3g9wbfl2 said:
It is, with a few exceptions. Unfortunately, these exceptions happen across the whole of the input XML. The XML (and apparently the process that creates it and other process which consume it) rely on implicit ordering of items based on their order within the XML. For example, one chunk of XML designates a list of ranges of decimal values.

Another chunk of XML will reference the first chunk as a lookup table, referencing items with an integer index by their order in their sub-list.

Parse it and then let Hibernate worry about it.

zelmak":3g9wbfl2 said:
I haven't tracked changes between updates; I've just been restarting/redploying my application whenever the file is updated during low-usage periods. There are SOME IDs on some bits of the heirarchy, but not everywhere. Without those IDs, I don't know how to compare old bits with new bits. I imagine that the IDs are guaranteed to be consistent across the weekly XML dumps, but the way things work around here...

Then make your own IDs up. You will need to come with some way of making PKs anyway.
 
Joel_B":2qj19eof said:
zelmak":2qj19eof said:
It is, with a few exceptions. Unfortunately, these exceptions happen across the whole of the input XML. The XML (and apparently the process that creates it and other process which consume it) rely on implicit ordering of items based on their order within the XML. For example, one chunk of XML designates a list of ranges of decimal values.

Another chunk of XML will reference the first chunk as a lookup table, referencing items with an integer index by their order in their sub-list.

Parse it and then let Hibernate worry about it.

zelmak":2qj19eof said:
I haven't tracked changes between updates; I've just been restarting/redploying my application whenever the file is updated during low-usage periods. There are SOME IDs on some bits of the heirarchy, but not everywhere. Without those IDs, I don't know how to compare old bits with new bits. I imagine that the IDs are guaranteed to be consistent across the weekly XML dumps, but the way things work around here...

Then make your own IDs up. You will need to come with some way of making PKs anyway.

I had been before I had those DB performance issues ... when you make a change to your code, and performance tanks, its the code, right? Not in my case. :p
 

Joel_B

Ars Praefectus
4,652
Subscriptor
zelmak":3hjamyhw said:
Is there an easy way to use JAXB generated objects with Hibernate? Do I have to make a bunch of mapping files or can it 'figure it out' without my help?

I've been looking for the answer to this, but my google-fu is failing me.

Yes, you will need to make mapping files. Instructions on how to do this should be in any good Hibernate tutorial.
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
zelmak":23qvtg7n said:
All true. But I don't manage any of the DB infrastructure. Our DBA waves his hands, reboots the machine or restarts Oracle and presses on. My input doesn't matter since I'm just a developer. I've opened a ticket, only to have it closed after a reboot to "could not replicate."
This is an entirely political issue, but I'd be actively working it. Get people who care about getting the job done to care, and it'll probably get resolved, or at least examined in your favor. I realize that may be quite difficult.

None of our development DBs seem to have any XML bits installed ... but, again, I don't know enough about the innards of Oracle other than how to connect to it with SQL Developer and/or JDBC ... so I could be looking in the wrong directions.
It's installed by default with most mechanisms, so you have to go out of your way to not have XDB loaded in your database.

I was under the impression that Express didn't come with the XML DB goodness. I'll go back and check.
It absolutely does. XE at this point includes almost all of the Oracle features that are sensible in a single-instance database, except for a few high-end and not often used options (like label security and row-level security).
 
1. Make a database with tables that sort of match your xml structure.
2. Parse XML into java objects
3. Bulk load data into database with the database framework of your choice (plain JDBC, JDBC templates, Hibernate)
4. Use sql queries to query your data
5. Profit.

Plain SQL using JDBC and JAXB will be more verbose but are perfectly capable of doing everything described above and you'll spend more time solving your problem and less time learning new frameworks. (Its important to know plain SQL and JDBC before you make the jump to more complicated stuff anyway).
 
Okay, I think we've gone a bit astray from my real problem ... perhaps its my fault for not explaining what I think my problem is well enough. I didn't mean for this to become a small war between database/no database users.

Data storage, whether keeping stuff in-memory or stored in a DB is not my number one problem, as I see it.

My number one problem is creating or finding a flexible 'framework' which allows me to generically import data (again, from any source), describe that data to the system either through config files [barf] or some property-to-field-to-column mapping [better, but still cumbersome] or implementation of some programming interface, then have that framework do those things that need to be done for the user (display key information in a table-like grid, provide searching/filtering tools, allow sorting by one or more columns, allow columns to be hidden if they're not immediately necessary and provide a detail view of the information.)

I realize that I'm going to have to munge incoming data in some way; what i want to be able to do is munge it in a very generic way which can be easily used by the framework or other programs. I would be extremely happy if Oracle's XMLDB would help with this, but I'm sure it won't help all the way.

What I'd really like is something that works like the Newegg or Levovo online catalogs. Simple search with more advanced search if necessary. Range handling (for prices and sizes and such).

I apologize if I wasn't entirely clear up front ... I guess I need to learn to ask questions better.
 

Sbodd

Ars Tribunus Militum
1,847
zelmak":1xx56awu said:
Is there an easy way to use JAXB generated objects with Hibernate? Do I have to make a bunch of mapping files or can it 'figure it out' without my help?

I've been looking for the answer to this, but my google-fu is failing me.

Not related to your "back to the main problem" reply - but hyperjaxb (http://confluence.highsource.org/display/HJ3/Home) does exactly this. Feed it an XML schema, and it generates corresponding classes that are both JPA and JAXB annotated. There are a few gotchas I've run into, and the documentation is woefully incomplete, but it does work, and the dev is pretty responsive to queries on the java.net mailing lists.
 

LordHunter317

Ars Legatus Legionis
22,394
Subscriptor
zelmak":kp11z8d5 said:
My number one problem is creating or finding a flexible 'framework' which allows me to generically import data (again, from any source), describe that data to the system either through config files [barf] or some property-to-field-to-column mapping [better, but still cumbersome] or implementation of some programming interface, then have that framework do those things that need to be done for the user (display key information in a table-like grid, provide searching/filtering tools, allow sorting by one or more columns, allow columns to be hidden if they're not immediately necessary and provide a detail view of the information.)
There's s a couple approaches to this, if you really wanted to do it. One is tools like Oracle Application Express. However, if you look at the docs or try the online demo, you'll see that it won't save you much work. What you gain here is the ability to (notionally) push the work off on other people.

The other approach would be to build a tool to store XML in a database, provide querying against it (mostly likely via XPath) and even display it without knowing anything about its structure whatsoever. I've worked on a program that did exactly that, but there was still considerable effort involved in building custom visualization tools for specific XML formats. One trivial example: if you have KML you want a map and the ability to load it in Google Earth. Visualizing KML as a tree is not very helpful, generally.

I agree with Ravensroke, I would start just building something for your immediate problem, then expand it to solve the problems of those around you. You might be able to the expansion upfront, but until you have a working application it's probably imprudent.
 
Status
Not open for further replies.