Suggestions for technology used for an application


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Suggestions for technology used for an application
# 1  
Old 12-26-2013
Suggestions for technology used for an application

I want to develop an application. Simply,
  • Open this application via the web
  • Access database to retrieve some information
  • Do some validation and process inputs
  • Create a file based on a master file from a UNIX server
  • Put that file to the UNIX server

That is it. I have got suggestions to do this with Perl CGI. (my system has up to Perl only - no Python)

Is Perl CGI a better way to do it? Or are there anyother alternatives that are more effective than CGI?
# 2  
Old 12-26-2013
PHP looked nice for the first three, but then you got into batch. Maybe put that file into a DB table, process it and select out the new file? Can the unix server push the file so it gets processed and returned, perhaps with a web query?
# 3  
Old 12-26-2013
I don't think PHP would be good for me.. Since the system that I am working do not have any PHP codecs Smilie

Quote:
Maybe put that file into a DB table, process it and select out the new file?
We are talking about a huge file here Smilie more than a million records. Loading that into a temporary table is worthy when I have lot more functions to carry on with the data. All I do here is a simple comparison against a column and prepare the new records based on it.

Any other suggestions are welcome too
# 4  
Old 12-26-2013
Some RDBMS allow you to map the file as a table - the data has to get over the rdbms wall somehow. I did it in Interbase/firefox using UDF with a SP.

PHP is open source code for the web server, similar to ASP/JSP.
# 5  
Old 12-27-2013
DG.. Thanks for the interest shown.. Smilie

I am working with Informix with too many restrictions. I am sure that I am not allowed to install Interbase/firefox in my system (working system not my own.. company's Smilie)

That is why I had to think about Perl CGI.
# 6  
Old 12-27-2013
Well, no point in bothering the web server for the batch, normally. PERL can talk to RDBMS as a client, running a query per record. Mapped in files are virtually inside the DB engine, allowing them to be worked in SQL and efficiently related to other tables inside a single, big query. Google "INFORMIX external file as table", and voila: Using data file abstraction with external tables in Informix Dynamic Server- You want to write a query that goes through the file one time relating records to a join of db tables, and returns a cursor of augmented data to your client. You need a robust client setup, not something dopey like some odbc/jdbc cursors that query all the result into VM first so you can walk backward, forward, etc. You need a non-reversible cursor that just flows the data out through your client code immediately as it arrives.

Last edited by DGPickett; 12-27-2013 at 01:28 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Suggestions for the interview

Hi guys, i'm undergoing a traning in solaris administration and i request if any one have an idea on the interview questions on solaris. thank you. (3 Replies)
Discussion started by: 038karthik
3 Replies

2. Solaris

Suggestions for new T5140

I've been busy and fell behind on Sun/Oracle. Forgive me if too basic. I welcome brief, cryptic, or advanced replies. I also welcome noobie information since I may have no clue what's up at the moment. Problem statement: I inherited a computer to set up. I would rather not figure out 8 months... (1 Reply)
Discussion started by: Nevyn
1 Replies

3. UNIX for Advanced & Expert Users

Need suggestions.......

Hello there....i am a final year comp science student.......i am thinking of doing my project on unix platform......which one do u suggest?thanx in advance... (3 Replies)
Discussion started by: theprasad1990
3 Replies

4. Solaris

application Crashes on memset ?? any suggestions

Hi All, we have an application that is written in 'C' programming to connects to various servers in the organization. The bellow code establish a TCP connection to connect to the remote servers. the application works perfectly ok, but, after some time the entire process get's crashed and... (2 Replies)
Discussion started by: sudharma
2 Replies

5. Shell Programming and Scripting

Suggestions on input

Hi, I have written a script which calls a process which ends up in a reboot of the system. At the end of the reboot it prompts for login & i need to provide the login details. am not able to figure out hw to do this. Doubt: will echoing login details after calling the process work? for ex:... (1 Reply)
Discussion started by: meera
1 Replies

6. UNIX for Advanced & Expert Users

Looking for Suggestions...

We run WebSphere and by default it wants to install everything under /usr. While I can understand the default (everyone has a /usr) I would like to move this over to a dedicated volume group called apps and then setup my lv's and fs's here. Our WebSphere Admin doesn't like this because apparently... (1 Reply)
Discussion started by: scottsl
1 Replies

7. UNIX for Dummies Questions & Answers

Backup suggestions

The current backup procedure we using a tar command in linux. The files are stored in one partition in different folders. The docs stores in day wise folders like ex: /usr/data/xyz/20050129, /usr/data/xyz/20050130 .............etc We using tar & gzip command to take backup everyday. The backup... (3 Replies)
Discussion started by: bache_gowda
3 Replies

8. UNIX for Dummies Questions & Answers

Suggestions wanted ...

All, Have an AMD-K6/2 PC, 20G.Hd along with RH7.2. Wanting to know what I should do in terms of setup (workstation/server) and then what I can do with it? I'd like to learn a DBMS and SQL - can I do this using RedHat? Any suggestions with how I can use/ what I can do with this appreciated. (3 Replies)
Discussion started by: Cameron
3 Replies

9. Filesystems, Disks and Memory

Backup Suggestions.

Hi all, Have two SCO 5.0.5 systems and one Slackware(joy?) system. I've been asked to backup all three systems onto a newly acquired AIT Tape drive that we've installed on one of the SCO boxes. Using the existing cpio backup script on the one SCO works a treat and is really fast (which is... (2 Replies)
Discussion started by: Cameron
2 Replies
Login or Register to Ask a Question