--- Begin Message ---
On 10/13/2009 06:59:58 AM, David Silva wrote:

> I'm doing a simple example with mason, where i have a form to login, 
> i
> though i could use dhandler to create(or emulate) a directory with 
> the
> name
> of the user that will login

Not sure what you have in mind with "emulate".

To create, you will have to make sure there is a directory to put the 
directory in which is chown'd apache.apache.

You could use the dhandler, but you might as well just use a normal 
component.  The components do not actually have to output anything at 
all, you can use them to perform whatever operations and then redirect:

$mro->redirect("$ARGS{wherever}");

So for example that could be a component that validates a login, sets 
stuff up (such as creating files) then redirects to another component 
that will present content *presuming* everything is set up.

I do a lot of AJAX-y stuff, so I actually do not use the auto or 
dhandler at all (since much of the data should not have any kind of 
header or wrapping, a la XML).  I'm sure some people will disagree, but 
I think when you are starting out you can kind of "ignore" those 
features for a while til you get the swing of things.

--- End Message ---
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to