Reply to Re: Error trapping in Perl-generated page

Your name:

Reply:


Posted by mbstevens on 11/19/71 11:31

Ed Jay wrote:

>>Hmm. So, when people who hate javascript visit, they have to re-set
>>their browser, and then re-re-set it on leaving. Are you sure that you
>>really _need_ to require your visitors to use javascript? I once did
>>banking at a place that required that, and it irritated the hell out of me.
>
>
> lol. My subscribers are medical doctors and the computer they'll (actually
> their techs) will be using are probably already enabled for js.

I wasn't talking about 'enabled', I was talking about visitors that just
don't like to use it. This could be for security reasons, or just
because they don't like it.

>>As long as you can already program some in Perl, just do it right and
>>generate a page with a script to get the information needed. All this
>>jumping around in javascript sounds a bit kludgy for my taste, but it's
>>your page.
>>
>
> I'm trying to be as non-kludgy as possible, but without having to resort
> to lengthy scripts.
>
I don't think it would have to become lengthy. You would just need to
use conditionals to determine which parts of the page to re-generate
given the answers received. One easy way would be to use templates:
http://www.mbstevens.com/cgi/mkatt.pl?name=cgi_perl/html_through_cgi
may help.
Or, you could just keep markup snippets in variables.

A certain level of complexity is going to be needed to do what you want.
Doing things in JavaScript won't alleviate that -- it will only
spread the burden to a second programming language, making the site just
that much harder to keep up.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация