> On Sat, 12 Dec 2009, Keith Lofstrom wrote:
...
> >Many PLUG members seem to spend most of their time in GUI-land.
> >Which is good, if all the visual metaphors are consistent and the
> >right tools are available.   But it is much harder to automate
> >small hacks that way - you become dependent on others who are
> >skilled with gtk or qt and c++, who spend days to months polishing
> >their creations with check boxes and options.
...

On Sat, Dec 12, 2009 at 02:35:41PM -0700, Carlos Konstanski wrote:
> I do both. But my GUI hacks are generally webapps. This is because I
> am a web developer, and I have a convenient web container for such
> occasions. I am interested in playing around with ncurses at some
> point. Being a product of the 80s, I have an affinity for plain text
> output.

Good reminder!  Actually, what little "GUI" stuff I've written has
also been webapps, simple respond-to-webform stuff for my websites. 

Which leads to a question:  is there an easy way to run some subset of
webscripts locally on a machine, without the complexities of apache? 

Ideally, it would consist of some programs on the machine that 
respond to html requests on special ports by running small scripts
in /usr/local/web (for example), wrapping those scripts with enough
html stuff to talk to the browser.  The browser might have a plugin
so that when it sees a request for a naked word "URL" it tries the
program hanging on the local port before it looks on the rest of
the web.

As an example, I could type "bacon" into firefox, and it would go
to port 8088 (say) and ask the program watching the port to look
for /usr/local/web/bacon, wrap it as needed, and run it.  If there
is no /usr/local/web/bacon or ~/web/bacon, firefox does its usual
thing with barewords, which in my setup is do a google search for
the word bacon.  

That would allow me to run local scripts, perhaps with some graphic
content, via the local browser.  Then I could deploy the same or
similar scripts through apache on a real website.  Democratized
small webapps?

Keith

-- 
Keith Lofstrom          [email protected]         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to