You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brad Rhoads <br...@zethcon.com> on 2002/08/08 15:07:25 UTC

Looking for C++ MVC Implementation

Does anyone know of a C/C++ MVC designed for a web front end?

Anyone ever attempt a port of Struts? Am I out of my mind to even consider
this? - MVC++ :)

We're starting up a new project and it's been dictated that we go with C/C++
CGI. But I'm interested in still following the MVC design. I've never done
CGI before, so does this even make sense?

Any other C/C++ CGI frameworks to recommend?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: OT: Re: Looking for C++ MVC Implementation

Posted by Melissa L Kelley <st...@stuology.net>.
On Fri, 9 Aug 2002, Joel Rees wrote:

> > We're starting up a new project and it's been dictated that we go with C/C++
> > CGI.
>
> > But I'm interested in still following the MVC design.
>

Well, you could follow the MVC with C/C++ by convincing whoever did the
dictating to just have the component that swayed the decision to the
C/C++ side written in C/C++ and still use Java for the web end. Then you
can use Struts and stick with the MVC design. Although, I know, sometimes
decisions are based on one person's whimsy.





--> stu: www.stuology.net
It just no longer is plain simple safe fun
when it's the psycho chimp that has the ray gun
------------------------------------------------
Stuology -- A million monkeys can't be wrong



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


OT: Re: Looking for C++ MVC Implementation

Posted by Joel Rees <jo...@alpsgiken.gr.jp>.
> Does anyone know of a C/C++ MVC designed for a web front end?

Plugged "C++ cgi MVC" in at google.com and found (through a smalltalk
index page!) this site:

    http://www.webwareindex.com/tutorials/

It's got a an index on CGI, but mostly Perl CGI. It's got a huge load of
stuff on Java, but no Java/MVC stuff. Apparently, the MVC stuff it has
is all in their Smalltalk index. 

Of course, that's not the only site google turned up.

My introduction to CGI was through Perl. Don't know yet whether that was
good or bad. I've read a book, Perl for the Web (Chris Radcliffe -- New
Riders) which spends quite a bit of page real estate arguing that the
speed of the language is far less of a determinant of overall response
than the the use of the CGI interface itself.

> Anyone ever attempt a port of Struts? Am I out of my mind to even consider
> this? - MVC++ :)

I would not advise it, at least, not unless you know Java, C++, _and_
networking really well. The port should be budgeted as a separate
project, I'd imagine.

> We're starting up a new project and it's been dictated that we go with C/C++
> CGI.

Care to share the reasoning behind this insanity? 

(There might be some valid reasons, but the context itself would about
have to be insane to make it reasonable to mix C/C++ and CGI, expecially
if the target is going to be complex enough to gain anything from MVC.
If building a technological base of expertise is more important that
completing the project on budget and on time, that might be one valid
reason. Maybe.)

> But I'm interested in still following the MVC design.

Is this an idealogical whimsy, or do you have a lot of experience with
MVC in C++?

> I've never done
> CGI before, so does this even make sense?

It depends on how much of the rest you have, I'd say. Stateless CGI is
not that hard, but it's never going to be fast, either.

> Any other C/C++ CGI frameworks to recommend?

More searching on google? Something like "C++ cgi framework"? Hmm. Yeah,
that turns up some potentially interesting pages, too.

-- 
Joel Rees <jo...@alpsgiken.gr.jp>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>