weixin_33724059 2015-03-24 12:30 采纳率: 0%
浏览 12

显示数据的最快方法

i want to load a table with around 10k entries into a div once the page has loaded.
I use the body onload funtion to make an ajax request that reads data from 10k different text files, parse the data into a table, and return the table to the div.
but it takes a lot of time to read and parse data from 10k files.
I've tried simultaneous parsing using javascript, but it still requires php functions so all i can do is make parallel AJAX requests,
but that doesnt seem to do the job either.

What could be the best/fastest way to display the table??

the JSON

{  
   "InventionTitle":"Method and system using information",
   "Abstract":"This invention provides assistance to a user in accessing network attached information sources.",
   "number1":"US-6102969-A",
   "date1":"19990512",
   "date2":"20000815",
   "number2":"US-09310899",
   "has_pdf":"",
   "TitleDWPI":"",
   "AbstractDWPI":"",
   "Assignees":"TkVUQk9U",
   "Inventors":"Q0hSSVNUSUFOU09OIERBVklE | RE9PUkVOQk9TIFJPQkVSVCBC",
   "PriorityNums":"US-08933782 | US-08025304",
   "PriorityDates":"19970919 | 19960920",
   "IPCClasses":"G06F 13/00 | G06F 17/30",
   "ECLAClasses":"H04L 29/08N1 | G06F 17/30W1",
   "USClasses":"717/146 | 707/999.002 | 707/999.01",
   "CPCClasses":"Y10S 707/99933 | Y10S 707/99935 | Y10S 707/99944"
}

table rows are Title, number1, number2, date1, date2, inventor, assignee

  • 写回答

1条回答 默认 最新

报告相同问题?