Welcome Guest, Not a member yet? Register   Sign In
Carabiner 1.0: Asset Management Library
#26

[eluser]tonydewan[/eluser]
@meteor Thanks for the feedback. I'm sorry you don't like Carabiner. I'll certainly take some of the criticisms you've provided into account in the future. However, you certainly don't need to use Carabiner. If it's not for you, don't use it. As you mentioned, there are other options available. If you don't like those, you can certainly write your own.

I would like to respond to a few points.

[quote author="meteor" date="1236537626"]it would be much better if library used config file.[/quote]

This is something I'm considering for a future release. I modeled the current config setup after the several of the older libraries by Elliot Haughlin. As I've said before, I think a config file is overkill in this instance. However, I can certainly see it being useful.

[quote author="meteor" date="1236537626"]writitng configs in a cnstructor function is just asking for troubles[/quote]

There is no configuration in the Carabiner constructor. The configuration happens with a separate config function.

[quote author="meteor" date="1236537626"]Next ... Your functions are too elaborate[/quote]

I assume your talking about the display function. I agree wholeheartedly. That's on my list of things to redo. I'm optimizing Carabiner as I add functionality.

[quote author="meteor" date="1236537626"]I come from ruby world, and my opinion is that, function should do one thing, no data types checking,[/quote]

The only data type checking is in the js and css functions. The only reason I do this is to allow arrays or arrays of arrays to be passed to these functions. That way, the library adapts to how the developer wants to use it. This is customization over convention, in opposition to the rails mentality of convention over customization. The extra overhead, in my opinion, is negligible, particularly compared to the functionality gains.

[quote author="meteor" date="1236537626"]libraries should not mix php and html[/quote]

I assume now that your talking about the _tag function. That's not really mixing PHP and HTML. That's PHP writing HTML. Is there a better way to do it? I'm open to ideas.

[quote author="meteor" date="1236537626"]Next. no tests are provided with your library, why ?[/quote]

I'm truly not sure what you're talking about. Can you give me an example?

[quote author="meteor" date="1236537626"]All in all this library presents not much value to me, there is a lot of code in it but not much is attained with it...I think this library is not much better than the assets helper [/quote]

I'm sorry you feel that way, but there's a simple solution: don't use it.

Thanks again for the feedback. You might also check out the newer (1.2) version of Carabiner.


Messages In This Thread
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 07:23 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 07:30 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 09:26 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 09:56 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 10:07 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 10:16 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 10:24 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-28-2009, 11:26 PM
Carabiner 1.0: Asset Management Library - by El Forum - 01-29-2009, 12:48 AM
Carabiner 1.0: Asset Management Library - by El Forum - 01-29-2009, 04:58 AM
Carabiner 1.0: Asset Management Library - by El Forum - 01-29-2009, 07:23 AM
Carabiner 1.0: Asset Management Library - by El Forum - 01-30-2009, 05:47 AM
Carabiner 1.0: Asset Management Library - by El Forum - 01-30-2009, 03:22 PM
Carabiner 1.0: Asset Management Library - by El Forum - 02-01-2009, 12:35 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-01-2009, 04:28 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-02-2009, 08:44 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-02-2009, 08:54 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-06-2009, 12:07 PM
Carabiner 1.0: Asset Management Library - by El Forum - 02-06-2009, 04:00 PM
Carabiner 1.0: Asset Management Library - by El Forum - 02-07-2009, 01:06 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-09-2009, 01:11 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-11-2009, 09:12 AM
Carabiner 1.0: Asset Management Library - by El Forum - 02-13-2009, 02:31 PM
Carabiner 1.0: Asset Management Library - by El Forum - 02-13-2009, 03:05 PM
Carabiner 1.0: Asset Management Library - by El Forum - 03-08-2009, 07:40 AM
Carabiner 1.0: Asset Management Library - by El Forum - 03-08-2009, 08:57 AM
Carabiner 1.0: Asset Management Library - by El Forum - 03-08-2009, 09:20 AM
Carabiner 1.0: Asset Management Library - by El Forum - 03-08-2009, 09:46 AM
Carabiner 1.0: Asset Management Library - by El Forum - 03-08-2009, 10:38 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-25-2009, 04:00 PM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2009, 06:39 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2009, 07:46 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-26-2010, 01:00 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-26-2010, 07:58 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2010, 01:54 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2010, 02:04 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2010, 05:33 PM
Carabiner 1.0: Asset Management Library - by El Forum - 08-27-2010, 08:37 PM
Carabiner 1.0: Asset Management Library - by El Forum - 08-28-2010, 09:53 PM
Carabiner 1.0: Asset Management Library - by El Forum - 09-11-2010, 05:35 AM
Carabiner 1.0: Asset Management Library - by El Forum - 08-22-2012, 08:09 AM
Carabiner 1.0: Asset Management Library - by El Forum - 11-09-2012, 07:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB