Category Archives: Tecnologías de la Información

Tecnologias de la Informacion

Qunit: intro to unit testing

[Fuente: https://qunitjs.com/intro/] 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: https://medium.zenika.com/testing-an-angularjs-app-with-jest-3029a613251] 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’s probably why I […]

Angular Observables

[fuente: https://angular.io/guide/observables] 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—that 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: https://school.geekwall.in/p/SJ52XGRWX/create-a-responsive-angular-d3-charts] 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: https://angular.io/guide/lazy-loading-ngmodules] 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: https://angular.io/guide/i18n] 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: https://docs.expo.io/versions/v31.0.0/guides/configuring-ota-updates] 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: https://docs.expo.io/versions/latest/guides/push-notifications]   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: https://www.reactnative.guide/3-react-native-internals/3.1-react-native-internals.html ] 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 […]