Page 1 of 1
Should we keep the skin feature of widgets
#1
Posted 17 May 2012 - 06:18 AM
Skin usage: http://www.yiiframew...cs.theming#skin
Should we keep this feature in 2.0? If few people are using this feature, I'm thinking to drop this feature for better performance.
Should we keep this feature in 2.0? If few people are using this feature, I'm thinking to drop this feature for better performance.
#2
Posted 17 May 2012 - 08:21 AM
I'd rather say we should merge skins and themes so that there is only one thing that allows overwriting/replacing views.
So if CTheme allows theming of widget views, we could leave the skins behind.
So if CTheme allows theming of widget views, we could leave the skins behind.
#4
Posted 17 May 2012 - 10:08 AM
+1 by me. I found it a neat feature but never actually used it.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
#6
Posted 17 May 2012 - 11:04 AM
I thing that as long as we have a way to customize the looking of widgets inside a theme, no problem removing that. I mean, if Yii looks inside themes/themename/components/views to render the widget view, cannot see why to keep the feature.
To sum it up, I have also never used it and performance matters too much, agreed removing feature!
Regards
To sum it up, I have also never used it and performance matters too much, agreed removing feature!

Regards
______________________________________
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
#7
Posted 17 May 2012 - 02:04 PM
I use widgets too much in my projects, but i never used the skins feature, so i think it's safe to be removed.
#8
Posted 17 May 2012 - 03:37 PM
I think that the same functionality is easily achievable inside a widget with an additional param telling witch view to render, but that's quite rare and tends to be specific functionality for specific cases. So just get rid of it - "I have a need, a need for speed" © Top Gun
#10
Posted 18 May 2012 - 02:09 AM
It's funny, I never used theme either. I was put off from the reality that skin may degrade performance.
@CeBe - I like the suggestion of merging skin and themes.
@Qiang, is this a possible?

@CeBe - I like the suggestion of merging skin and themes.
@Qiang, is this a possible?
Sylvester La-Tunje


#11
Posted 19 May 2012 - 06:06 PM
Here's a yes vote. I use skins all the time.
This post has been edited by Dart: 20 May 2012 - 04:14 PM
#14
Posted 23 June 2012 - 05:56 AM
I never used skins before as I stated in my previous comment, but they are used in the project I started to work on recently, so I'd like to add a bit changed opinion 
I should admit, it's a very convenient feature in some cases, though, if it degrades performance significantly, I still think it's better to get rid of it, at least in such implementation.
Also, occasionally I found this really nice article by Dana Luther, which describes possible skin usages. This article made me to think one more time if there's definitly no need in skins
.

I should admit, it's a very convenient feature in some cases, though, if it degrades performance significantly, I still think it's better to get rid of it, at least in such implementation.
Also, occasionally I found this really nice article by Dana Luther, which describes possible skin usages. This article made me to think one more time if there's definitly no need in skins

Share this topic:
Page 1 of 1