Board index » delphi » Re: Will ISAPI continue?
Jimmy [Used-Disks]
![]() Delphi Developer |
Jimmy [Used-Disks]
![]() Delphi Developer |
Re: Will ISAPI continue?2003-10-22 03:43:58 AM delphi25 "Shawn Pfaff" <XXXX@XXXXX.COM>writes Quote<to the ASP.NET folks> QuoteI have grown acustomed to |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 03:48:16 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 15:41:57 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteYes... but in addition to that, it shows documentation for the current Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 03:48:41 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 15:43:58 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: Quoteyou have complete control over the output Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 03:49:52 AM
Re: Will ISAPI continue?Quote>Does .NET provide this granular access as well? At least in ASP.NET you can assign properties, for example: <aspx:button text="Click Me" onclick="ClickTheButton"/> WebBroker has the <#...>tags which are more flexible than WebSnap in terms of generated HTML because they can take parameters. However, the HTML generated is generated from compiled code - just as in ASP.NET. However, ASP.NET allows you to nest tags and easily create much more complex controls than in WebBroker. Also, since both technologies require compiled code to process the special tags, there's no added flexability in one or the other. In ASP.NET you may use a nice self-contained component - no such concept exists in WebBroker. Of course, you could write webbroker components/page-producers to handle tags, but then you'd only be to where ASP.NET is out of the box. QuoteTags, and you don't really have a lot of control over the HTML that -Jimmy |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 04:02:18 AM
Re: Will ISAPI continue?Quote>Yes... but in addition to that, it shows documentation for the current /// <summary> /// This method does nothing useful. /// </summary> /// <param name="Arg1">This is the first argument</param> /// <param name="Arg2">This is the second argument</param> public void IPityDaFoo(string Arg1, string Arg2){ // Do nothing.... } } Now when you go to use it in the IDE: { Foo MyFoo = new Foo(); MyFoo.| } After the | you will see code insight pop-up, select the IPityDaFoo method and a description will pop up. It will look something like this: ------------ | void IPityDaFoo(string Arg1, string Arg2) | This method does nothing useful. ------------ Hit the l-paren key and you will get a hint for Arg1, which will look something like this (bold tags substituted for actual bold text): ------------ | void IPityDaFoo(<b>string Arg1</b>, string Arg2) | Arg1: | This is the first argument ------------ It comes in handy quite often, to have documentation immediatly at your finger tips. I hit the F1 key a lot less than I used to :-). -- -Jimmy |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 04:03:21 AM
Re: Will ISAPI continue?Quote>you have complete control over the output So, how's WebBroker give you more control? -- -Jimmy |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 04:15:05 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 16:02:18 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteIt comes in handy quite often, to have documentation immediatly at your Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 04:16:27 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 16:03:21 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteSo, how's WebBroker give you more control? Nick Hodges - TeamB Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 04:34:53 AM
Re: Will ISAPI continue?Quote>So, how's WebBroker give you more control? -- -Jimmy |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 05:28:50 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 16:34:53 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteYou've lost me... how can you do "whatever you want" in a <#xx>tag but not Nick Hodges - TeamB Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 05:36:35 AM
Re: Will ISAPI continue?Quote>You've lost me... how can you do "whatever you want" in a <#xx>tag but this: <%#GenerateCalendarHTML()%> Or this: <%=GenerateCalendarHTML()%> (There's an important difference in these lines of code, but both'll do what you want) Then in the GenerateCalendarHTML method of your page, spit out any HTML you want, character by character. You can even add arguments. I'm still failing to see where WebBroker gives you control and ASP.NET doesn't... -- -Jimmy |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-22 06:00:43 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 17:36:35 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteUh... drop a calendar on a WebBroker HTML page... oh wait, you can't. this control renders. QuoteI'm still failing to see where WebBroker gives you control and ASP.NET argued, because it is a fact. ;-) You are shifting the argument each time to the advantage of ASP.NET. Are we discussing ASP.NET vs. WebBroker? Or ASP.NET vs WebSnap? You can use ASP.NET just like web broker, and then then they both do pretty much the same thing -- if you don't use WebControls/ServerControls, then there is nothing that ASP.NET can't do that WebBroker/WebSnap can not do equally well. If you do use Server/WebControls, then you can not provide total control over the HTML that gets generated. QuoteI'm still failing to see where WebBroker gives you control and ASP.NET Nick Hodges - TeamB Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-22 08:55:15 AM
Re: Will ISAPI continue?
"Nick Hodges (TeamB)" <XXXX@XXXXX.COM>writes
QuoteOn Tue, 21 Oct 2003 17:36:35 -0400, "Jimmy [Used-Disks]" Quote>I'm still failing to see where WebBroker gives you control and ASP.NET only thing you can not control is that it is rendered as a <table>but it wouldn't be very difficult to expose that as well. QuoteYou are shifting the argument each time to the advantage of ASP.NET. QuoteYou can use ASP.NET just like web broker, and then then they both do global Application object? Session management in server farms? Web User Controls? DataBinding? 100% Compiled code (even the ASPX Pages are compiled in ASP.NET). QuoteIf you do use Server/WebControls, then you can not provide total control equivalent code would have in WebBroker/WebSnap, plus I was able to expose all the properties I needed (even on a character-by-character level, when necessary) for complete control. Quote>I'm still failing to see where WebBroker gives you control and ASP.NET your own. -- -Jimmy |
Nick Hodges (TeamB)
![]() Delphi Developer |
2003-10-23 12:24:20 AM
Re: Will ISAPI continue?
On Tue, 21 Oct 2003 20:55:15 -0400, "Jimmy [Used-Disks]"
<XXXX@XXXXX.COM>writes: QuoteThat's nice... but you can not do it in WebBroker either. QuoteIt's funny you should mention a calendar control... I happen to have written QuoteOk... let's tie the proverbial arm behind ASP.NET's back and ignore server all I am saying is that there are reasons -- valid reasons -- why you might not want to use it. QuoteUnless you write your own. I have been very frustrated with some ASP.NET QuoteI don't see that, but I could be missing a post. Aside from that - server Nick Hodges - TeamB Lemanix Corporation Please always follow the newsgroup guidelines -- www.borland.com/newsgroups |
Jimmy [Used-Disks]
![]() Delphi Developer |
2003-10-23 01:13:45 AM
Re: Will ISAPI continue?Quote>Ok... let's tie the proverbial arm behind ASP.NET's back and ignore I'll give WebSnap that. Also, I don't think WebSnap has Web User Controls... it has SSI, but that is no where near what a Web User Control does. WebSnap doesn't have anything like databinding, and the pages in WebSnap are *not* compiled - they are interpreted. I also forgot content caching. ASP.NET has that too, WebSnap doesn't. QuoteBut you are missing my point -- ASP.NET has advantages, I agree. But ASP.NET (oh wait - legacy code would be good. Any others?). We had a discussion a while back about WebSnap actions vs. classic events (like OnClick). I do see benefits there, but have yet come across a practical real-world example of how this single benefit outweighs all the benefits of ASP.NET. Quote>Unless you write your own. I have been very frustrated with some ASP.NET Quote>I don't see that, but I could be missing a post. Aside from that - server My left foot has advantages and disadvantages over my right foot. :-p -- -Jimmy |