+ 4

Search Engine for huge webpage

I am a laboratory administrator, and I just write a code to store all of the apparatus data to prepare for future use. I tend to use Ctrl+F to find apparatus but I think it is a bit simple for myself. I have test Google Custom Search Engine but it didn't work. I have learn basic of HTML, CSS and JS but nothing about jQuery and others, how can I write a JavaScript code inside my HTML file, like a form, click submit then get my target highlighted, for searching purpose?

9th Mar 2018, 11:11 AM
kelvin hong ę–¹
kelvin hong ę–¹ - avatar
11 Answers
+ 11
Here is some information which may help you get started. You have two main options. ASP: https://www.w3schools.com/asp/default.asp https://www.w3schools.com/asp/ado_intro.asp -or- mySQL (or MS SQL server): https://dev.mysql.com/doc/refman/5.7/en/installing.html https://dev.mysql.com/doc/refman/5.7/en/tutorial.html With either of these options (ASP or mySQL), you will need to learn SQL. https://www.sololearn.com/Course/SQL/?ref=app
11th Mar 2018, 6:48 AM
jay
jay - avatar
+ 16
have you considered a database for storing this information?
9th Mar 2018, 11:26 AM
jay
jay - avatar
+ 8
It would be helpful if you show us why Google Custom Search Engine is not working. If you're looking for plugins available, you may be interested with DataTables. šŸ˜‰
9th Mar 2018, 12:22 PM
Zephyr Koo
Zephyr Koo - avatar
+ 8
@Kelvin I would highly recommend learning about databases. A database is probably a more appropriate place for this information and will make the process of searching (and adding) information much easier and efficient. mySQL is probably the best option for your database, but any ODBC compliant database should work depending on how the webpage will be accessed. (locally versus across a network)
10th Mar 2018, 9:30 PM
jay
jay - avatar
+ 8
@kelvin You're welcome! Just let us know whenever you need any guidance. šŸ˜‰
11th Mar 2018, 10:19 AM
Zephyr Koo
Zephyr Koo - avatar
+ 7
@kelvin It's possible, but ultimately it's better to store the data properly as suggested by @jay. Otherwise perhaps you can store the data as JSON file and render the data using DataTables.
11th Mar 2018, 5:33 AM
Zephyr Koo
Zephyr Koo - avatar
+ 1
If i'm not mistaken perhaps mySQL could be of some assistance.
9th Mar 2018, 4:27 PM
Michelangelo
Michelangelo - avatar
+ 1
@jay I haven't learn it yet, or should I?
10th Mar 2018, 12:26 PM
kelvin hong ę–¹
kelvin hong ę–¹ - avatar
+ 1
@jay @Zephyr Koo thanks for your suggestion, I think I should learn more to achieve this thing
11th Mar 2018, 9:36 AM
kelvin hong ę–¹
kelvin hong ę–¹ - avatar
0
@Zephyr Koo I look at the options, it seems like the search engine can only be plugged in a html file which have the www.example.com look, but my storing work haven't been web hosted, it is just in my computer. Is it still possible to embed a search engine inside that?
10th Mar 2018, 12:29 PM
kelvin hong ę–¹
kelvin hong ę–¹ - avatar
0
@Michelangelo Haven't learn it yet... Is it necessary? I will learn it at the future time, I think.
10th Mar 2018, 12:30 PM
kelvin hong ę–¹
kelvin hong ę–¹ - avatar