Discussion Locked

INTERNET DEVELOPMENT

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

HOW CAN WE USE OBJECT ORIENTED TECHNOLOGY FOR INTERNET BASE S/W DEVELOPMENTS ?
GIVE ME EXAMPLES AS WELL

5 replies

by geoffreyc

G'day!

You could use Perl as the CGI language, with html forms for the interfaces. I am working on a system at the moment that has company and client objects among others.

I have a perl script clientmain.pl that the user is directed to from the login.html page. It creates a company object which populates itself out of the database and then the company object populates itself with client objects.

Inside the client object is a method called Client_Summary_HTML. The clientmain script writes out generic html headers, and then calls $company->Display_Clients(); which in turn calls upon the Client_Summary_HTML method in each of its clients, the end result being a web page with a display of client summaries....

Hope that gives you some ideas! Check out the perl documentation for CGI.pm for the
web, and perltoot, perlobj, perltootc, perlmod and perlmodlib. If you dont have perl, a search on these terms will bring up numerous hits for them.

Cheers,
Geoff

This discussion is closed to new replies.