473,385 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Drug Database

I have a website that I would like to add a pharmacology
'database' (for lack of a better word) of about 50-75 drugs. Basically
I want users to be able to click on any drug and quickly have a page
refreshed with that drug's data, with all pages having the exact same
format, i.e. drug indications, contraindications, side effects, etc.
all organized into different sections (probably using CSS table).

My domain (godaddy) doesn't support PHP, so that isn't an option. I
would prefer that this be a client-side application as I would like
the information on the page to change as quickly as possible, i.e. not
reload the page, or not have to go to the server and back. I
definitely don't want to have 50-75 separate html pages!

Can this be done with JavaScript, AJAX - with some XML or MS SQL
serving as the data repository? I can normally figure out how to
tackle these problems, but the more time I spend in the computer book
isles at the bookstore, the more confused I get. None of the books
seem to list examples of what I'm trying to do. What's the easiest way
to accomplish this? Do I have to tackle learning ASP.NET to do this?
I know a little VB, but the learning curve looks like it would be
steep.

Aug 17 '07 #1
2 1444
"NavyPsych" <kn****@yahoo.comwrote in message
news:11**********************@g4g2000hsf.googlegro ups.com...
I have a website that I would like to add a pharmacology
'database' (for lack of a better word) of about 50-75 drugs. Basically
I want users to be able to click on any drug and quickly have a page
refreshed with that drug's data, with all pages having the exact same
format, i.e. drug indications, contraindications, side effects, etc.
all organized into different sections (probably using CSS table).

My domain (godaddy) doesn't support PHP, so that isn't an option.
Don't you mean your godaddy is your Web host (not your domain)?

I have a domain hosted by GoDaddy that uses PHP under Linux.

You just can't run PHP under Windows:
Deprecation of Windows Hosting PHP support
ArticleLast Updated: July 30, 2007 4:50 PM
I would prefer that this be a client-side application as I would like
the information on the page to change as quickly as possible, i.e. not
reload the page, or not have to go to the server and back. I
definitely don't want to have 50-75 separate html pages!
You could have a single page with all of the information then just
show/hide each drug based on the user's request.
Can this be done with JavaScript, AJAX - with some XML or MS SQL
serving as the data repository? I can normally figure out how to
tackle these problems, but the more time I spend in the computer book
isles at the bookstore, the more confused I get. None of the books
seem to list examples of what I'm trying to do. What's the easiest way
to accomplish this? Do I have to tackle learning ASP.NET to do this?
I know a little VB, but the learning curve looks like it would be
steep.
"Easiest" often depends on what technologies you know.
You could use MS-Access with ASP pages, PHP with My-SQL, et.al.

Who is your audience?
Aug 31 '07 #2
McKirahan wrote:
"NavyPsych" <kn****@yahoo.comwrote in message
news:11**********************@g4g2000hsf.googlegro ups.com...
>I have a website that I would like to add a pharmacology
'database' (for lack of a better word) of about 50-75 drugs. Basically
I want users to be able to click on any drug and quickly have a page
refreshed with that drug's data, with all pages having the exact same
format, i.e. drug indications, contraindications, side effects, etc.
all organized into different sections (probably using CSS table).

My domain (godaddy) doesn't support PHP, so that isn't an option.

Don't you mean your godaddy is your Web host (not your domain)?

I have a domain hosted by GoDaddy that uses PHP under Linux.

You just can't run PHP under Windows:
Deprecation of Windows Hosting PHP support
ArticleLast Updated: July 30, 2007 4:50 PM
>I would prefer that this be a client-side application as I would like
the information on the page to change as quickly as possible, i.e. not
reload the page, or not have to go to the server and back. I
definitely don't want to have 50-75 separate html pages!

You could have a single page with all of the information then just
show/hide each drug based on the user's request.
>Can this be done with JavaScript, AJAX - with some XML or MS SQL
serving as the data repository? I can normally figure out how to
tackle these problems, but the more time I spend in the computer book
isles at the bookstore, the more confused I get. None of the books
seem to list examples of what I'm trying to do. What's the easiest way
to accomplish this? Do I have to tackle learning ASP.NET to do this?
I know a little VB, but the learning curve looks like it would be
steep.

"Easiest" often depends on what technologies you know.
You could use MS-Access with ASP pages, PHP with My-SQL, et.al.

Who is your audience?

Mmm.

The way I have done similar is to :-

get a fixed IP address from my broadband supplier. The bandwidth is
entirely adequate for a low volume application.
Get a cheap Debian linux box and set it up with apache, php and mysql,
and webmin.
put a redirect for web access on my router
set up my domain so that www.mydomain.com points to my public ip address.
Designed my database.
Make the using webmin and populate them a bit using that, and a bit
using mysql scripts.
hack some php stuff to display the info and have menus.

I've used a shade of javascript here and there, but not a lot. The
guts of it is in the php/mysql stuff.

Have a look at my first rather crude attempt for someone.

www.peterrake.com

If this fits the bill I'd be happy to e-mail you the various bits and
pieces, but you would have to use them as 'examples' - I can't spend
time designing someone else's stuff.
There is a private administration page where picturse are uploaded and
text is entered. But you don't get access to that!

But a definite way to begin is to get an old PC, (no need for screen or
keyboard once its up) and install the latest Debian on it, apache2,
Mysql and php5 and webmin plus support libraries for mysql under php5.
You can then learn what you need on a local machine until the site
'runs' then if you have a static IP address, make it globally accessible
and get friends to test it.

Then get the O'Reilly mysql book, and a book on HTML and php5 and 'git
coding'



Aug 31 '07 #3

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

Similar topics

0
by: Cherrish Vaidiyan | last post by:
sir, The following are the steps that i followed in setting up standby database on Red hat Linux 9. i am using Oracle 9i. i have followed the steps in this site : ...
6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
8
by: Kamlesh | last post by:
Hi, How do I know the physical database path of a database. When I goto the DB2INSTANCE users's directory (/home/db2inst1), I see following folders: /db2inst1/NODE0000/SQL00001...
1
by: pintur | last post by:
The message is: SQL1036C Errore di I/O durante l' accesso al database. SQLSTATE=58030 what is the proble? what for restore tables? thanks
3
by: josh.kuo | last post by:
Sorry about the subject, I can't think of a better one. I recently wrote some PHP classes that I think might be of interest to this group. Since I have been reaping the benefits of reading news...
8
by: morleyc | last post by:
Hi, until recently i was quite happy to add data sources from mssql database in visual studio and drag the datasets directly onto the form this creating a directly editable form which worked well....
0
by: anganb | last post by:
Employment Drug Tests Drug testing is usually performed for purposes of employment, and is also used in social work and the court system to ensure that an individual is responding to drug...
0
by: ellingt8877 | last post by:
crack drug http://crack.cracksofts.com
0
by: Jack | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.