tag:blogger.com,1999:blog-7821856652257554779.post5716340885489752753..comments2023-10-22T12:47:47.534+02:00Comments on Andrzej on Software: What is a framework?Andrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-7821856652257554779.post-50612108151689189192012-12-13T11:55:07.438+01:002012-12-13T11:55:07.438+01:00In the case of a framework, your code is called by...In the case of a framework, your code is called by it. In the case of a library, your code call it. Rails is a framework, and provides libraries too.Anonymoushttps://www.blogger.com/profile/09222395386938208735noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-23373853346748222192012-12-13T09:54:46.412+01:002012-12-13T09:54:46.412+01:00In my humble opinion, a framework is a library + a...In my humble opinion, a framework is a library + a set of conventionsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-89586222913294980172012-12-12T12:40:04.638+01:002012-12-12T12:40:04.638+01:00@Tartley so true :)@Tartley so true :)Anonymoushttps://www.blogger.com/profile/06511787040197951767noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-90146639611025048502012-12-10T13:21:56.369+01:002012-12-10T13:21:56.369+01:00I framework is a library with a bad API.I framework is a library with a bad API.Tartleyhttps://www.blogger.com/profile/00988846474826233422noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-62598269771915542332012-12-09T09:37:49.301+01:002012-12-09T09:37:49.301+01:00Frameworks kinda force developers to think and do ...Frameworks kinda force developers to think and do stuff as framework creators would. It is a bad thing since it limits creators creativity, but its a good thing because it makes him extra productive. <br /><br />I am starting not to like rails because it imposes way to many things, and it makes it hard when you don't want to play by the rules :)Anonymoushttps://www.blogger.com/profile/06511787040197951767noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-56691387955231223682012-12-07T04:45:18.266+01:002012-12-07T04:45:18.266+01:00you use a library to do some work (to authenticate...you use a library to do some work (to authenticate, to call a service, to parse, etc...)<br /><br />you use a framework to structure your app.Anonymoushttps://www.blogger.com/profile/14932748687368344429noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-78553358111649080042012-12-07T04:42:30.369+01:002012-12-07T04:42:30.369+01:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/14932748687368344429noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-21145640071441805772012-12-06T18:15:03.944+01:002012-12-06T18:15:03.944+01:00This is my favorite definition (not sure where I g...This is my favorite definition (not sure where I got it from):<br /><br />- A library is called by your code.<br />- A framework calls your code.<br /><br />Of course, within a framework you will sometimes call parts of a framework. This means that a framework is a library, but a library is not necessarily a framework.Blacktigernoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-14203041435981838052012-12-06T17:30:15.614+01:002012-12-06T17:30:15.614+01:00Hmm.. You know, I found one of definitions - just ...Hmm.. You know, I found one of definitions - just replace "Backbone.js" with "framework" in the following sentence I got form backbone's site :)<br />>"Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions..." Vladimir Ehttps://www.blogger.com/profile/01878360227957783259noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-19659790857657383382012-12-06T17:13:14.499+01:002012-12-06T17:13:14.499+01:00I think that Backbone doesn't call itself a fr...I think that Backbone doesn't call itself a framework? Does it make it a non-framework? ;)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-21544923890918865692012-12-06T16:55:18.891+01:002012-12-06T16:55:18.891+01:00And I think that Backbone and Rails are frameworks...And I think that Backbone and Rails are frameworks, as they impose developer their way to handle things.Vladimir Ehttps://www.blogger.com/profile/01878360227957783259noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-23537978792661237482012-12-06T16:52:16.690+01:002012-12-06T16:52:16.690+01:00I think you are answering #1 and #2 by asking #3. ...I think you are answering #1 and #2 by asking #3. "If I use a framework as a library" - aha! you know what Is what.Vladimir Ehttps://www.blogger.com/profile/01878360227957783259noreply@blogger.com