in reply to Re^3: Perl/CGI web page showing data by portions
in thread Perl/CGI web page showing data by portions

Brad, I completely agree with your recommendations. Scroll is fine. Reading predetermined ammount is also ok for me. I just need to start with something. If you could give me an example or good link with examples I would appreciate.
Thanks, Vitaly
  • Comment on Re^4: Perl/CGI web page showing data by portions

Replies are listed 'Best First'.
Re^5: Perl/CGI web page showing data by portions
by bradcathey (Prior) on Dec 09, 2007 at 00:15 UTC

    Well, show us what you have. The monastery is not a place where the work is done for you without you showing your attempts.

    Having said that, a few clues: we should see 1) how the script is called in the first place, 2) how what is retrieved is determined, 3) the retrieval of the content, 4) the build and output of the HTML (or templating system), and 5) if you decide to go with an incremental method, the recalling of the script and method to lift and display the next piece.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
      As I told I am not an expert. So, if possible, where can I read about creating text boxes and filling them out using perl/CGI

        Read CGI.pm documentation. It's all you need.

        Also how about showing next chunk of data via Javascript? For example you set Javascript variable (array?) with whole data. After that you can show only chunk of data (next array element) in your text box without page reload.

        Another way is to store current part number in cookies and when someone request page you just read cookie and set content of your text box to cookie part number plus one.

      You can start with CGI Tutorials. Those will get you well on your way. There is nothing like rolling up your sleeves and diving in. We all learn by our mistakes—no substitute for that.

      Highly recommend HTML::Template and eventually, when you get your CGI legs under you, CGI::Application


      —Brad
      "The important work of moving the world forward does not wait to be done by perfect men." George Eliot