Hey Guys,

I decided that it was time that I start trying to contribute to the OS
community. I have a very important project to me coming up and I am
going to be using subdomaing (company1.myapp.com, company2.myapp.com)
etc.

I wanted to write a component that could handle this instead of
copying and pasting a bunch of random broken code that I have found
all over the place into my bootstrap.php file

It is my first time trying to write something public and would really
like anyone's input on what I have done so far. I have written a lot
of notes and questions write in the code

Which can be found here: 
http://cakeforge.org/snippet/detail.php?type=snippet&id=225

The main goals are:

A) To include a component, like Auth, that automatically performs
functions without having to explicitly be called. Like finding if the
user is currently accessing the site via subdomain, if the subdomain
exists in the database, if they go to myapp.com where to send them,
allowing certain actions in the controller to not need Subdomain
validation, adding the subdomain company's id to the userScope array
in Auth (if the user is using Auth) to add additional login security..
The list goes on. What I have right now is working.

Anyone feedback would be greatly appreciated!!!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to