Good is the enemy of Great. This is the first sentance of the book by Jim Collins.
Can something that is good become great ? And if so, how ?
Or is the disease of “just being good” incurable ?
Good is the enemy of Great. This is the first sentance of the book by Jim Collins.
Can something that is good become great ? And if so, how ?
Or is the disease of “just being good” incurable ?
Let’s take some time to talk about human beings and teams … sports teams, corporate teams … individual contributors, and managers.
How can one identify a dysfunctional team? And how do you start addressing the issues if you cannot articulate them?
Continue readingWhat is a habit? How can one recognize a habit?
Let’s start with a fun example …
A kindergarten teacher that has worked with kids for the last 20 years of her life and today she works in a corporate office. Observing her in the corporate office, people identified that when she hears the sound of somebody exiting the bathroom she is naturally asking out loud the following question “Have you washed your hands?”
Is the sound of somebody exiting the bathroom a trigger that is causing her to ask the question about washing hands?
Is her asking this question an automatism that she has built in the last 20 years working as a kindergarten teacher?
The next example is more academic…
In my opinion Angular 2 is a great framework to work with. But as a developer, you know that you will also need great debug features in order to have a good experience developing.
There are multiple IDEs you can use to develop in Angular 2, but for this article I will talk about Visual Studio Code – VSCode. It has great typescript support and the auto-suggest knows about the angular 2 components.
Typescript is good when developing, the learning curve is smooth, but be aware that browsers don’t know how to run .ts files. This is why you will have to “transpile” your code. Transpiling is the process of converting your code from typescript to javascript(es6).
Firebase apps work offline and enabling disk persistence allows your app to keep all of its state even after an app restart. Firebase also provides several tools for monitoring presence and connectivity state, as we will cover in the lines bellow.
First of all, in order to be able to use Firebase on Android we need to:
In earlier post we saw how to build a hello world web component using Angular 2.0 beta.
Now we will create a real-time component using Firebase. We will have 2 components:
To build the first component for adding elements in a list, we just need a simple HTML with 2 fields and a button, and some small JS method to send these fields to Firebase.
How to create a simple hello-world component and use it in the index page. We will use TypeScript and Html in the example bellow. To run the example you will need the npm installed.
The structure that we will need:
Firebase is a powerful API to store and sync data in realtime helping front-end developers build realtime apps for the web. You can save data, update data, and listen for data changes in realtime with only a few lines of code. Data is stored as standard JSON and is accessible from any platform. Firebase also has safety and security built in to keep your data and your users data safe.
In order to use Firebase in your application you have to incluse the firebase js reference in the page header.
<script src="https://cdn.firebase.com/js/client/2.0.2/firebase.js"></script>
Although the internals of Angular 2 are still changing, the beta version of the API was released in December 2015 and you can use it to build your apps. The components are better isolated in Angular 2 and if the notions of properties and events are well applied, its simpler to write truly reusable components that can be understood just by looking at an html template.
If you need to open a Facebook page from your Android application you can do that in 2 ways: