473,563 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript to view data from a database

Can javascript be used to build a web-based front end to a local database?

I wrote an application for a client that controls a series of medical
devices. It runs a series of tests, collects data, and writes it to a
local SQLite database. The customer would like to interactively
filter/query this local data and display it in tables and charts. I
could do this with the language used to develop the application
(LabVIEW) or I can outsource it to someone else. I prefer the latter.
I would also prefer that the client install as little software as possible.

A friend of mine, trying to start his own business, provided an estimate
for building such a web-based application. He wants to use PHP +
Apache. Is that even necessary?

BTW, I obviously know nothing about javascript but I don't mind doing
some reading if you have some links on this topic.

-Methis
Apr 23 '07 #1
2 3788
Methis Elddir wrote on 23 apr 2007 in comp.lang.javas cript:
Can javascript be used to build a web-based front end to a local
database?
[please do not use front-end and back-end terminologiy in a web context,
they only confuses the issue]

== 1 ==

Do you mean using serverside code to read a clientside database?

[Javascript dot not mean clientside,
it can be used perfectly well on a server with an ASP platform]

Not without compromizing the security settings of your browser.

== 2 ==

Or do you mean a clientside browser code to read a clientside database?

The same restriction nearly:
Not without compromizing the security settings of your browser.

== 3 ==

Using a serverside code on a serverside database is perfectly possible an
could be reasonably safe, if you know what you are doing, remembering
that the web is a dangerous place securitywize.

But as you show you are not, first start your learning curve now for a
year or two, or pay fow quality expert help. Medical information should
be held under strict privacy controll.
I wrote an application for a client that controls a series of medical
devices. It runs a series of tests, collects data, and writes it to a
local SQLite database. The customer would like to interactively
filter/query this local data and display it in tables and charts. I
could do this with the language used to develop the application
(LabVIEW) or I can outsource it to someone else. I prefer the latter.
I would also prefer that the client install as little software as
possible.

A friend of mine, trying to start his own business, provided an
estimate for building such a web-based application.
He wants to use PHP + Apache.
If you mean, that he will access a clientside database from web-based
PHP/Apache, I would not trust his knowledge of programming and security.
Is that even necessary?
Unanswerable, without a adaequate definition of "even necessary",
J[ava]script on an ASP platform can do the same,
while programming with the same experise.
but read ==3== above.
>
BTW, I obviously know nothing about javascript but I don't mind doing
some reading if you have some links on this topic.
Obviously I you say so, so start learning
by Googling for tutorial + javascript.

Perhaps the best start is to read the NG faq.
<http://www.jibbering.c om/faq/>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Apr 23 '07 #2
Evertjan. wrote:
<snip>
== 2 ==

Or do you mean a clientside browser code to read a clientside database?
Yes to this one.

Thanks for your sound advice :)

-methis
Apr 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
7060
by: Gowhera Hussain | last post by:
Use This for Learning Only .... Do Not Try To Act Smart HACKING WITH JAVASCRIPT Dr_aMado Sun, 11 Apr 2004 16:40:13 UTC This tutorial is an overview of how javascript can be used to bypass simple/advanced html forms and how it can be used to override cookie/session
0
6421
by: Michelle Keys | last post by:
I am trying to call a print function to print a string from a database using javascript. Which is RC_DATA of Varchar2(2500). This is a javascript is not being used. I have a thing that needs to be modified: if(e.CommandName =="Print") { string parsedreceipt = null; parsedreceipt = DecodeReceipt (e.Item.Cells.Text); Session =...
2
2831
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added to it to view additional details about the selected result (a second database query is triggered). I want this second query to pop up in a new...
4
3498
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I click a button on a pop-up window the javascript for that button click does a 'button.form.submit'. On the Server side there is a Button click...
2
2133
by: Anonieko | last post by:
Hello ASPNET guru's, What is a clean way to go around the problem of displaying a GridView templated column where data can contain Single Quote ( ' )? I maybe too naive, but this is of course a common scenario. Scenario: * My database returns names that can contain single quote.
6
2046
by: Bill44077 | last post by:
Hi, I am new to the MVP pattern and one of the main reasons that we are going this route is because we are doing Scrum with 30 day sprints - so we have a continually morphing design. We are using TDD as well to improve our ability to refactor... you probably all know this approach. Although the user iterface is supposedly one of the last...
8
1825
by: Peter Michaux | last post by:
Hi, I'm sure many here have already noticed this but it seems that the development of the browser world is paralleling the development of the computer world. However, the browser world is about 20 years behind like back in the days of mainframes and dumb terminals just capable of running a window manager. Instead now we have servers and...
1
1433
by: tyv | last post by:
Hi, I have a bug on my website that I'm trying to fix. I have filters (drop down menus and click-calendar date range) that narrow down searches on my website by pulling out the information from the database. Problem is as follows: 1) I select my filters, the database choices are narrowed. 2) I get multiple pages (a filtered list from...
0
7580
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6244
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5481
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5208
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3634
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3618
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2079
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.