Category Archives: Javascript

Qunit: intro to unit testing

[Fuente:] You probably know that testing is good, but the first hurdle to overcome when trying to write unit tests for client-side code is the lack of any actual units; JavaScript code is written for each page of a website or each module of an application and is closely intermixed with back-end logic and […]

AngularJS + JEST

[Fuente:] I will not try to write the ultimate guide to test an AngularJS app with Jest, this article is only my feedback after trying Jest on my project. TL;DR聽It works pretty well聽馃檪 First, let me add some context. I was a huge AngularJS fan and slowly drifted to React. That鈥檚 probably why I […]

Angular Observables

[fuente:] Observables Observables provide support for passing messages between publishers and subscribers in your application. Observables offer significant benefits over other techniques for event handling, asynchronous programming, and handling multiple values. Observables are declarative鈥攖hat is, you define a function for publishing values, but it is not executed until a consumer subscribes to it. The […]

Create a responsive Angular D3 charts

[fuente:] While the landscape of frameworks available for structuring and building web applications is changing by the minute, D3 is still the recognized way to create visualizations using Javascript. In this tutorial, we will add a D3 chart to an Angular application and make the size of the graph dynamic. Note: You can find […]

Angular 7 Lazy loading

[Fuente:] Lazy Loading Feature Modules ——– PREVIOUS start——- Feature Modules Feature modules are NgModules for the purpose of organizing code. As your app grows, you can organize code relevant for a specific feature. This helps apply clear boundaries for features. With feature modules, you can keep code related to a specific functionality or feature […]

Angular 7 Internationalization (i18n)

[Fuente:] Application internationalization is a many-faceted area of development, focused on making applications available and user-friendly to a worldwide audience. This page describes Angular’s internationalization (i18n) tools, which can help you make your app available in multiple languages. See the聽i18n Example聽for a simple example of an AOT-compiled app, translated into French. Angular and i18n […]

React native — OTA updates

[Fuente:] Configuring OTA Updates Expo provides various settings to configure how your app receives over-the-air (OTA) JavaScript updates. OTA updates allow you to publish a new version of your app JavaScript and assets without building a new version of your standalone app and re-submitting to app stores (read more about the limitations). [ —- […]

React native – Facebook integration with expo

Facebook Provides Facebook integration for Expo apps. Expo exposes a minimal native API since you can access Facebook’s聽Graph API聽directly through HTTP (using聽fetch, for example). NOTA: React native has a built-in “Share” service that display device’s native dialog. Registering your app with Facebook Follow聽Facebook’s developer documentation聽to register an application with Facebook’s API and get an application […]

React native – Push notifications with Expo

[Fuente:]   BIG INCONVENIENT: At the moment this post writting:聽with EXpo there is no way of getting an unique device identifier (react-native-device-info package need detaching from Expo) Push Notifications Push Notifications are an important feature to, as聽“growth hackers”聽would say, retain and re-engage users and monetize on their attention, or something. From my point of […]

React Native Internals

[ Fuente: ] React Native Internals React Native is a framework which allows developers to build native apps using Javascript. Wait! Cordova already does that and it has been around for quite a while. Why would anyone want to use RN? The primary difference between RN and Cordova based apps is that Cordova based […]