PowerBASIC Forums
  Cafe PowerBASIC
  DRDOS (Page 6)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 6 pages long:   1  2  3  4  5  6 
next newest topic | next oldest topic
Author Topic:   DRDOS
Chris Holbrook
Member
posted January 07, 2007 08:01 PM     Click Here to See the Profile for Chris Holbrook     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Paul Franks:
Another option build one of the basic web servers on the forums into your
app, point the submit button to "localhost" on an unused port like 8080,
and use CGI techniques to get the form data.


That assumes you are publishing the pages.

------------------

IP: Logged

Charles Pegge
Member
posted January 07, 2007 11:59 PM     Click Here to See the Profile for Charles Pegge     Edit/Delete Message   Reply w/Quote
quote:

No need, Jose Roca did it for you a while ago, brilliantly: http://www.powerbasic.com/support/forums/Forum7/HTML/002621.html

Thanks Paul. Phew! ( saved from a long journey into the underworld )

That looks comprehensive enough and provides more flexibiility
than the localhost solution.

Chris,
the hypothesis is: delegating a program's GUI to the browser,
is a universal solution that avoids platform specifics. Whether
your application is web-based or confined to the desktop.

------------------
Charles
www.pegge.net

IP: Logged

Paul Franks
Member
posted January 08, 2007 10:53 AM     Click Here to See the Profile for Paul Franks     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Joe Byrne:

I only used Quickbooks as an example, but as an example, it holds up very well to make my point about cross platform compilers.

Perhaps the best example of a cross-platform app that runs nicely
on several OS' is the IDE used by the majority of enterprise
Java developers: http://www.eclipse.org/ Have a look at the
screenshots. Thanks to IBM's contribution, it uses native GUI
widgets on each platform.


------------------

--pdf

IP: Logged

Chris Holbrook
Member
posted January 08, 2007 12:14 PM     Click Here to See the Profile for Chris Holbrook     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Charles Pegge:
delegating a program's GUI to the browser,
is a universal solution that avoids platform specifics. Whether
your application is web-based or confined to the desktop.


Why not just write a CGI program instead of a wrapper for a browser?

------------------

IP: Logged

Mike Stefanik
Member
posted January 08, 2007 12:56 PM     Click Here to See the Profile for Mike Stefanik     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Charles Pegge:
Chris,
the hypothesis is: delegating a program's GUI to the browser, is a universal solution that avoids platform specifics. Whether your application is web-based or confined to the desktop.

Interestingly enough, that same philosophy puts the entire UI experience under the control of a relatively small number of people (those who develop the browsers, be they commercial or free). I guess whether that's a good thing or a bad thing depends on one's personal perspective and development goals.

------------------
Mike Stefanik
www.catalyst.com
Catalyst Development Corporation

IP: Logged

Chris Holbrook
Member
posted January 08, 2007 01:21 PM     Click Here to See the Profile for Chris Holbrook     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Paul Franks:
http://www.eclipse.org/


And guess what, it supports C and COBOL. A proper job.
Runs on Windows & various ~ixen.

------------------

IP: Logged

Marco Pontello
Member
posted January 08, 2007 01:41 PM     Click Here to See the Profile for Marco Pontello     Edit/Delete Message   Reply w/Quote
Even better, Eclipse can support almost anything: http://eclipse-plugins.2y.net/eclipse/plugins.jsp?category=Languages

Bye!

------------------
Try Online TrID file identifier! Recognize over 2.300 filetypes and counting... ;)
Give a powerfull scriptable Lua interface to your application with PowerBLua
Leakout - Firewall outbound control tester - BitmapRip Extract/recover bitmaps from any file!

IP: Logged

Charles Pegge
Member
posted January 08, 2007 02:15 PM     Click Here to See the Profile for Charles Pegge     Edit/Delete Message   Reply w/Quote
quote:
Why not just write a CGI program instead of a wrapper for a browser?

Yes, this would definitely be simpler to do. I am a complete
novice in this area so I am deconstructing one of the HTTP
server samples in the pbwin/internet section, to see what is
involved.

But it may be better to avoid the cgi stage, by binding the
http server directly into the application (or as a DLL) to
provide tighter integration and easier continuity of
processing. ie:- process the posted strings directly and
spit web pages on the fly.

------------------
Charles
www.pegge.net

IP: Logged

Chris Holbrook
Member
posted January 08, 2007 03:24 PM     Click Here to See the Profile for Chris Holbrook     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Charles Pegge:

But it may be better to avoid the cgi stage, by binding the
http server directly into the application (or as a DLL) to
provide tighter integration and easier continuity of
processing. ie:- process the posted strings directly and
spit web pages on the fly.


In my brief experience, it is childs play to capture the POSTed
HTML form data using a cgi executable and output web pages,
just a matter of reading STDIN and writing STDOUT.

I thought that maybe you were aiming to wrap a browser so as to capture
input into a 3rd party web page.



------------------

IP: Logged

Charles Pegge
Member
posted January 08, 2007 04:13 PM     Click Here to See the Profile for Charles Pegge     Edit/Delete Message   Reply w/Quote
Chris,

The main intention is to make GUI design as quick and generic as
possible.

Sticking a server onto an application may be better than cgi
when the application has to run continuously - and performance
considerations come into play.

Embedding the browser itself, begins to look unnecessary, unless,
you want to intercept 3rd party web pages, as you say.

As for Eclipse, are we about to end up in the bowels of another monster?

------------------
Charles
www.pegge.net

IP: Logged

Chris Holbrook
Member
posted January 09, 2007 08:58 AM     Click Here to See the Profile for Chris Holbrook     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Charles Pegge:

The main intention is to make GUI design as quick and generic as
possible.

In addition to which a big attraction of the browser-based approach
would be that you don't have to distribute, maintain and support any client code.
The more I think about it the more I like it, at least conceptually. The test
will be in making good ergonomics.

------------------

IP: Logged

Charles Pegge
Member
posted January 09, 2007 10:33 AM     Click Here to See the Profile for Charles Pegge     Edit/Delete Message   Reply w/Quote
One of the best features of the browser interface is that it allows
the user to reshape the page and also enlarge or reduce the
text size. And all the text on the page can easily be copied to the
clipboard for text to speech. A huge benefit for people with
compromised vision. (which I have a bit)

Of course good design ergonomics comes into play here. The less fiddly
bits the better. Though ergonomics will not always equate with beauty.

------------------
Charles
www.pegge.net

IP: Logged


This topic is 6 pages long:   1  2  3  4  5  6 

All times are EasternTime (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | PowerBASIC BASIC Compilers

Copyright © 1999-2006 PowerBASIC, Inc. All Rights Reserved.


Ultimate Bulletin Board 5.45c