Results 1 to 2 of 2

Thread: Modular or Object-Oriented?

  1. #1
    Join Date
    Jan 2007

    Question Modular or Object-Oriented?

    I'm new to perl and was given a task to write an application in perl. Basically, the application would let internal users make requests to open holes in a windows 2003 server firewall (the gateway to the Internet for our small company) to allow the user's application (which would otherwise have been blocked) access to the Internet.
    First, the perl application would authenticate the user and if authenticated, would then recieve a request for internet access via a web form. The input parameters would then be formatted somehow and then be commited to a database. Another script would then read the database, see the new request, and would then poke holes in the windows 2003 server (there is a script that already modifies the settings on the windows server).
    Im not sure whether to use a modular approach or OOP approach or even which design issues to consider. Is there stuff already written for this type of application?


  2. #2
    Join Date
    Nov 2002
    Baltimore, Maryland
    In Perl, like Modula, objects are modular. I think you mean to ask if you want to export a function or use objects. It really depends upon how your head works but if you need to keep information agout each hole that the script opens then you might want to use objects.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center