BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D7 or D8 and Webbroker convervsion
Goto page 1, 2  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Del Murray
Guest





PostPosted: Wed Apr 04, 2007 4:14 am    Post subject: D7 or D8 and Webbroker convervsion Reply with quote



Hope this is the right group.

Can anybody share a good process for moving webbroker ISAPI modules from D5
to D7 or D2006 ? I'm not sure how much longer my NT4 workstation is going
to last.. its great for debugging under D5 but is getting pretty old by now.

I want to be able to debug and compile for production without having to swap
module names around.

Would be willing to pay for some consulting time to get on my system with me
using with GoToMyPC or NetMeeting and help set it up.

If there is another group that this belongs in , pleas advise as I havent
posted here in a long time.

Jimmy ... are you still out there man ???


Del Murray
Back to top
Richard Bakos
Guest





PostPosted: Wed Apr 04, 2007 5:22 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote



Del Murray wrote:

Hi Del,

Quote:
Can anybody share a good process for moving webbroker ISAPI modules from D5
to D7 or D2006 ? I'm not sure how much longer my NT4 workstation is going
to last.. its great for debugging under D5 but is getting pretty old by now.

What are your concerns? It's been years since I ported my ISAPI's from
D5 to D7 but I remember it being fairly straight forward.

Rich Bakos
Back to top
Del Murray
Guest





PostPosted: Wed Apr 04, 2007 11:09 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote



Hi Rich,,, long time since we swapped emails ..

Basically here is the problem. In D5, when you create a new ISAPI you get a
unit with the name of your "project" where the TWebApplication is created
and a "unit1" which is the "Webmodule1" and in there is all the code.

In D7, that gets turned arround. The Webmodule gets created as "unit2" if
you create a debugger app so that you can debug. THen when you're done
developing, unit2 has to be returned to unit1 so it can be an ISAPI for
production.

That seems a real pain in a.. to me. How do you handle the debug issue.

My second big issue is understandint the way a module gets invoked for
debug. When i test under D5, i have IE in my "toos" menu and it has
parameters that point at my website (test version) so that when I test, I
test all the way through the web site .. from "home page" to invoking the
ISAPI to signing on and running the ISAPI and then signing off and getting
the home page back. THat way I dont get any surprises when I move to
production.

So .. 2 issues ... debug units vs production units .... and ... how do I
start my "index.htm" from the debugger window ??

I admit I am too lazy and two old to dig this out for myself.. surely
someone else has figured this out ..

Regards,

Del
Back to top
Richard Bakos
Guest





PostPosted: Thu Apr 05, 2007 3:57 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Del Murray wrote:

Hi Del,

Quote:
Hi Rich,,, long time since we swapped emails ..

Ages! ;-)

Quote:
That seems a real pain in a.. to me. How do you handle the debug issue.

I don't use the WebApp debugger, I think it's terrible. I debug
directly under IIS using the method that Alef discovered.

Here's the short-ish version -

Set the Application Protection of the web site's "scripts" folder to "High".

Open Component Services (Com+) and drill down to -
Computers -> My Computer -> Com+ Applications.

