Category Archives: Frameworks

Multithreading .NET (II)

Of course using multithreading have some drawbacks. For instance the slower execution time when running multithreaded code in a single-core machine caused by the context-switching overhead at the time that the scheduler lets each existing thread run for a little assigned time and then it suspends it to let next thread run for a little […]

Multithreading .NET

So what are the real benefits to consider learning how to leverage multiple threads (note that I take for granted you know the difference between a process and a thread) of execution within an application. Well, there are a great amount of benefits to do that, such as: The opportunity to scale by parallelizing CPU-bound […]

Android Async Programming and Services

One of some of my latest goals has to do with how to use Android services and asynchronous processing to create applications that provide a more responsive user experience. This topic can be related to some pretty interesting and cool tendencies for location-based solutions, such as Android Services, background processing, threading, asynchronous tasks, Started Services, […]

HTML5 Session and Local Storage

Traditionally when one needs to store some information client-side, the first thing which comes to our mind is, as the popular monster says, cookies! This has been the approach used during the last years. However, with the recently arrival of HTML5 the web browsers which support this technology allow developers to store information in two […]

Getting information from an external API using jsonp

As you probably know, it is not possible to retrieve information from an external source located on a different domain to your client-side code directly using a traditional AJAX call. This is because of the cross-site scripting policy, which tries to protect websites from malicious script injection. To overcome this situation there is a workaround […]

ShoppingCart part II

After having the listing in place and the search functionality as well, the next step a ShoppingCart app has to face is to show the details of each product when the user clicks on them. Given we’re trying to concentrate our side on a single-page we cannot follow the traditional approach of redirecting the user […]

Spread the usage of OAuth

Furthermore, the response, which is sent by Facebook API Solution to our application, provide us some useful information about the logged-in user. Thus, we can wisely use the index.html file to print some personal data such as name, location, education, gender, etc. (if available). This enables you to have access to the response object, as […]

Third-party login and access with OAuth

Nowadays It is increasingly common that many web applications take advantage of external services such as Facebook and Gmail API solutions, in an attempt to speed up and optimize the user experience, save oneself to accomplish the tedious task of  filling  the typical registration form. Thus, for these purposes is often used OAuth protocol. OAuth […]

STOMP and Websockets

STOMP is a messaging transfer protocol that allows us to use Websockets to connect to nodes remotely. There are several implementations of servers and clients compatible with this protocol. Servers wise, perhaps the most popular is Apache ActiveMQ. One of its features is the queue system that implements. Using these set of queues, we can […]