Yii Framework Forum: Another Taggable Behaviour - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Another Taggable Behaviour Rate Topic: -----

#1 User is offline   Su_MpaK 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 18-March 13
  • Location:Russia

Posted 18 March 2013 - 09:21 AM

Hi all,

I Have just launched new Yii extension which is hehaviour for CActiveRecord that allows to attach tags to a model.

GitHub repository: github.com/dpoltoratsky/Taggable

Any feedback will be much appreciated.

Please fell fre to ask any quiestions here or report issues at GitHub.
1

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,698
  • Joined: 10-October 10
  • Location:Denmark

Posted 18 March 2013 - 09:36 AM

To encourage you to up your post count, so that you can put the extension up in the official extension repository, perhaps you could engage in a sales pitch:

What is it that makes this extension better than / different from the TaggableBehavior extension from YiiExt? :)
"Less noise - more signal"
0

#3 User is offline   Su_MpaK 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 18-March 13
  • Location:Russia

Posted 18 March 2013 - 09:42 AM

View Postjacmoe, on 18 March 2013 - 09:36 AM, said:

To encourage you to up your post count, so that you can put the extension up in the official extension repository, perhaps you could engage in a sales pitch:

What is it that makes this extension better than / different from the TaggableBehavior extension from YiiExt? :)


Thanks =)

Two major differences are:
- It uses ActiveRecord model for tag representation
- Interface functions are sligtly different, they are not strictly tied to string parameters. You can pass any number of arguments that can be typecasted to string.
0

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,698
  • Joined: 10-October 10
  • Location:Denmark

Posted 18 March 2013 - 09:54 AM

I'll give it a try.
I have a project which requires tags. :)
If it has more features than the YiiExt extension, then it could be worth it. However, the other extension is better for performance as ActiveRecord carries an overhead.
The really good things comes with a price. In general too. ;)
"Less noise - more signal"
0

#5 User is offline   Su_MpaK 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 18-March 13
  • Location:Russia

Posted 18 March 2013 - 10:15 AM

View Postjacmoe, on 18 March 2013 - 09:54 AM, said:

I'll give it a try.
I have a project which requires tags. :)


So, thanks again =)

Looking forward to your feedback.

View Postjacmoe, on 18 March 2013 - 09:54 AM, said:

If it has more features than the YiiExt extension, then it could be worth it.


I would not say 'more' features. It is less for sure for now. For example my one not uses cache so far. But I strongly beleave that interface is just a bit more useful.

And if you will need any additional features - you are welcome to request them =)

View Postjacmoe, on 18 March 2013 - 09:54 AM, said:

However, the other extension is better for performance as ActiveRecord carries an overhead.
The really good things comes with a price. In general too. ;)


Agreed, but as for me using of interface is better than optimize in advance something that is not confirmed as bottleneck. Within a reason of course.
1

#6 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,698
  • Joined: 10-October 10
  • Location:Denmark

Posted 18 March 2013 - 10:18 AM

View PostSu_MpaK, on 18 March 2013 - 10:15 AM, said:

... as for me using of interface is better than optimize in advance something that is not confirmed as bottleneck. Within a reason of course.

That's a great point!
You are spot on.
"Less noise - more signal"
0

#7 User is offline   Su_MpaK 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 18-March 13
  • Location:Russia

Posted 18 April 2013 - 02:50 AM

Finally published extension in repository: http://www.yiiframew...able-behaviour/
0

#8 User is offline   NCS_One 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 56
  • Joined: 24-August 11

Posted 03 June 2013 - 09:09 PM

Hi,

Great extension.
When trying to add a tag that already exists it raises a Unique violation.
0

#9 User is offline   Su_MpaK 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 18-March 13
  • Location:Russia

Posted 04 June 2013 - 12:59 AM

View PostNCS_One, on 03 June 2013 - 09:09 PM, said:

Hi,

Great extension.
When trying to add a tag that already exists it raises a Unique violation.


Thanks a lot, I will figure out this issue asap.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users