Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Additional Controls???
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00848132
Message ID:
00848487
Views:
16
>What are you missing in mmDataList?
I like the itemtemplate and edititemtemplate sections of a datalist. You can embed a full table based vertical (or hoizontal) section of label/textbox (readonly) pairs and switch to edit mode which switches to an editable list based on whatever you want it to look like. I think the datagrid is limited to inline/single row editing, right?


In the IBuySpy framework, "modules" (ie, discreet sections of a page) are implemented as ASCX controls. A typical class definition looks like this:
    public abstract class Events : ASPNetPortal.PortalModuleControl {
I'm not that good on "implements" yet but are you suggesting I could create a subclass of PortalModuleControl and have it implement ImmWebBinding and ImmWebBindingSimple?

I suppose I'm looking for this PortalModuleControl to have the additional behaviors as the mmBusinessWebPage so the mmControls and associated binding mechanisms all work harmoniously together.

I think it's fairly straight forward to hook into mm business objects only and bind std controls to the returned datasets, etc. But the 2 way databinding is so cool and that's where I'm not so good at the implements approach and integrating the mm stuff into the PortalModuleControl. The existing data access for the portals content, etc is pretty wacky, but it works. I would leave that as is, and just work on my domain specific tables and data access, binding, etc.

Looking forward to asp.net 2.0

Thanks,
Chris.



>>I'm interested in the addition of a couple of web controls to the framework:
>>
>>datalist
>>user control
>
>What are you missing in mmDataList?
>
>UserControl would be a tough one since it is too generic. The main things the UI controls implement is databinding and security interfaces and they're specific to the control and map to specific properties of these controls. With a generic user control this would be difficult to do and there's little to be gained. Basically you can create a new control subclassed from that control and then implement the interfaces you're interested in for databinding or security.
>
>>Another goal I have it to integrate the MM framework into the IBuySpy portal. While the MM web framework goes a long way to assisting in the process of creating web forms, it has no real UI framework for navigation, menus, users, roles, etc. At least I haven't seen it. The I Buy Spy portal has all that and a fairly straight-forward mechanism for managing content.
>
>You shouldn't have any problem integrating this stuff into any other framework. IBuySpy is essentially a UI front end and so it should play just fine with what MM provides. You can use IBuySpy as is and then for the page content use standard Web Form stuff with mm Controls to provide your logic.
>
>>Ideally, I could create an ASCX component that could inherit the attributes of the portals "module" class (in order to play well with its framework) but implement the attributes of the MM Business class (to play well with the MM business classes). This way it would be possible to add MM modules into the IBuySpy portal framework.
>
>I'm not sure I understand why you would think there would be any issues with integration. The main things I can think of would be to have the portal BOs use MM classes behind the scenes which would mean you pull out whats there and replace it. I'm not sure if that's necessary or whether that really buys you anything.
>
>FWIW, in ASP.Net 2.0 a lot of the stuff that you build for a typical portal will all be built-in to to the framework. Registration, controlled content, master pages - all of these things will drastically change the amount of code needed to do this sort of thing - and it is all pluggable with custom providers so you could for example, just plug in BO's from an MM app. But unfortunately that's still almost a year off...

chris jefferies
chris@freeranger.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform