/    Sign up×
Community /Pin to ProfileBookmark

Need Help for building system

I’m a student and have been allocated a project but not really sure where to start, any suggestions will be useful.

The system consists of some objects (not relevant what these are) which have RFID tags attached to them. You then have a portable device (eg a PDA) with a tag reader so that when you scan the tags information about that object is displayed to you.

Ignoring the tag reader interface for now (this is dll/acitveX and will be handled later). The information will be stored on a central server in the form of HTML pages. The portable devices will connect to the central server via a wireless LAN connection.

My intial problem is to presume that the tag reader gives me some sort of ID back, then the page about the object for that ID needs to be displayed in a browser on the PDA. I need to create some form of look-up table to reference the ID to the relevant html file.

To make this even simpler I will initialy just simulate this on a single PC so don’t even need to worry about the wireless connection.

I don’t know where to start….how can I create the ‘look-up table’ and what language should I use – Javascript? PHP?

Any help would be greatly appreciated, thank you.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundrySep 10.2004 — The easiest thing is probably, if possible, to simply name the HTML files after the ID number they represent (for example, have a page accessible at http://server.example/id/123.html for the object with ID 123). This would make accessing them very easy.

If the filenames are immutable, or you want to do something more advanced such as pulling the data from a database, you could use PHP or another server-side language and pass the ID on the query string (for example http://server.example/id.php?123).

Provided your server has a decent URL rewriting engine (such as Apache with mod_rewrite), you could rewrite URLs such as http://server.example/id/123 into whichever of the previous forms you plan on using. This would make the back-end system transparent so you could change it at will.

Adam
Copy linkTweet thisAlerts:
@JavaHead_JonnieSep 11.2004 — Rather than making a hell-of-a-lot of .html files, wouldn't it just be easier to create one PHP file and a MySQL DB?
Copy linkTweet thisAlerts:
@PeOfEoSep 11.2004 — I would use several server side pages and write the content out on each from a db, but actually have different pages for the different platforms. This would be a little more efficient then writing out special code for each platform each time.
×

Success!

Help @robmcbride99 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...