-
1. Re: re-deploying core modules without changing original sour
julien1 Mar 5, 2004 11:48 AM (in response to aristoi)could you describe what you need first ?
-
2. Re: re-deploying core modules without changing original sour
mcscottmc Mar 5, 2004 6:37 PM (in response to aristoi)Julien,
This question is a good example of one of the problems with the user module overall. It allows little to no room for customizing what user information is captured and stored. This is something I have been thinking about off and on for a while now, and unfortunately I have not really come up with an elegant solution.
It seems like one direction to look would be to have the core user module manage things like logins, whosonline, etc. and then have a seperate registration module that actually captures and stores the user information (you would probably need two EntityBeans, a slimmed down one for login info and a bigger one for custom information like AIM, ICQ, etc). This way, someone could always write their own registration module to replace the default one. Just an idea.
To answer your question aristoi, what I did was write my own UserModule (basically stealing the code from the core UserModule), removed the core UserModule from the deployment list, and deployed mine in its place. I set up my own db table to hold the custom info that I need. I still use the core backend (UserBean, GroupBean, etc), but then I do custom logic to store my extra info.
-Scott
PS: I have not looked at the changes you guys have made recently. I am pretty much running off of the source as of about a month ago. Things are working well as-is so I don't have a compelling reason to upgrade until I get some free time. -
3. Re: re-deploying core modules without changing original sour
julien1 Mar 5, 2004 8:07 PM (in response to aristoi)we have started the development of a Profile stuff which allows to capture a user profile, unfortunately it is not finished yet.
-
4. Re: re-deploying core modules without changing original sour
mcscottmc Mar 8, 2004 11:38 AM (in response to aristoi)Cool - that sounds like it will go a long way to making Nukes more customizable.
-Scott -
5. Re: re-deploying core modules without changing original sour
julien1 Mar 8, 2004 11:54 AM (in response to aristoi)yes, it need to be finished though, you can have a look on it it is in the codebase.