Re: [Cppcms-users] URL dispatching help
Brought to you by:
artyom-beilis
|
From: Shiv S. D. <shi...@gm...> - 2013-04-30 14:59:58
|
It is simple actually. You click a link some function on server is invoked and output is displayed on another link. One is mapping another is dispatching. Best regards, Shiv On Tue, Apr 30, 2013 at 2:16 PM, Troy Watson <dr...@gm...> wrote: > I've read that page several times, messed about with the url_mapping > example, and it still makes no sense to me what you mean by "the opposite > of dispatching". I appreciate the help, but please explain it like I've > never written a webapp before... because I haven't! > > > On Mon, Apr 29, 2013 at 4:28 PM, Artyom Beilis <art...@ya...>wrote: > >> > What is mapper().assign( "...", "..." ) used for? All my URL >> dispatching seems to work by only calling >> > dispatcher().assign(...) to set up the URLs with a callback function. >> > What concept am I not understanding that would require the mapper()? >> >> The opposite of dispatching :-) >> >> >> See: http://cppcms.com/wikipp/en/page/cppcms_1x_tut_url_mapping >> >> >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> >> ------------------------------------------------------------------------------ >> Try New Relic Now & We'll Send You this Cool Shirt >> New Relic is the only SaaS-based application performance monitoring >> service >> that delivers powerful full stack analytics. Optimize and monitor your >> browser, app, & servers with just a few lines of code. Try New Relic >> and get this awesome Nerd Life shirt! >> http://p.sf.net/sfu/newrelic_d2d_apr >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |