views:

62

answers:

2

I'm trying to create a website that will take data from some file as input to a javascript page that will then do some data crunching and spit out some html. Additionally, I want the website to allow users to upload their own data to then be displayed. I'm imagining something like where the top center of the page has the results of the javascript, and below is a list of uploads and clicking on one will update the top display with new data from that upload.

I obviously don't want to reinvent the wheel and roll my own user authentication and content management system, so I was looking at drupal. Is there some way to extend drupal to do this (or a module that already does)? Or is there a better way entirely that I'm not aware of? Thanks.

A: 

I don't know if there is a framework for this, but look into jQuery templating. Other javascript libraries also offer something similar. You might also want to look into the Cappuccino framework.

Geuis
A: 

It seems you have a very specific JavaScript use case. It is necessary for all these things to take place on the client (i.e. browser) side with JavaScript? Can it not be done on server side? There are thousands of modules in Drupal and some of them might be able to fully/partially meet your requirements .

I'd suggest you buy a ebook/book version of the excellent https://www.packtpub.com/drupal-6-javascript-and-jquery/book by matt butcher. After reading this book you should be able to get a fair idea of the direction you need to head in.

Sid NoParrots
I'm actually looking for a server side solution. I just want to be able to have a permanent area in the middle of the page. A pretty close example I can think of is mapofstrange.com. They have a google maps section of their page (js) and a changing list of data on the side that affects the js part when you click on it. The biggest difference is I want to include user-uploaded content.
Dan