Re: Re: help-cgicc Digest, Vol 45, Issue 1
"Alexander J. Oss" <[email protected]> Sun, 24 Aug 2008 10:00:31 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <004f01c905f1$c5cdb5e0$0201a8c0@BigPuter> |
This is a multi-part message in MIME format. --===============0535485955== Content-type: multipart/alternative; boundary="----=_NextPart_000_004C_01C905D0.3E558BE0" This is a multi-part message in MIME format. ------=_NextPart_000_004C_01C905D0.3E558BE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable That's funny because it's true. I used cgicc several years ago to = create a web app, and "rolled my own" template parsing functions, = starting with the detection of HTML comments like = "<!--FN=3DtheFunctionToCall-->". Of course, then you need to map that = function name to the actual C++ function. But dang it was speedy. Thanks for the note on VBMcgi. Bookmarked. ----- Original Message -----=20 From: Jeff Dunlap=20 To: [email protected]=20 Sent: Friday, August 22, 2008 6:42 PM Subject: [help-cgicc] Re: help-cgicc Digest, Vol 45, Issue 1 Hi Jay, I had played around with cgicc last year but did not like it = because personally, I don't like to mix my C++ code with html. I ended = up creating one application in VBMcgi (vbmcgi.org) which is better in my = opinion for creating web applications. VBMcgi uses a template type of = system which is much better since all your html is contained in a = template. In the end, I ended up using Microsoft ATL Server although I like = the VBMcgi concept much more. If you have time, take a look at VBMcgi and let me know what you = think. Here is an application that I wrote in Microsoft ATL Server: http://app.directcorrespondentlender.com/ This application is a dll that loads once on IIS, then waits for = requests. It is extremely efficient since it does not fire up an exe = for each request (I know that with fastcgi you can achieve similar). Anyway, I wish more people did web development in C++. I do = maintenance on PHP and Perl applications and you can see the load on the = server that they cause. C++ causes hardly any noticable load at all = which in my opinion is awsome! =20 --- On Fri, 8/22/08, [email protected] = <[email protected]> wrote: From: [email protected] <[email protected]> Subject: help-cgicc Digest, Vol 45, Issue 1 To: [email protected] Date: Friday, August 22, 2008, 9:00 AM Send help-cgicc mailing list submissions to [email protected] = subscribe or unsubscribe via the World Wide Web, visit = http://lists.gnu.org/mailman/listinfo/help-cgiccor, via email, send a = message with subject or body 'help' to [email protected] can reach the person managing the list at = [email protected] replying, please edit your Subject line so = it is more specificthan "Re: Contents of help-cgicc digest..."Today's = Topics: 1. debugging suggestions (Jay = Sprenkle)----------------------------------------------------------------= ------Message: 1Date: Fri, 22 Aug 2008 08:09:30 -0500From: "Jay = Sprenkle" <[email protected]>Subject: [help-cgicc] debugging = suggestionsTo: [email protected]: = <[email protected]>Content-Type: = text/plain; charset=3DISO-8859-1Good morning all,I'm developing a cgicc = fastcgi application. I can serve regular htmlpages just fine but when I = try to do AJAX stuff it blows chunks(that's a technical term). I'm using = IIS with the fastcgi dll fortesting. My code is simple. I create a new httpresponse header andpopulate it with '204' = and 'No Content'. I send it and atext/plainheader. It looks like it = matches the http 1.0spec but I keep getting 500 errors from IIS. Any = suggestions?-- --The PixAddixImage Collector = suite:http://groups-beta.google.com/group/pixaddixSqliteImporter and = SqliteReplicator: Command line utilities for = Sqlitehttp://www.reddawn.net/~jsprenkl/SqliteCthulhu = Bucks!http://www.cthulhubucks.com------------------------------__________= _____________________________________help-cgicc mailing = [email protected]://lists.gnu.org/mailman/listinfo/help-cgiccEnd= of help-cgicc Digest, Vol 45, Issue = 1*****************************************=20 -------------------------------------------------------------------------= ------- _______________________________________________ help-cgicc mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cgicc ------=_NextPart_000_004C_01C905D0.3E558BE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16705" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>That's funny because it's true. I = used cgicc=20 several years ago to create a web app, and "rolled my own" template = parsing=20 functions, starting with the detection of HTML comments like=20 "<!--FN=3DtheFunctionToCall-->". Of course, then you need to = map that=20 function name to the actual C++ function. But dang it was=20 speedy.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks for the note on VBMcgi. =20 Bookmarked.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV style=3D"FONT: 10pt arial">----- Original Message -----=20 <DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20 [email protected] = href=3D"mailto:[email protected]">Jeff=20 Dunlap</A> </DIV> <DIV><B>To:</B> <A [email protected]=20 href=3D"mailto:[email protected]">[email protected]</A> </DIV> <DIV><B>Sent:</B> Friday, August 22, 2008 6:42 PM</DIV> <DIV><B>Subject:</B> [help-cgicc] Re: help-cgicc Digest, Vol 45, Issue=20 1</DIV></DIV> <DIV><BR></DIV> <TABLE cellSpacing=3D0 cellPadding=3D0 border=3D0> <TBODY> <TR> <TD vAlign=3Dtop>Hi Jay,<BR><BR>I had played around with cgicc last = year but=20 did not like it because personally, I don't like to mix my C++ = code with=20 html. I ended up creating one application in VBMcgi = (vbmcgi.org)=20 which is better in my opinion for creating web applications. = VBMcgi=20 uses a template type of system which is much better since all your = html is=20 contained in a template.<BR><BR>In the end, I ended up using = Microsoft ATL=20 Server although I like the VBMcgi concept much more.<BR><BR>If you = have=20 time, take a look at VBMcgi and let me know what you = think.<BR><BR>Here is=20 an application that I wrote in Microsoft ATL=20 Server:<BR>http://app.directcorrespondentlender.com/<BR><BR>This=20 application is a dll that loads once on IIS, then waits for=20 requests. It is extremely efficient since it does not fire = up an exe=20 for each request (I know that with fastcgi you can achieve=20 similar).<BR><BR>Anyway, I wish more people did web development in = C++. I do maintenance on PHP and Perl applications and you = can see=20 the load on the server that they cause. C++ causes hardly = any=20 noticable load at all which in my opinion is awsome! = <BR><BR>--- On=20 <B>Fri, 8/22/08, [email protected]=20 <I><[email protected]></I></B> wrote:<BR> <BLOCKQUOTE=20 style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: = rgb(16,16,255) 2px solid">From:=20 [email protected]=20 <[email protected]><BR>Subject: help-cgicc = Digest, Vol=20 45, Issue 1<BR>To: [email protected]<BR>Date: Friday, August = 22, 2008,=20 9:00 AM<BR><BR><PRE>Send help-cgicc mailing list submissions = to<BR> [email protected]<BR><BR>To subscribe or unsubscribe via the = World Wide Web, visit<BR> = http://lists.gnu.org/mailman/listinfo/help-cgicc<BR>or, via email, send = a message with subject or body 'help' to<BR> [email protected]<BR><BR>You can reach the person managing the = list at<BR> [email protected]<BR><BR>When replying, please edit = your Subject line so it is more specific<BR>than "Re: Contents of = help-cgicc digest..."<BR><BR><BR>Today's Topics:<BR><BR> 1. debugging = suggestions (Jay = Sprenkle)<BR><BR><BR>----------------------------------------------------= ------------------<BR><BR>Message: 1<BR>Date: Fri, 22 Aug 2008 08:09:30 = -0500<BR>From: "Jay Sprenkle" <[email protected]><BR>Subject: = [help-cgicc] debugging suggestions<BR>To: = [email protected]<BR>Message-ID:<BR> = <[email protected]><BR>Cont= ent-Type: text/plain; charset=3DISO-8859-1<BR><BR>Good morning = all,<BR>I'm developing a cgicc fastcgi application. I can serve regular = html<BR>pages just fine but when I try to do AJAX stuff it blows = chunks<BR>(that's a technical term). I'm using IIS with the fastcgi dll = for<BR>testing. My code is simple. I create a new httpresponse header and<BR>populate it with = '204' and 'No Content'. I send it and a<BR>text/plain<BR>header. It = looks like it matches the http 1.0<BR>spec but I keep getting 500 errors = from IIS. Any suggestions?<BR><BR>-- <BR>--<BR>The PixAddixImage = Collector = suite:<BR>http://groups-beta.google.com/group/pixaddix<BR><BR>SqliteImpor= ter and SqliteReplicator: Command line utilities for = Sqlite<BR>http://www.reddawn.net/~jsprenkl/Sqlite<BR><BR>Cthulhu = Bucks!<BR>http://www.cthulhubucks.com<BR><BR><BR><BR><BR>----------------= --------------<BR><BR>_______________________________________________<BR>= help-cgicc mailing = list<BR>[email protected]<BR>http://lists.gnu.org/mailman/listinfo/help-= cgicc<BR><BR><BR>End of help-cgicc Digest, Vol 45, Issue = 1<BR>*****************************************<BR></PRE></BLOCKQUOTE></TD= ></TR></TBODY></TABLE><BR> <P> <HR> <P></P>_______________________________________________<BR>help-cgicc = mailing=20 list<BR>[email protected]<BR>http://lists.gnu.org/mailman/listinfo/help-= cgicc<BR></BODY></HTML> ------=_NextPart_000_004C_01C905D0.3E558BE0-- --===============0535485955== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-cgicc mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cgicc --===============0535485955==--