473,394 Members | 1,810 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,394 software developers and data experts.

external data table

hi everybody,

I posted my message here last time when I was just beginning to build my web site. A few weeks later.....I have some more complicated (for me) question.

My site (html+css) is made up of articles each one containing also an exchange rate table for the main world currencies. The articles are updated almost daily and so is each table. The main web page containes approx. 10 articles and tables. Now the question: is it possible, in order to keep my site as light as possible, to keep the tables elsewhere (they are around 3kb each) but at the same time have them show up at the same time as a visitor checks the site, basically as if they where still in the html code?

I had a look at mysql. It's all doubledutch to me. I'm no programmer and I learn as I go.

Any other idea?
Thanks
Dec 10 '06 #1
1 813
Banfa
9,065 Expert Mod 8TB
There are many posibilities, however all of them require some sort of server side scripting.

Server side scripting is where you page contains code in a script language that is run at the server before the page is sent to the client.

So you could

1. Put the table into a file that is included at the bottom of every page.

2. Put the information for the table in MySQL, write a server side script that reads the data from MySQL and outputs an HTML table containing it, include that script into all you pages.

And that is just 2 options.

Your first choice is going to have to be what server side script to use, several are available, PHP, Perl, Python to name 3 (all starting with P however this is not a unique feature of Server Side scripts). You can write server side scripts using Microsofts ASP which uses Visual Basic as the scripting language.


Once you have decided on the language then decide on the method, just include a had written file or store the data in a file or database and have a script that extracts it. The first is simpler but the second is better and is detaches the data from the way in which it is displayed making both easier to change in the future.
Dec 14 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Erohsik | last post by:
I am using external tables to load data from the data file. But the log files are getting created in the datafile's directory (because of CREATE OR REPLACE DIRECTORY ...) But I want those log...
2
by: Sara | last post by:
Hi - I've been reading the posts for a solution to my query, and realize that I should ask an "approch" question as well. We receive our production data from a third party, so my uers import...
4
by: My SQL | last post by:
Hi Can I trigger an external program to run when a new record is added to the mysql table? The external program is in C and instead of scanning the table continuously for new insertions, it...
0
debasisdas
by: debasisdas | last post by:
This thread contains some useful tips for using External tables. USING EXTERNAL TABLE ======================= 1.THE TABLE POINTS TO EXTERNAL FILE. IF DATA IS ALTERED IN THE EXTERNAL FILE,DATA...
4
by: Erohsik | last post by:
I am using external tables to load data from the data file. But the log files are getting created in the datafile's directory (because of CREATE OR REPLACE DIRECTORY ...) But I want those log...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.