My features with the new panel model - 2.3.6.6

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/29/2011 10:40:17 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

My features with the new panel model - 2.3.6.6

Hi Joe

As a creator of a few mojoPortal features for my employer I would like to know if I should make changes to my aspx and ascx pages to comply with the new panel model when I upgrade to 2.3.6.6 or higher versions.   I saw you made changes to the Codesmith templates for the new panels so thought I should ask.

Also, do I need to download new copies of things purchased in the mojoPortal store.

Sorry if this was already posted elsewhere.

Rick Hubka

5/29/2011 11:03:29 AM
Gravatar
Total Posts 18439

Re: My features with the new panel model - 2.3.6.6

Hi Rick,

It isn't mandatory, but I do recommend it.

There are some advantages to updating because there are some advantages to the new panels. For example the way it gets the CSS classes and extra markup needed for Artisteer from the theme.skin files means that if the needed markup changes or the CSS classes change in a future version of Artisteer, it can be changed easily from the theme.skin file whereas in the old model it was done in code and would require me to put out a new update for mojoPortal.

Since the panels also allow you to define what element is used, it is possible to use newer HTML 5 elements like section and article instead of the default div if one wants to. It is also possible to configure it to produce less markup by only rendering the contents of any panel level and leave out the panel element. All of this is also part of a foundation that may make it easier to design skins for smart phones in the future as part of our mobile strategy.

And finally, I think the new panel structure is just easier to understand than the old way we were doing things since the panels are named for the context in which they are used, it just looks a lot cleaner than the mismash of panels and divs we were using and the logic for the rendering is much easier to maintain.

It is also possible for developers to define their own panels that inherit from BasePanel for inner markup. Whereas these panels are the main containers one could define panels for inner feature specific containers like BlogPostPanel, BlogExcerptPanel, BlogCommentPanel, BlogSideBarPanel could be defined in the blog and provide even more control over rendering within a feature. So I may take the use of this approach even deeper into features in the future to make markup even more configurable.

Best,

Joe

5/29/2011 11:06:08 AM
Gravatar
Total Posts 18439

Re: My features with the new panel model - 2.3.6.6

I have not updated my add on products yet to the new panels but probably will do so soon, certainly the next release of any of them will use the new panels. But this will also mean they will require mojoPortal 2.3.6.6 or higher.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.