Search

Developers Log

A blog about software developing and technology

Category

Software Development

How to fix: Cross origin requests are only supported for protocol schemes

How to fix this CORS policy error message: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https

Implementing IEnumerable and IEnumerator in C#

Quick guide to implementing IEnumerable and IEnumerator on your custom data structures.

C#: “Resource inaccessible due to its protection level” solved

How to solve the 'Resource inaccessible due to its protection level' error.

JavaScript: quick guide to the Revealing module pattern

The revealing module pattern is a variation of the module pattern in which  we declare ALL methods inside the function private scope, and we return an object with pointers to the methods that we want to make public.

ASP.NET not picking the right resource file

Let's learn how to work with resources files using ASP.NET, and how to make sure the site loads the right resource file based on the user browser preferences.

Drawbacks in the JavaScript module pattern

Last week we saw how the module pattern could help us to structure our JavaScript code. But the use of the module pattern has some disadvantages that we must understand, to be able to apply this pattern correctly.

JavaScript: quick guide to Module pattern

In previous post have seen how to create JavaScript objects literals, we also saw how we can use those to encapsulate parts of our code, creating de facto reusable modules. But if you come from Java, or .Net development you probably missed one thing: we haven't seen yet how we can define public, and private properties.

JavaScript Singleton with object literals

In this post we will see how we can use Objects Literals when doing JavaScript OOP.

SwiftGen code generator

SwiftGen is a code generator tool that allows us to generate Enums from images, storyboards, Localizable.strings, etc. To understand the real value that SwiftGen can bring to tour projects we need to revisit first how resources such as images, or storyboards are called, and what are the caveats associated to the usual way in which we use them.

Blog at WordPress.com.

Up ↑