Once you're there you should see an object named -
IIS-{<websitename>//Root/scripts}.

Right click and get the properties of that object.
Find the Application ID, highlight it and copy it.

Paste that ApplicationID into the Parameters field of the Run Parameters
dialog in Delphi. Perpend the ApplicationId with /ProcessId:

Like this -
/ProcessId:{536FAEB3-CCEF-48F8-A29B-8A804D05790C}

Now find dllhost.exe on your system and copy it into the same directory
as your ISAPI. Add that path to the Host Application field of the Run
Parameters in your Delphi project.

Like this -
C:\Inetpub\Scripts\dllhost.exe

Set beak points and debug! This method has always worked well for me
but the downside is that you need to stop/start IIS everytime you make a
change to your ISAPI unless you are using the ISAPI Loader from eggcentric -

http://www.eggcentric.com/ISAPILoader.htm

Quote:
So .. 2 issues ... debug units vs production units .... and ... how do I
start my "index.htm" from the debugger window ??

I'm not sure I understand what you are asking here. Since index.htm
isn't part of the ISAPI, do you *really* need to start there? In any
case, I have my websites setup in such a way that the ISAPI handles all
the requests and I don't use and index.html file.

You can always reach me via email - rbakos (at) gmail (dot) com

Rich Bakos
Back to top
Del Murray
Guest





PostPosted: Thu Apr 05, 2007 6:59 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Rich,

Thanks much .. I'll try that. I assume that it works under WinXP Pro ??? I
am not about to switch to Vista .. no patience left.

I pass a couple of parameters to my ISAPI to tell it whether it is supposed
to look like application X or application Y when it runs (different skins so
to speak). I also tell it whether it is starting in HTTPS or not. I guess I
could just do that with a URL and it would work fine. I need the first web
page it builds to be in HTTPS mode in production because that is the app
sign on screen.

I vaguely remember the technique you described from sometime back but did
not think to research it.

I will dink you with an email if I get stuck but promise not to be a pest
.... and I could return the favor some day too.

Best regards,

Del

PS .. Email me a Del (dot) Murrray @ CreditHawk (dot) Net and let me know
where you are working these days.
Back to top
Mark Horrocks
Guest





PostPosted: Thu Apr 05, 2007 8:11 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Quote:
I have my websites setup in such a way that the ISAPI handles all the
requests and I don't use and index.html file.


How do you get google to index your site? Cloaking? This is the main reason
I have not done the same thing.

Mark Horrocks
Back to top
Richard Bakos
Guest





PostPosted: Thu Apr 05, 2007 6:24 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Mark Horrocks wrote:

Hi Mark,

Quote:
How do you get google to index your site? Cloaking? This is the main reason
I have not done the same thing.

Since the ISAPI handles all the requests for the site, my URL's look
like this:

www.site.com/link1, www.site.com/link2, etc. So yes, the dll is
cloaked. I use an asset server to serve up CSS and images.

Rich Bakos
Back to top
Richard Bakos
Guest





PostPosted: Thu Apr 05, 2007 6:33 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Richard Bakos wrote:

Quote:
Since the ISAPI handles all the requests for the site, my URL's look
like this:

www.site.com/link1, www.site.com/link2, etc. So yes, the dll is
cloaked. I use an asset server to serve up CSS and images.

I should add that this site is internal so indexing isn't a problem for
us. If it were public I would use an index file and a URL rewriter to
cloak the dll so the links still looked like what I typed above.

Rich Bakos
Back to top
Richard Bakos
Guest





PostPosted: Thu Apr 05, 2007 6:35 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Del Murray wrote:

Hi Del,

Quote:
Thanks much .. I'll try that. I assume that it works under WinXP Pro ??? I
am not about to switch to Vista .. no patience left.

Yes, it works on XP Pro.

Quote:
I pass a couple of parameters to my ISAPI to tell it whether it is supposed
to look like application X or application Y when it runs (different skins so
to speak). I also tell it whether it is starting in HTTPS or not. I guess I
could just do that with a URL and it would work fine. I need the first web
page it builds to be in HTTPS mode in production because that is the app
sign on screen.

Yup, that should work for you.

Quote:
I will dink you with an email if I get stuck but promise not to be a pest
.... and I could return the favor some day too.

No problem. ;-)

Quote:
PS .. Email me a Del (dot) Murrray @ CreditHawk (dot) Net and let me know
where you are working these days.

I'll do that.

Rich Bakos
Back to top
Del Murray
Guest





PostPosted: Thu Apr 05, 2007 7:30 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Rich,

Just curious ... are you sticking to Webbroker or have you ventured into
..Net and Intraweb etc ??
I cant find any reason to justify the learning required to move to .Net ...

Del
Back to top
Richard Bakos
Guest





PostPosted: Thu Apr 05, 2007 8:23 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Del Murray wrote:

Quote:
Just curious ... are you sticking to Webbroker or have you ventured into
..Net and Intraweb etc ??
I cant find any reason to justify the learning required to move to .Net ...

We have prototyped several things in .Net, Java and Ruby on Rails. I
don't do too much development anymore and the people that work in my
group are much smarter than me. Wink At this point our internal web
development is being maintained in Delphi until a decision is made
regarding technology/framework. We have done 2 small public facing
sites in Rails and are impressed by the speed of the dev cycle but are
concerned that it won't meet our requirements internally.

Rich Bakos
Back to top
Del Murray
Guest





PostPosted: Fri Apr 06, 2007 5:29 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Thanks,

I'm sort of thinking the same ... Webbroker has proven too durable and too
fast to give it up yet.
Back to top
Mark Horrocks
Guest





PostPosted: Sat Apr 07, 2007 8:11 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Quote:
I'm sort of thinking the same ... Webbroker has proven too durable and too
fast to give it up yet.

Me too, it may take a little longer but I my income comes from user
subscriptions so I have never had to worry about a development time /
charging cycle.

With Web broker you need to get down and dirty with the html and javascript
but you get exactly what you want in the end. I believe that much of the
work is in the design of the user interface anyway and no framework can do
that for you.

My recent forays into Ajax have also reduced the development complexity and
time, no more tags and flags to return a short message like "item xxx has
been added to your cart!".

The big downside for web broker is ISAPI and my MIDAS/RDM exes. They have to
run under windows -Smile Resurrect Kylix!
Back to top
Del Murray
Guest





PostPosted: Mon Apr 09, 2007 6:55 pm    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Amen brother .. Amen
Back to top
Nils Boedeker
Guest





PostPosted: Sun Apr 22, 2007 8:11 am    Post subject: Re: D7 or D8 and Webbroker convervsion Reply with quote

Hi,

Quote:
Can anybody share a good process for moving webbroker ISAPI modules from D5
to D7 or D2006 ? I'm not sure how much longer my NT4 workstation is going
to last.. its great for debugging under D5 but is getting pretty old by now.

I want to be able to debug and compile for production without having to swap
module names around.

Would be willing to pay for some consulting time to get on my system with me
using with GoToMyPC or NetMeeting and help set it up.

If there is another group that this belongs in , pleas advise as I havent
posted here in a long time.

I debug ISAPIs with D7, 2006, 2007 without any problems...

Nils
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.