Home Projects Jobs Clientele Contact


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UU code

sergey@total-knowledge.com wrote:
>> That's because you need to write correct engine.xml
> I tried changing servlet names in engine.xml, but it doesn't seem to help.
> In my understanding <servlet name="ServletName"> in engine.xml must match
> EXPORT_SERVLET(ServletName) in generated *.cpp file.
Use <csp> tag instead of <servlet>
Another thing: all CSPs will not function by themselves, but rather require
some data from controller class, thus they should all be marked hidden,
to make them inaccessible directly.

Now, to comments on the code.
1. Why do you need separate process method?
2. Why do you need typedef for User?
3. Typedefing attr_t, while sort of makes sense, might be confusing
overall, since this type is defined already in Session and Request, but
defined differently.

Ilya A. Volynets-Evenbakh
Total Knowledge. CTO

Authoright © Total Knowledge: 2001-2008