If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Formal Dbase (mySQL, Access etc) vs adhoc datafiles +Javascript

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-05-11, 23:31
brian818 brian818 is offline
Registered User
 
Join Date: Dec 2011
Posts: 1
Formal Dbase (mySQL, Access etc) vs adhoc datafiles +Javascript

I am new to databases and trying to setup a mySQL server based database for biological data (each record will consist of images, vectors and numeric and string parameters etc.).

A colleague is suggesting using a text based data file to represent my data (essentially a simple text based spreadsheet description of my database) and Javascript to create the front end access to the data. He claims is much simpler and easier to maintain. That, compared to using a formal data-basing framework doesn't sound like a good idea - feels like a very adhoc mickey mouse solution - and using Javascript? But I don't know enough about databases to fully argue against or in favor of one - can you please share your "pros" and "cons" or experiences comparing these two scenarios? Is using a text file in combination of Javascript front coding be a sound substitute to using a formal SQL framework? Isn't that so much more work and less robust etc.?

Thanks in advance,
Brian
Reply With Quote
  #2 (permalink)  
Old 12-08-11, 20:32
caseyvandenaard caseyvandenaard is offline
Registered User
 
Join Date: Dec 2011
Posts: 6
no one would ever want to do something like that.

Firstly it will be slow since JavaScript (a language not designed to handle databases) will have to do all the computations and stuff on the textfile.

If using MySQL then after installing something like PHPMyAdmin you're good to go whereas I would guess that javascript thing would take a bit to set up. It more sounds like using Ms Access, which in the real world....no one trusts microsoft. I wouldn't trust them with my data.

With the JavaScript thing, there would be no solid way (if there is then it is sure to kill you) of setting up relationships between tables. Thus no possibility of expanding.

If you were just wanting to record data, then you might as well just use Excel, make a table and put in the information. But in my opinion if you want the data to be readily accessible then the best way is to go for something like MySQL
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On