Hey,

With what I understand from AngularJS, it might interfere with Wt, since
some of the things both AngularJS and Wt are doing overlap: single page
navigation model, 'components' (aka widgets), event handling.

The main difference is that with AngularJS you are going to be implementing
a client-server application, while with Wt the programming model is that of
a desktop application (i.e. Wt makes abstraction of the browser as an
interactive canvas). Because of this, Wt also will in general yield a more
responsive web application since each user action only involves (at most)
one server round-trip, while for a client-server application (with REST
resources) you may want to pull data from the server in multiple round
trips, ever increasing so as the application becomes more complex.

If you follow the AngularJS philosphy, and treat the server as a collection
of web services with which you will interact, then you could still use Wt
and wthttp to serve those resources, using static resources, but then you
are literally ignoring 99.9% of the Wt library. Nevertheless, wthttpd is a
good choice for web services. Especially in combination with Wt::Dbo you
can implement efficient database-driven webservices. And wthttpd is indeed
very capable because of it's asio-based architecture which means it scales
to any number of connections.

Regards,
Koen


2015-07-07 5:39 GMT+02:00 Freddy Martinez Garcia <freddy311...@gmail.com>:

> hi guys...
>
> I'm not a web developer, so, I wanna make a few question from my web's
> knowledge ignorance:
>
> 1.- can I use AngularJS with Wt ?
> 2.- in that case, Is that a good practice ?
> 3.- can you give me a piece of code as example ?
> 4.- can I use wthttp with web service ?? Is it a good idea ??
> 5.- Is wthttp great to use in the production environment with a lot of
> connections ??
>
> I'll like to use Wt in my job, but my boss is the best fan of AngularJS in
> the world, and that was the first question... in other hands, our system
> have a lot of connections and traffics, so I'll like to use c++ and not
> python to do that..
>
> Am I correct with my decision ?
>
> best regards
>
>
>
> *============================================="El tamaño de tus logros
> depende del tamaño de tus metas." *
>
> *C++ and Qt Senior Developer*
>
> *Lic. Computer Science*
>
> *Buenos Aires, Argentina*
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to