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条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)