Frameworks vs. SDKs

I’ll just copy from Wikipedia: Library: A library is a collection of subroutines or classes used to develop software. Libraries contain code and data that provide services to independent programs. This allows code and data to be shared and changed in a modular fashion. Framework: A software framework, in computer programming, is an abstraction in … Read more

Could not load file or assembly ‘System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies

I had this same problem – some users could pull from git and everything ran fine. Some would pull and get a very similar exception: Could not load file or assembly ‘…, Version=…, Culture=neutral, PublicKeyToken=…’ or one of its dependencies. The system cannot find the file specified. In my particular case it was AjaxMin, so … Read more

Go gin framework CORS

FWIW, this is my CORS Middleware that works for my needs. func CORSMiddleware() gin.HandlerFunc { return func(c *gin.Context) { c.Writer.Header().Set(“Access-Control-Allow-Origin”, “*”) c.Writer.Header().Set(“Access-Control-Allow-Credentials”, “true”) c.Writer.Header().Set(“Access-Control-Allow-Headers”, “Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization, accept, origin, Cache-Control, X-Requested-With”) c.Writer.Header().Set(“Access-Control-Allow-Methods”, “POST, OPTIONS, GET, PUT”) if c.Request.Method == “OPTIONS” { c.AbortWithStatus(204) return } c.Next() } }

Difference between a module, library and a framework

All three of those provide functionality. However, there are important differences. A library is just a collection of related functionality. Nothing more, but also nothing less. The defining characteristic of a library is that you are in control, you call the library. The defining characteristic of a framework is Inversion of Control. The framework calls … Read more

Your choice of cross-browser javascript GUI [closed]

When considering a JavaScript library/framework for usage you should first define on your goals. I used to separate all JavaScript libraries/frameworks into three categories by their purpose and architecture: I want to pimp up my page with some really “cool” features. Go for JavaScript library. jQuery ZenoUI old: Prototype, Mootools I want to build an … Read more

How to create a single shared framework between iOS and OS X

If you wish to create a single dynamic framework binary, here are the steps you can follow (as outlined in http://colemancda.github.io/2015/02/11/universal-ios-osx-framework): 1. Change the project’s valid architectures and supported platforms. This should change your framework’s and test unit’s valid architectures and supported platforms as well. If not, then manually change them to inherit from the … Read more

Groovy/Grails :: Ruby/Rails :: 2011 State of the framework

Rails and Grails are both excellent frameworks with their current releases. You really can’t go wrong with either. Here are some things I find interesting about them though: Rails Rails (Ruby) does not scale as well as Grails (Groovy). You will need more horsepower to run your application. This isn’t a big deal at all … Read more

Xcode workspaces with sub-projects and project dependencies triggering builds

This solution was intended for another problem, but maybe it fills your needs. After adding your subproject to the workspace: Select the Target which should use the newly added subproject In “Link Binaries with Libraries” under Build Phases hit the + button If the Library does´t show up hit “Add Other…” Navigate to the Folder … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)