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

Notification

Icon
Error

KooBoo vs Asp.Net features and some best practicies for Kooboo
koruyucu
#1 Posted : Thursday, August 18, 2011 8:28:43 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 8/15/2011(UTC)
Posts: 8
We are trying to migrate from classic Asp.Net web site to Kooboo, because it seems to be very good in content management. But as the site was written in asp.net it used some of the features it provides. So i would like to learn what alternatives Kooboo providers for that features. So here is the feature list:

  1. Nested masterpages
    It looks like in Kooboo layouts can not be nested. Is there a way to 'simulate' nested masterpages?

  2. Components
    We have several (user)controls that have both markup and are registering scripts using ScriptManager API - its simple html (localizable), external script libraries, and 'startup javascripts' that should be executed on page load (in browser). So in Kooboo i would use view but how to register scripts and 'startup' scripts from the view.

  3. Base pages
    At our site some pages have custom page as a baseclass that runs some logic

  4. Localizing user controls
    Asp.net offers LocalResources, so that texts are neatly organized. In Kooboo I've found just Labels for that purpose. But it looks like scramble to me. Are there any other means to organize localizable texts

  5. DI container initialization
    Some of controls that we had in asp.net will become views in Kooboo. Sometimes there is simple code in code-behind class that is using DI container. So in the Application_Start we were configuring the container. How could i do that with
    Kooboo?

  6. 'Custom Properties' to the site and pages.
    In asp.net website we were using web.config for a site and defining properties in code-behind for pages, but it was a pain, because some the the values were frequently changing. So we had to login to the server and change these values. As Kooboo offers nice admin UI I would like to make it possible to change values using that UI.


There are also some questions I would like to ask about Kooboo usage

  1. ContentType by site separation
    At our site we had 'micro-cms' to enter news for the site. As site is available in several languages the editor was first choosing for which language he wants to add a news, then he was presented with the list of the news just for that language. On the site, in the listview the language of the site was automatically injected from the CurrentCulture. In the Kooboo we created ContentType with the column 'Site', which indicates for which language this new is. The better approach would be to add Folder for each language. But when using DataRules in the in the ListView we can not set folder dinamically. One more approach is that content defined for one site is 'invisible' for a subsite - ContentTypes are shared, but content is not. What would be your suggections?

  2. Large content maintenance
    Code of the site (including html, css, js etc) is under version control system (subversion). But some large content, like videos, downloadable documents is not as we dont need it in development. On the site we setup virtual directory and the folder and we simply copy content there. What is the best practice in Kooboo?

  3. What is the differenct between 'Html block' and 'View'? View is more flexible as it allows to use server-site coding. Does it involve some ovehead when page is being rendered?

  4. When should i user 'Files' and when 'Media Library' features? Both of them allow to upload documents, and orginize them in folders.

  5. We put design of our site(css, images, js that is related to design) to the 'Media Library'. Again there is an alternative - 'Themes' and 'Scripts'. What cons and pros of using them?


Thank you.
zguoqi
#2 Posted : Monday, August 29, 2011 8:19:06 AM(UTC)
Rank: Administration
Groups: Registered, Administrators

Joined: 9/2/2009(UTC)
Posts: 692
Location: xiamen
koruyucu,

it will takes pretty long to answer this post since you asked many good question but also long to answer questions.

I tried to answer them briefly below, please come do not hesitate to ask more specific questions.

1. Nested masterpages
Sorry, this is not supported at this moment, it maybe possible, but we haven't evaluate how complicate it is to support it yet.

2. Components
Script are most of the time managed in the page level. Is it possible to have script loaded in the layout instead of view?

3. Base pages
You can check out plugin

4. Localizing user controls
Can you clarify what is scramble here? Lable is similar as ASP.NET text resource only we think it is easier to use and better organized, and supports inheritance.

5. DI container initialization
This is not supported, maybe try to modify the source code yourself?

6. 'Custom Properties' to the site and pages.
This should be possible, I have a quick check. We do have this function on page, but it is commented out in this release. We can try to include them in the next release. For now, you can try to uncomment the source code version yourself.

7. ContentType by site separation
Please check kooboo content broadcasting.

8. Large content maintenance
You may try to search for a solution yourself. I am thinking of two solutions.
- Use the media library and save the link to videos or other content to a text content.
- The tinymce control had been extended to be able to insert content items (like image, download file) directly from media library and display within some html tag based on its file extension, you may try to do something similar like this with other file extensions, it may requires to extend the tinymce.

9. View and html block
Html block for static shared content, view for dynamic content rendering.

10. File and media library.
These was designed to be different, but now more or less similar. File is within the "Site" and media library is with the Content repository.

11. We put design of our site(css, images, js that is related to design) to the 'Media Library'. Again there is an alternative - 'Themes' and 'Scripts'. What cons and pros of using them?
better put all site elements (like css, images, js) within the site because that is what it is designed for. Media library you have to do all the loading, compress, etc yourself.
Regards,

Vincent

Kooboo Team
sbrickey
#3 Posted : Monday, December 19, 2011 5:41:38 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 12/16/2011(UTC)
Posts: 35
Location: Ohio, USA
Any update to this with the 3.0 release?
in particular, regarding nested masterpages
carlosmartinezt
#4 Posted : Tuesday, January 31, 2012 1:28:08 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/31/2012(UTC)
Posts: 1
Location: London
sbrickey;5424 wrote:
Any update to this with the 3.0 release?
in particular, regarding nested masterpages



I am also looking for an answer to this questions. It seems to be something basic so there must be a way to do it.
Users browsing this topic
Guest (2)
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.124 seconds.