Solved

Web Application question

Posted on 1998-11-17
6
200 Views
Last Modified: 2013-12-25
I am developing a web application that enables users to log on to a page and record their location.  Very much like a diary.  This data will be shown to all users who view the page.  There will be many users on a page.

I have access to a unix server or a pc shared drive.  What is the easiest method to use.

I have thought about, Java, ActiveX, Perl.  I realise there has to be some type of database used. Has anyone got any suggestions ?

I also need the database to generate a web page on the fly.

Any clues.

Lee
0
Comment
Question by:lee_jd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1856414
ASP has "Application-"variables which are identical to all current users of the application. You need Windows NT & IIS to use ASP.
0
 
LVL 1

Expert Comment

by:aahzman
ID: 1856415
I haven't had any experience with ASPs so could not comment on them, but what you are wanting to do could very easily be done with Perl (or C).  You could use the built in routines to use Unix databases and query them with SQL, or you could store the information in flat-file databases (just a pure text file).

It shouldn't be too much of a task to program what you are wanting, and it's very easy to produce dynamic pages with Perl (the program would give out the information after readin it from a database, as opposed to the database generating the pages...)
0
 
LVL 2

Author Comment

by:lee_jd
ID: 1856416
I've can do c better than perl, how does c work on a server, is it just compiled as norm and executed from the web page with parameters passed to it ?

Also, if it is a flat file, i.e. not a database I will get problems when more than one person tries to alter the file, I'm guessing I'll have to use a database.  Do you know of any libraries that will assist me.

Lee
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Accepted Solution

by:
aahzman earned 100 total points
ID: 1856417
If you wanted to code your program in C then you would just compile it as normal and send a call to that executed program.  I have an example of a CGI program written in C if you'd like it, though I think it'd be best if you emailed me for this as it's a little long to post here.  If you know some Perl though I really would recommend using it - the string manipulations, searches and so on are so much easier to use and implement than in C.

Providing you lock the file when updating it using whatever library routine is appropriate for the programming language you use (eg, flock()), then you shouldn't get any problems when updating the flat-file database.  This has worked for me in the past.

It might be worth your while checking out this site:

    http://www.cgi-resources.com/

because there might already be a script you can use and modify.

Hope this helps you out.

Andy

0
 
LVL 1

Expert Comment

by:aahzman
ID: 1856418
Forgot to include my email...  Which is:  aahz@writeme.com
0
 
LVL 2

Author Comment

by:lee_jd
ID: 1856419
Many thanks,

Could you mail be that cgi prog to : lee@mula.demon.co.uk

Regards,

Lee
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What does GoogleTagMgr javascripts below do 5 53
How to create a textarea which saves text in HTML 8 62
Alert after MVC form submitted 1 28
Code Manager | Snippits 2 59
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question