CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.portal_starter_kit Tags:
Item Type: NewsGroup Date Entered: 6/27/2003 8:58:13 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 6 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
glosh
Asp.Net User
Multiple portals - code reuse6/27/2003 8:58:13 AM

0/0

HI,

I've just started looking at the Portal kit, and so far, it's looking very good.
I'm using it to develop a company intranet and there is a reasonable chance that each department is going to want their own portal, rather than a single tab.
Is it possible to run multiple portals from the same code, perhaps having those portals accessable from links on a parent portal?
I'm guessing so, as there is a portal ID field in the associated database but I havn't found any immediately obvious ways of distinguishing between different portals in the webcode.

Is anyone doing this, or have ideas of how it can be done?

Cheers,
Mark
tcynor
Asp.Net User
Re: Multiple portals - code reuse9/12/2003 8:19:35 PM

0/0

I would like to be able to do this too. We have multiple users and in order for us to all customize the portal we need to have several copies of portal on the same server and we need to change the portal configuration to access different databases on a SQL server. I tried copying the pages and it worked but it accesses the same Database. I then copied the database and changed the name. Once I redirected the web.config to look at the new DB I then started to get errors. Any help with this would greatly be appreciated.
thetazzbot
Asp.Net User
Re: Multiple portals - code reuse9/17/2003 1:48:47 PM

0/0

The portal code started out with the idea of multiple portals, but they [the developers] fell short of the mark.. This is evidenced by the PortalSettings constructor inside Configuration.cs

