Wt doesn't support MVC out of the box at the current moment.
It has a RPC, Widget-Centric architecture.
An MVC architecture can be arranged easily.

2010/9/9 Christophe Meessen <[email protected]>

> I have the impression there is a misunderstanding here. MVC stands for
> model view controler design pattern. This is not a microsoft set of classes.
> This means that the app is designed with a well split organization. V stands
> for all the classes in charge of the user interface (GUI). M for all the
> classes in charge of the "business logic", the database or the internal data
> structure. The controler classases are in charge of the binding.
>
> I'm not experienced enough in WT to answer the question. But from what I
> saw it would be no problem to reuse your model as is with witty. It is C++
> and can thus be easily with any other C++ code.
>
> Regarding the stability, most common functionality are very stable and work
> well across many different browser. The community is very active and
> responsive. Bugs are ironed out, it is just a matter time.
>
> You might face problems if your app is using fancy GUI tricks or rarely
> used functionalities in web applications. Beware also that touch pad devices
> like iPhone, iPad or Android that are more and more used for web browsing
> and could be used with your web app, have some constrains like no mouse over
> action effects or tool tip text. Selection is also not as simple as with a
> mouse.
>
> So the answer depends mostly on the GUI functionalities of your app. If the
> widgets in the demo match all your needs, then things are looking oretty
> good for you.
>
> I hope this helps.
>
> Le 8 sept. 2010 à 17:01, Joe Croft <[email protected]> a écrit :
>
> > What you want would be great. In reality, I have yet to see it. The
> problem
> > with it is that the M, V and C are still tied at the hip in many ways.
> Mostly
> > in the ways the three pieces need to communicate between themselves.
> >
> > It's relatively easy to make an App to use MVC with any given toolkit
> which
> > was designed for it. The problem comes in when you want to merge
> toolkits. I
> > cannot think of one which will give clean interfaces to other toolkits so
> that
> > you can mix and match code between them.
> >
> > I'm open to anyone who can correct me on this. If there are such
> toolkits, I
> > would love to hear about them.
> >
> > -joe
> >
> > On Wednesday 08 September 2010 10:43:28 Mohammed Rashad wrote:
> >> will you please comment on the usage of MVC to make reusable code for
> both
> >> desktop and web. keeping M and C constant and changing only the view
> code
> >> needed for web and desktop
> >>
> >> On Wed, Sep 8, 2010 at 8:07 PM, Dushan Savich <[email protected]
> >wrote:
> >>> Hey Mohammed,
> >>>
> >>> Wt is  a  WEB   application framework/library ,  hence ,  you can't use
> >>> it for   Desktop applications.
> >>> There are some Wt  bindings for integration with Qt,  but  they're not
> >>> usable.
> >>>
> >>> Cheers!
> >>> Dushan
> >>>
> >>> 2010/9/8 Mohammed Rashad <[email protected]>
> >>>
> >>>> Can I use witty for web applications?
> >>>>
> >>>> I am developing a desktop application using C++. I am planning to use
> >>>> FOX GUI Toolkit for desktop gui.
> >>>> Today I found witty. Is witty stable? Does it have a large collection
> of
> >>>> widgets?
> >>>> I am uisng MVC Architecture. So I can keep the M and C constant for by
> >>>> web and desktop application and change the view code
> >>>> So that I can REUSE the source code and easy to extend the web part.
> >>>>
> >>>> View for web - using witty
> >>>> View for desktop - using FOX C++ GUI Toolkit
> >>>>
> >>>> Is the project possible using witty for web and FOX for desktop?
> >>>>
> >>>> Are there any problems like crash or something?
> >>>>
> >>>> Can I actually REUSE the code if I follow MVC architecture
> >>>>
> >>>> --
> >>>> Rashad
> >>>>
> >>>>
> >>>>
> ------------------------------------------------------------------------
> >>>> ------ This SF.net Dev2Dev email is sponsored by:
> >>>>
> >>>> Show off your parallel programming skills.
> >>>> Enter the Intel(R) Threading Challenge 2010.
> >>>> http://p.sf.net/sfu/intel-thread-sfd
> >>>> _______________________________________________
> >>>> witty-interest mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >>>
> >>> --
> >>> Kind Regards,
> >>> Dushan Savich
> >>> [email protected]
> >>> http://stosha.com/
> >>> +381 64 329 33 55
> >>> Nehruova 95/51
> >>> 11070 New Belgrade
> >>> Belgrade
> >>> Serbia
> >>>
> >>>
> >>>
> -------------------------------------------------------------------------
> >>> ----- This SF.net Dev2Dev email is sponsored by:
> >>>
> >>> Show off your parallel programming skills.
> >>> Enter the Intel(R) Threading Challenge 2010.
> >>> http://p.sf.net/sfu/intel-thread-sfd
> >>> _______________________________________________
> >>> witty-interest mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net Dev2Dev email is sponsored by:
> >
> > Show off your parallel programming skills.
> > Enter the Intel(R) Threading Challenge 2010.
> > http://p.sf.net/sfu/intel-thread-sfd
> > _______________________________________________
> > witty-interest mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to