Moin Moin, From: Andreas Kofler <linux.kofler@gmx.net>
On Tuesday 11 June 2002 12:32, Mario Ohnewald wrote:
Ich hab mir überlegt ein Webinterface für mein Script zu schreiben, weill die Config Datei doch recht groß und ünübersichtlich wird! Im Grunde muss ich auf dem Webinterface nur den Inhalt einer Datei auslesen und neu schreiben.
In was für einer Sprache wird denn das normalerweise realisiert? Ich hatte mir so eine art Swat oder webmin vorgestellt, wobei es nie im Leben so complex sein wird, wie gesagt, ich will nur Strings aus einer Textdatei auslesen und wieder schreiben. Bin Über jeden Tipp/Beispiel Dankbar!
php ist Dein Freund!
Perl geht natürlich auch :)) PHP ist aber IMHO im Web bei großen Projekten schneller, Perl spielt seine stärken auf der Konsole und in der Textverarbeitung aus. Wenn Du mod_perl & CGI.pm installiert hast, gibt's keine Unterschiede in der Geschwingkeit zu PHP. Eher wird Perl schneller, weil Du den Code schon compiliert vorhälst. Ich nehme nur Perl für solche Sachen, aber das ist Geschmackssache! Bei Deinem Vorhaben würde ich sogar perl/tk oder Perl/qt nehmen. Ciao Andre