help with HTTPClient

View: New views
3 Messages — Rating Filter:   Alert me  

help with HTTPClient

by Steve Hunter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

All,

 Our product (http://www.agilense.com/documents/EA-GraphicalModeler_final.pdf) is built on Squeak. It is essentially a web based case tool which gets/sends its contents via HTTPClient. It is being deployed to a large Solaris based customer and we are having problems in the HTTPClient layer. Solution to this is urgent, I am flying Bert Freudenberg in from Germany tomorrow (Sunday 29th ) to Colorado to help solve the problem (Bert worked on the Squeak Plugin on Unix). However, it would be very useful to have a team of folks that know the HTTPClient/sockets layer that we can communicate questions with as we work thru the issue. Is there anybody out there?

 

regards,

 Steve

 

 

 

Home of EA WebModeler, the easiest solution to
collaboratively document and manage enterprise architecture.

 

Stephen Hunter
Chief
Technical Officer

Agilense, Inc.
4277 Berwick Place, Woodbridge, VA 22192

Steve@Agilense.com
Direct: +1
703-878-2475
Mobile:+1
703-508-3421

Tel: +1 800-803-9840
Fax: +1 703-878-3856


 

 



_______________________________________________
Io mailing list
Io@...
http://lists.squeakfoundation.org/mailman/listinfo/io

Parent Message unknown RE: help with HTTPClient

by Steve Hunter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello Todd,

 Thanks for responding. Our application is a “full blow web app”, the back-end is VAST web connect. The Graphical Modeler (essentially a web based case tool) is a Squeak Plugin application (pr file) which communicates with the back-end, providing a different UI for the same underlying content served by the VAST back-end (so we have a “forms” based html UI, and a “LinesNboxes case tool” UI based on Squeak).

 

The requirements are pretty simple, the Squeak application needs to fetch images, and it needs to get and put xml.  

We need proxy and https support, hence using HTTPClient which relegates proxy and https work to the browser, so essentially the application gets/puts content on a socket.

 

Colin Curtin had the same (negative) comments with respect to the native HTTPClient in Squeak and said the community was considering replacing it, and the implementations he was aware of are below….I guess yours can now be added.

 

Squeak native
Steve Waring's
Colib Curtin
LibCurl

 

My first objective is to solve the issue at hand, which we think is a timing related problem somewhere between Squeak and the browser, but not sure yet. However, since our (Commercial) application relies on a client side application (squeak plugin), communicating over http to the server, we absolutely need a rock-solid networking layer. We also want to move our html UI up to “AJAX style” html UI’s (or essentially getting back to client-server programming using a browser as the client and therefore need that solid networking layer) So, I’d encourage the community to pick the best of what people have done and build a common, solid, HTTPClient layer. FWIW, our application is being deployed throughout a company that lives by the slogan; the network is the computer, and our networking bits do not impress them at the moment. But…the application running over the net is impressive so, hopefully, if we can fix the network bits, all will be forgotten and we can get back to impressing based on what the application can do.

 

regards,

 Steve

 

 

 

 

 

 

 


From: Todd Blanchard [mailto:tblanchard@...]
Sent: Saturday, October 28, 2006 8:15 PM
To: Steve Hunter
Subject: Re: [Io] help with HTTPClient

 

I know that HTTPClient is an awful hack and there are better solutions. I've put some time into killing off HTTPClient and replacing it with one of the better built HTTP protocol stacks.

 

What is the range of requirements? Just fetching? Handling puts? Is it a full blown web app? Did you use Seaside or something else?

 

-Todd Blanchard

 

On Oct 28, 2006, at 3:55 PM, Steve Hunter wrote:



All,

Our product (http://www.agilense.com/documents/EA-GraphicalModeler_final.pdf) is built on Squeak. It is essentially a web based case tool which gets/sends its contents via HTTPClient. It is being deployed to a large Solaris based customer and we are having problems in the HTTPClient layer. Solution to this is urgent, I am flying Bert Freudenberg in from Germany tomorrow (Sunday 29th ) to Colorado to help solve the problem (Bert worked on the Squeak Plugin on Unix). However, it would be very useful to have a team of folks that know the HTTPClient/sockets layer that we can communicate questions with as we work thru the issue. Is there anybody out there?

regards,

Steve

<image001.gif>

Home of EA WebModeler, the easiest solution to
collaboratively document and manage enterprise architecture.

 

Stephen Hunter
Chief
Technical Officer

Agilense, Inc.
4277 Berwick Place, Woodbridge, VA 22192

Steve@Agilense.com
Direct: +1
703-878-2475
Mobile:+1
703-508-3421

Tel: +1 800-803-9840
Fax: +1 703-878-3856


<image001.gif>

_______________________________________________

Io mailing list

 


_______________________________________________
Io mailing list
Io@...
http://lists.squeakfoundation.org/mailman/listinfo/io

Parent Message unknown RE: help with HTTPClient

by Göran Krampe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steve! (and lots of other people, sorry, just keeping the CC as it
was)

You wrote Bert is coming to help you so I guess these questions are
totally obsolete :) but anyway:

1. What Squeak image version and VM are you using as your plugin?

2. As you write you use the browser API (in HTTPClient) today
(proxy/https etc), so AFAIK most of HTTPClient code is not used - it
instead communicates with the browser using a selection of plugin
primitives and gets the result using a StandardFileStream on a file
handle given by the plugin (or something like that). So AFAIK there is
no Socket code being run at all in the Squeak image this way. Could you
specify your problem more concretely?

Also further:

"Steve Hunter" <Steve@...> wrote:
[SNIP]
> We also want to move our html
> UI up to "AJAX style" html UI's (or essentially getting back to
> client-server programming using a browser as the client and therefore need
> that solid networking layer) So, I'd encourage the community to pick the
> best of what people have done and build a common, solid, HTTPClient layer.

I am not sure what your server is currently (I don't think you mentioned
it) - is it also Squeak based?

Even though I agree we need to clean up the HTTP client code in the
image (and I am leaning towards using Steve Waring's code) there is one
important clarification to be made:

If you move away from the Squeak plugin and start using Ajax in some
form then there is *no Squeak* running in the browser, only on the
server (given that you use Seaside on the server side for example). And
the Scriptaculous package with Seaside (Which is the Ajax solution most
Squeakers use today) does not use any of the HTTPClient code on the
server side.

Or in other words - there are several Ajax style Squeak apps out there
today that are quite robust - for example: www.dabbledb.com

regards, Göran

PS. If I can help in any way, I follow the io-list. But it sounds to me
that you need to first figure out what is going wrong with the browser
API in the plugin. And Bert is well versed in that stuff.
_______________________________________________
Io mailing list
Io@...
http://lists.squeakfoundation.org/mailman/listinfo/io