Understanding JQuery.Deferred and Promise

jQueryIf you are new on JQuery.Deferred and Promise, like me, you probably would like the next article: Understanding JQuery.Deferred and Promise, witted by José F. Romaniello.

I really hope you find this information useful.

Atlassian JIRA: Advanced Formatting on comments

jira_logoif you use JIRA as one of your daily tools as I do, and you did not know that in JIRA is possible to formatting text, especially blocks of code, as I, then the next link will very helpful: Advanced Formatting

“JIRA allows to add preformatted block of code with syntax highlighting. The default language is Java but you can specify JavaScript, ActionScript, XML and SQL too.”

I really hope you find this information useful.

Base22, LLC transforms enterprise portal design

Base22CreedFlagBase22 builds its solution on IBM Digital Experience technology. “What we’ve created is a software framework composed of building blocks designed to use the IBM platform, because we’ve found it to be the best available to support the dynamic, enterprise-scale solutions our customers expect.”Cody Burleson

You can read the full story here: Base22, LLC transforms enterprise portal design

I really hope you find this information useful.

Learning JavaScript Design Patterns

JavaScriptIf you want to learn about JavaScript Design Patterns, I really recommend you to read the next book: Learning JavaScript Design Patterns. A book by Addy Osmani

Preface

Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language.

One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we’re attempting to solve.

Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we’re attempting to convey a way of structuring a solution in code form to others.

In this book we will explore applying both classical and modern design patterns to the JavaScript programming language.

I really hope you find this information useful.

Five Leadership Lessons From James T. Kirk

103112-kirk-2I encourage you, reader, to spend some minutes of your time to read the next post of Alex Knapp that talks about Leadership:

“In his many years of service to the Federation, James Kirk embodied several leadership lessons that we can use in our own lives. We need to keep exploring and learning. We need to ensure that we encourage creativity and innovation by listening to the advice of people with vastly different opinions. We need to occasionally get down in the trenches with the members of our teams so we understand their needs and earn their trust and loyalty. We need to understand the psychology of our competitors and also learn to radically change course when circumstances dictate. By following these lessons, we can lead our organizations into places where none have gone before”

Thank you to my teammate Luis Lozano for sharing me this great post.

I really hope you find this information useful.

Seven ways to get relationships right

relationshipsI encourage you, reader, to spend some minutes of your time to read the next post created by Cody Burleson, that contains a list that recently, Mike Minardi, our CEO at Base22 sent an email to the staff providing tips on how to build enduring, long term, and trusting relationships.

I really hope you find this information useful.

How to avoid death By PowerPoint

PowerPoint_15How to avoid death By PowerPoint: David JP Phillips at TEDxStockholmSalon

I really hope you find this information useful.

JavaScript Variable Scope and Hoisting

JavaScriptThe next links explain very well how JavaScript’s scoping system works as the related topic known as hoisting.

I really hope you find this information useful.

How to find events bound on an element with jQuery


JavaScript

If you need to find a way to get the list off all the events bound on an element here is a code that you can use.

My example cover event delegation just to show how these events are displayed in the console.

.

jQuery("myelemnt").on({
	click: function(){ console.log("click") },
    mouseout: function(){ console.log("mouseout") }
});

//test event delegation
jQuery("myelemnt").on("click","a", function(){
	console.log("a click");
 });
jQuery("myelemnt").on("mouseout","a", function(){
	console.log("a mouseout");
});

//for jQuery 1.8 +
var $events = jQuery._data(jQuery("myelemnt")[0], "events" );
//for jQuery 1.7 and below
//var $events = jQuery('myelemnt').data('events');

//validate if the element has an event attached
if(typeof $events != "undefined"){
	//iteration to get each one of the handlers
	jQuery.each($events, function(i, event){
		jQuery.each(event, function(i, handler){
			console.log(handler); // write on console the handler
		});
	});
}

Output example:

events

Useful links:

I really hope you find this information useful.

How to track users activity when using IBM Connections mobile app

ConnectionsAppBy default the last version of the IBM Connections Mobile App (iOS and Android version) doesn´t have support for Google Analytics, so, how you can track user’s activity?

On IBM Connections 4.5 you need to enable Mobile Security Management, once you have access to the Connections Mobile Admin Console (https://host:port/mobileAdmin/login) there are two reports available:

  • Device: The device report shows information regarding the devices that access trough mobile. The information the report shows is as follows.
    • User Name
    • Device Name
    • Last Access Check
    • Device OS
    • Device OS Level
    • Build Level

  • User: The user report shows information about the user that access trough mobile. The information this table shows is as follows.
    • User Name
    • User State
    • Access Allowed

usersSo far is all the info you can get. I really hope that in a new version IBM Connections team could add more features.

I really hope you find this information useful.