Re: Question about Callbacks and Inline Backends

2002-02-25 Thread James Michael DuPont
Aaron, Please feel free to implement the inline::sql it was just an example! Yes it would be a usefull tool, especially because you can then separate your sql cleanly. The example I gave is just to demonstrate the idea of getting a complex feedback from the backend system. I am working on a pro

Re: Inline::HTML...

2002-02-25 Thread Sam Tregar
On Mon, 25 Feb 2002, B. K. Oxley (binkley) wrote: > On Monday 25 February 2002 08:50 pm, Sam Tregar wrote: > > It will need to somehow act as a web server in order to give the > > launched browser something to make the initial request and submit the > > form to. > > Oh, I understand. That is why

Re: Inline::HTML...

2002-02-25 Thread B. K. Oxley (binkley)
On Monday 25 February 2002 08:50 pm, Sam Tregar wrote: > It will need to somehow act as a web server in order to give the > launched browser something to make the initial request and submit the > form to. Oh, I understand. That is why I recast Inline::HTML in a different light where it was a li

Re: Inline::HTML...

2002-02-25 Thread Sam Tregar
On Mon, 25 Feb 2002, Sam Tregar wrote: > On Mon, 25 Feb 2002, B. K. Oxley (binkley) wrote: > > > On Monday 25 February 2002 07:17 pm, Sam Tregar wrote: > > > Ooo, hmm. That's kind of a neat idea, but how does it work? Do you > > > setup your own HTTP server just to fake up the ACTION? If so yo

Re: Inline::HTML...

2002-02-25 Thread Sam Tregar
On Mon, 25 Feb 2002, B. K. Oxley (binkley) wrote: > On Monday 25 February 2002 07:17 pm, Sam Tregar wrote: > > Ooo, hmm. That's kind of a neat idea, but how does it work? Do you > > setup your own HTTP server just to fake up the ACTION? If so you > > might call it Inline::CGIServer! Also, how

Re: Question about Callbacks and Inline Backends

2002-02-25 Thread Aaron J Mackey
A bit offtopic from the OP's question, but your Inline::SQL looks very cute; is there actually a package out there like this (forget DBIx::Catalog and similar)? My DBI scripts usually looks like this: my %sths = ( 'get_user_from_name', q{SELECT user_id from users where name = ?}, .

Re: Inline::HTML...

2002-02-25 Thread B. K. Oxley (binkley)
On Monday 25 February 2002 07:17 pm, Sam Tregar wrote: > Ooo, hmm. That's kind of a neat idea, but how does it work? Do you > setup your own HTTP server just to fake up the ACTION? If so you > might call it Inline::CGIServer! Also, how would you support > multiple pages and/or templating of th

Re: Inline::HTML...

2002-02-25 Thread Sam Tregar
On Mon, 25 Feb 2002, Patrick LeBoutillier wrote: > I've had an idea for an Inline::HTML module that I would like to run by > this list for comments/ideas. I have a prototypical working > implementation. Inline::HTML? I've seen that - it's called CGI.pm! > This will launch a browser and get the

Inline::HTML...

2002-02-25 Thread Patrick LeBoutillier
Hi all, I've had an idea for an Inline::HTML module that I would like to run by this list for comments/ideas. I have a prototypical working implementation. Of course HTML doesn't have functions. But the way I use it in this context is to create a GUI for Perl scripts. Here's an example: -8<

Re: Question about Callbacks and Inline Backends

2002-02-25 Thread Patrick LeBoutillier
Mike, I'm not sure that I understand 100% what your question is, but I'll try answering it with an example. The Inline API is pretty simple and allows to implement you module in any way you want to. You are not forced to dynamically link a C library and bind it's functions. In fact you are not o

Question about Callbacks and Inline Backends

2002-02-25 Thread James Michael DuPont
Dear Inline Users, Here is a question about the possibility of the implementation of an Inline module using callbacks. (Note that I have not studied the internals of inline yet, but I figured that asking would be the fastest way to figure this out) Lets say that you want to get access to the res