If you look, it only allows you to have one "GlobalRow" in your xml [if you're using that version]. I have since modified my version to support multiple portals, put everything back in the db where it belogs so i can use cascaded deletes on my modules etc.

Search the code for PortalSettings( [yes, just one (, so you can find where the code calls the constructor] and you'll see inconsistancies.

Even though the PortalSettings has two parameters, tabindex, and tabid, in several places, they are calling it like so:

new PortalSettings(portalId, tabId)

which would make more sense, however, they dont use the portalid parameter as that, heck, they dont use that parameter at all.

The PortalID needs to have something to be matched up with in the environment, like how dotnetnuke does it by using the hostname.

So my new code allows multiple portals and dynamically loadable "modules" i.e. you dont HAVE to have a module on a tab in the configuration, you can programmatically insert it [PortalModuleControl CreateModuleInstance(int moduleId) ] and all the settings are promulgated correctly.
OzPlato
Asp.Net User
Re: Multiple portals - code reuse9/25/2003 1:51:22 PM

0/0

Hi,

I am extremely interested in precicely how you achieved this. I have used the Portal as a base for our Intranet and would like to develop several departmental portals linked to the one base portal. I also need to develop a number of web aplications for which I was intending to use a "portal" for each of them. They are extensive applications and need their own portal, but I really don't want to have to create and install a portal for each of these tasks, one portal would be great...

It would be great if you could let me know exactly how you achieved the multiple portals and dynamic loadable modules.

Safe Sailing
ejstembler
Asp.Net User
Re: Multiple portals - code reuse10/3/2003 6:46:35 PM

0/0

I was going to post the exact same question ... I noticed that the Portal_Roles table has an orphan (unused) PortalID column. So it looks like they intended it to be multi-portal at one point, but never implemented it for whatever reasons (probably time constraints).

In any event, it won't be difficult modifying the database to finish multi-portal support ... just tedious. :\
c#magician
Asp.Net User
Re: Multiple portals - code reuse10/25/2003 6:09:06 AM

0/0

[this is my new nickname, formerly known as thetazzbot]

Anyways, the portal code I've modified still doesnt fully support multiple portals, mostly because i havent finished putting the code in there.

But i'd like to point out that I have come to the conclusion that the portal starter kit is a really bad starting point. It requires too much fixing and leaves a lot to be desired. Although, I did learn quite a bit from it, I will apply what I've learned to a better framework of my own. I've used PHP, DotNetNuke, Rainbow, Java (Turbine/Torque/Jetspeed), and none really do it for me. The problem with Java was the complicated build/upload/test process. Rainbow seems like a hodge podge of modules thrown together by different developers with different ideas on standards. DotNetNuke is in VB ack! and PHP, well, I'd rather not go there.

At some point I'll post my modified version of C# Portal Starter Kit on my site, but thats on my todo list.

Regards
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ESEC/FSE '05: Proceedings of the Joint 10th European Software Engineering Conference (ESEC) and the 13th ACM SIGSOFT Symposium on the Foundations of Software Engineering (FSE-13) : September 5-9, 2005, Lisbon, Portugal Authors: Harald Gall, ACM Sigsoft, ACM Sigsoft, Pages: 391, Published: 2005
Cocoon Developer's Handbook: Developer's Handbook Authors: Lajos Moczar, Jeremy Aston, Sue Spielman, Pages: 816, Published: 2003
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Building Portals, Intranets, and Corporate Web Sites Using Microsoft Servers Authors: James J. Townsend, Dmitri Riz, Deon Schaffer, Pages: 517, Published: 2004
Microsoft SharePoint Portal Server: Building Knowledge Sharing Applications Authors: Kevin Laahs, Emer McKenna, Don Vickers, Pages: 544, Published: 2002
Designing Portals: Opportunities and Challenges Authors: Ali Jafari, Mark Sheehan, Pages: 302, Published: 2003
Product Focused Software Process Improvement: 4th International Conference, PROFES 2002, Rovaniemi, Finland, December 9-11, 2002 : Proceedings Authors: Markku Oivo, Seija Komi-Sirviö, Pages: 646, Published: 2002
Distributed Applications and Interoperable Systems: 8th IFIP WG 6.1 International Conference, DAIS 2008, Oslo, Norway, June 4-6, 2008, Proceedings Authors: unknown, Pages: 303, Published: 2008
Sixth IEEE Workshops on Enabling Technologies: Infrastructure for Collaborative Enterprises : Proceedings : June 18-20, 1997, MIT, Cambridge, Massachusetts Authors: IEEE Computer Society, Concurrent Engineering Research Center (U.S.), IEEE Communications Society Technical Committee on Information Infrastructure, SIGGROUP (Group), Institute of Electrical and Electronics Engineers, Pages: 356, Published: 1997

Web:
Multiple portals - code reuse - ASP.NET Forums Multiple portals - code reuse. Last post 10-25-2003 2:09 AM by c#magician. 5 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Web Parts Enable Web Code Reuse, Increasing Developer Productivity ... As I've just described, code reuse is the top benefit. I can write my Web part, validate it, and then publish it for use on multiple pages in multiple sites ...
Architecture, Design & bag of chips Jun 1, 2006 ... Enterprise strategy for code reuse normally dictates code reuse at ... in one central location and render at multiple portal servers ...
BEA WEBLOGIC PORTAL PORTAL LIFECYCLE MANAGEMENT Assembling portal resources to produce multiple portals also lowers portal ... better division of labor and the code reuse enabled by portal lifecycle ...
The Grid Portal Development Kit specific classes allows for the creation and deployment of multiple portal projects to the same. application server. Not only are template source code files ...
Objective Interface announces OIS Telecommunications Platform ... Industrial Communications Portal: Products, News, Articles & Resources ... Platform promotes code reuse, allowing designers to roll out multiple product ...
Bluenog RichPortal™ ™ Deploy new portals without modifying code. - Create and manage multiple unique portals from a single framework. - Reuse look and feel frameworks ...
TATTVUM Article Archive - Basic Design Principle: Loosely Couple The Client depends on the Interface, with Inheritance for code Reuse ... Since Multiple Inheritance of classes was allowed, developers used a mixture of ...
CodeProject: Value of Code Part II – Reusing Code. Free source ... Before reusing code, you need to solve multiple problems. ... the real issue with most reusable components, and unfortunately, there is no magic portal that ...
The Lazy, Clever Programmer: A Compendium Of Code Reuse ... Edgar takes an excruciatingly detailed look at code reuse and recycling. ... If you don’t have experience I suggest you develop a time portal to the future ...




Search This Site:










modify the core using visual studio (dnnframework setup)

errors while migrating to visual studio 2005

sharing of the manage user function in admin panel.

local webserver - simple question

membership provider and session variables

dropdown box and default value

pop up window for uploading file

programmatically create .text users??

new to asp

i need .net framework concept

refresh a page every 60 seconds

opening excel document in web browser with office 2007 installed

solpart menu css question

security issue on an asp.net server

treeview populatenode

membership.deleteuser and deleteallrelateddata

'system.web.sr' is inaccessible due to its protection level ???

events not firing in ie

i am stupid....

windows authentication

visual developer

can't create web service item

categories: "books i'm reading"

can't drag an access table onto form

css setup

certificate problem - getsecuritytoken

simple templated control

using custom (third party) web controls in dnn 2.1.2

dnn 4.0 starter kit install prob

can you use the asp.net 2.0 createuserwizard to add more info to the aspnet_users table?

 
All Times Are GMT