Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Isolation doubt
luiz@wise.com.br
#1 Posted : Friday, April 23, 2010 4:16:32 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
I'm developing some modules and now the modules will use the information about the current user, but I 'll need to add some more informations like birthday, Timezone, dateformat, timeformat, favorite soccer team, hobbies, smoke or not and so on.


So my plan is, I'll develop an user Extension module, and create a VO to add extra information to the membership user

my doubts are:

1) If I use this same dll in many other modules, how does the isolation work, if the modules have different versions can i have any conflicts?

2) AS the different modules will add different properties to the vo I can't create an static schema, do you have an better idea to implement this?
jifeng
#2 Posted : Friday, April 23, 2010 9:51:30 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI luiz:

Thanks for digging deeper into the module development.

1)Yes, you can use the same dll in many other modules, after deploying, they are all in the bin folder. So you need to pay attention to the version of third party assembly to prevent conflicts. You had better to use the same version assembly, if they has any conflicts resolve them manually.

2) I guess you talk about the dynamic properties on vo, does't it? There are may discussion on it, you can use dynamic table, serialize it as xml or json. Or you can reference how the asp.net profile was implemented.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
luiz@wise.com.br
#3 Posted : Friday, April 23, 2010 9:04:45 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
How does this dynamic table works?
jifeng
#4 Posted : Monday, April 26, 2010 10:30:44 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
luiz@wise.com.br

In kooboo cms, the Text schema is a dynamic table implementiion. We create a dynamic table with DDL, and store the dynamic properties to the columns. This is just an example of dynamic table.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.248 seconds.