I'm new to cake, but not MVC so had a few questions on where the best
place is to put some functionality as it pertains to CakePHP.

1) I parse an XML file from a dv camera and need to insert what I get
into my database, I will have models for the data, but do I create my
xml parse class in my own "package" and have my controller call it  and
map it to my model somehow before inserting it into my database?  Not
quite sure where it should fit.

2) I authenticate a user to my database and once authenticated we
authorize the user and store their "role" in memory.  Do we put that in
the session and just use it where necessary or is there a more formal
approach for authorization ?

Thanks
Grant


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to