Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 2nd, 2005, 03:13 PM
atosphere atosphere is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 47 atosphere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 17 m 17 sec
Reputation Power: 4
First time design question

Hey

I am just wondering if someone can give me a basic idea of the tools I need to create the following app:

Im creating a web app where a page will query a database on a server and retrieve some information. The information can contain X number of rows. The client can then perform a number of operations (sorting, filtering, etc) with the data. The data can then be changed and resubmitted to the server.

NOTE: When the client is performing the independant operations (sorting, filtering, etc), I want these operations to be done locally, without the help of the server.

I was thinking that the data can be sent via xml, and then the client can manipulate the data using local javascript. Is this possible? What tools do I need? I am new, so the more explanation the better. Thanks!!!

Reply With Quote
  #2  
Old May 17th, 2005, 11:42 PM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
Quote:
Originally Posted by atosphere
NOTE: When the client is performing the independant operations (sorting, filtering, etc), I want these operations to be done locally, without the help of the server.


I think you may be opening a can of worms with this restriction and an even bigger one with the XML idea.

If you are new, I would suggest stickign with server side manipulation of data; that is, page refreshes after every manipulation (each of which is passed by variable in the URL).

But, if you must, use JS to do this. What you can do is load all the data into Jscript arrays and then manipulate from there (within the browser) - they key here is loading ALL the database data into Jscript arrays (perhaps an array of arrays where the parent array key value is the row ID of your SQL table) - this way you can create calculations based on the same logic with which you would perform the server side code.


A big Note though: IF your database is even mildly sizeable, this page will take forever to load, as your Jscript will be off the charts!

Hope this helps.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > First time design question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway