Re: help-cgicc Digest, Vol 45, Issue 1

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

Re: help-cgicc Digest, Vol 45, Issue 1

by Jeff Dunlap :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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! 

--- On Fri, 8/22/08, help-cgicc-request@... <help-cgicc-request@...> wrote:
From: help-cgicc-request@... <help-cgicc-request@...>
Subject: help-cgicc Digest, Vol 45, Issue 1
To: help-cgicc@...
Date: Friday, August 22, 2008, 9:00 AM

Send help-cgicc mailing list submissions to
help-cgicc@...

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnu.org/mailman/listinfo/help-cgicc
or, via email, send a message with subject or body 'help' to
help-cgicc-request@...

You can reach the person managing the list at
help-cgicc-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of help-cgicc digest..."


Today's Topics:

1. debugging suggestions (Jay Sprenkle)


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

Message: 1
Date: Fri, 22 Aug 2008 08:09:30 -0500
From: "Jay Sprenkle" <jsprenkle@...>
Subject: [help-cgicc] debugging suggestions
To: help-cgicc@...
Message-ID:
<1b5f39a10808220609ga37af1t40284dfac2650bc3@...>
Content-Type: text/plain; charset=ISO-8859-1

Good morning all,
I'm developing a cgicc fastcgi application. I can serve regular html
pages 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 for
testing. My code is simple. I create a new httpresponse header and
populate it with '204' and 'No Content'. I send it and a
text/plain
header. It looks like it matches the http 1.0
spec but I keep getting 500 errors from IIS. Any suggestions?

--
--
The PixAddixImage Collector suite:
http://groups-beta.google.com/group/pixaddix

SqliteImporter and SqliteReplicator: Command line utilities for Sqlite
http://www.reddawn.net/~jsprenkl/Sqlite

Cthulhu Bucks!
http://www.cthulhubucks.com




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

_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc


End of help-cgicc Digest, Vol 45, Issue 1
*****************************************


_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc

Re: Re: help-cgicc Digest, Vol 45, Issue 1

by Alexander J. Oss :: 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.
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=theFunctionToCall-->".  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 -----
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! 

--- On Fri, 8/22/08, help-cgicc-request@... <help-cgicc-request@...> wrote:
From: help-cgicc-request@... <help-cgicc-request@...>
Subject: help-cgicc Digest, Vol 45, Issue 1
To: help-cgicc@...
Date: Friday, August 22, 2008, 9:00 AM

Send help-cgicc mailing list submissions to
help-cgicc@...

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnu.org/mailman/listinfo/help-cgicc
or, via email, send a message with subject or body 'help' to
help-cgicc-request@...

You can reach the person managing the list at
help-cgicc-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of help-cgicc digest..."


Today's Topics:

1. debugging suggestions (Jay Sprenkle)


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

Message: 1
Date: Fri, 22 Aug 2008 08:09:30 -0500
From: "Jay Sprenkle" <jsprenkle@...>
Subject: [help-cgicc] debugging suggestions
To: help-cgicc@...
Message-ID:
<1b5f39a10808220609ga37af1t40284dfac2650bc3@...>
Content-Type: text/plain; charset=ISO-8859-1

Good morning all,
I'm developing a cgicc fastcgi application. I can serve regular html
pages 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 for
testing. My code is simple. I create a new httpresponse header and
populate it with '204' and 'No Content'. I send it and a
text/plain
header. It looks like it matches the http 1.0
spec but I keep getting 500 errors from IIS. Any suggestions?

--
--
The PixAddixImage Collector suite:
http://groups-beta.google.com/group/pixaddix

SqliteImporter and SqliteReplicator: Command line utilities for Sqlite
http://www.reddawn.net/~jsprenkl/Sqlite

Cthulhu Bucks!
http://www.cthulhubucks.com




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

_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc


End of help-cgicc Digest, Vol 45, Issue 1
*****************************************


_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc

_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc

cgicc extension - webstd

by Igor-7 :: 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 All,



  Many years ago I wrote a C++ library called "web standard library" or webstd it is portable and works for UX & win32 platforms. A year ago I decided

  to make it an open source and made it available to the public at:


  http://sourceforge.net/projects/webstd/



Webstd Features:


* CGI support (through cgicc)

* template engine, with built-in "c-script language translator"

* every web_std function is available through c-script

* support for custom c-script UDFs (user defined functions)

* mail class with CID support (through template engine)

* HTTP class, handling POST & GET requests, cookie, c-script's virtual includes, etc

* URL handling helpers

* MD5 support

* numerous helpful functions

* file handling support

* built-in benchmark class

* base64 support

* fully documented (docs are currently in Russian, the appearance of English docs depends on your requests)

* samples are included

* stable

* portable

* fast

* c-scrip is especially designed to support programming architecture you'll find in examples

* FastCGI support, webstd is fully compatible with FastCGI



webstd implements a simple cscript language in <!--c print("this is c-script"); c--> tag, and you can extend already defined built-in functions from your own 

program via UDF class. The library is not entirely autonomous it is designed to work with cgicc and curl this library saved me a lot of time, once you got used

to it - you will build structured C++ apps almost as fast as PHP|perl.


webstd integrates web developers's needs on a smaller scale just like PHP does on a greater scale but webstd design enforces that a 

developers would not forget about C++ and wouldn't just use c-script instead.


I invite all to take a look at it, it might save you some time.


-- 

Best regards,

 Igor                            sprog@...


_______________________________________________
help-cgicc mailing list
help-cgicc@...
http://lists.gnu.org/mailman/listinfo/help-cgicc