+ 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?
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
+ 16
have you considered a database for storing this information?
+ 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. š
+ 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)
+ 8
@kelvin You're welcome! Just let us know whenever you need any guidance. š
+ 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.
+ 1
If i'm not mistaken perhaps mySQL could be of some assistance.
+ 1
@jay I haven't learn it yet, or should I?
+ 1
@jay @Zephyr Koo thanks for your suggestion, I think I should learn more to achieve this thing
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?
0
@Michelangelo Haven't learn it yet... Is it necessary?
I will learn it at the future time, I think.