Cross-Platform Social Media Sharing Tool
Social media has taken over the web (for now) and the name of the game is sharing, something legislation like SOPA and PIPA just didn’t seem to understand. Rather than figuring out a new economic model based on the reality of sharing on the web, that rewards this type of activity (which is essentially just a more trackable form of “word-of-mouth” advertising, the best kind of promotion for any product, service or brand), instead these legislative measures simply try to take us back to the stone-age by applying a “copyright theft” label to anything as mundane and innocent as posting a link to potentially copyrighted materials. Well, whether bureaucrats and greedy corporate execs approve of the idea or not, the culture of sharing that the internet has bred is definitely here to stay!
In these days of non-stop distractions and the constant bombardment of messages towards the average internet user, you (i.e. your website, or your brand) absolutely have to have a presence at least somewhere in the endless streams of information available via the leading social media sources. That’s not just the typical “Social Media marketer” hype but a sadly true statement. Believe me, I really wish it weren’t true, but just look at these figures and the infographic to the right showing time spent logged in to the major Social Networks and Social Media sites:
Here is where I should admit that I could have just started off this post with saying “use a third party sharing service” and been done with it. Let me clearly state now that yes, I do realize there are many services out there that can provide you this kind of utility out-of-the-box, within a few clicks and simply agreeing to their terms then completing the sign up. The two that come to mind are ShareThis and AddThis (both of which I have no personal interest or stake in, aside from having been a user of each in the past, on different sites).
However, with any third party service, you are effectively giving them access to your data, and depending on the amount of code involved in running their solutions, may also be opening up potential security risks by including third-party JavaScript. Last but not least, and most significantly, as with any third party service, you never want to rely on them too much. I’ve learned this the hard way, especially of late with Google’s increasingly frequent acquisitions of promising startups, which turn out to be buy-to-fry (as in buy to remove a competitor’s product from the market completely), or buy to discard (otherwise leave to collect dust or stop adding new features but keep a service running, in order to prevent any future direct competition). Two that come to mind are Aardvark (a community-powered Question & Answer service) and Apture (a community blogging and website enhancement tool), the former of which is still alive thus falls into the “collect dust” pattern, and the latter of which was discontinued to be integrated into the Google behemoth or lost to the annals of internet history forever.
Also, expect a similar post to this one discussing how to build a simple Apture alternative next month!
Sharing Tools and Badges are organized by content type below:
Read the rest of this entry »
JS Transformer

- Image via Wikipedia
The official release of one of the most useful (yet hackish, and randomly pieced together from the interweb) code snippets I’ve ever made. I’m calling this useful little piece of code “JS Transformer”, since Transformers are cool again thanks to Shia LaBeouf.
NOTE:
KEEP IN MIND THE SAME-ORIGIN POLICY OF MOST BROWSERS… you’ll probably have to use a server-side proxy to make this more useful (i.e. proxy.php, proxy.jsp, proxy.asp, etc… a topic I’ve covered before)
Remotely exchange data between iFrame and parent (jQuery .vs. HTML5)
One of the many nagging web development problems that the HTML5 working group is addressing with the new HTML specification, is the difficulty in working with content or exchanging data in between an iFrame and the main (origin) page which embeds it, as well as across separate windows (tabs) and domains.
jQuery
In order to accomplish the exchange of data between iFrames, while we wait for more browsers to support the new Communications section of the HTML5 spec (more specifically the postMessage function), the following is a quick way to make the communication magic happen with the convenience of jQuery:
Read the rest of this entry »
From Flash to JavaScript and back AGAIN
Inspired by several tutorials I did back in University, I decided to update a little script to pass data in between Flash and AJAX using only pure JavaScript and ActionScript to talk to one another.
In fact, this was arguably even easier back in ActionScript 2.0, where you could simply reference JavaScript variables directly. Now, there is a slightly more complicated API, but before we get ahead of ourselves, let’s list all possible options…
Read the rest of this entry »
Push-Messaging with JMS

Hiram Chirino, Logo for Apache ActiveMQ, http://activemq.apache.org/ Released under the Apache Software License 2.0 (Photo credit: Wikipedia)
While the finer details of new web standards like ActivityStrea.ms Realtime, PubSubHubbub and HTML5 Web Sockets are still being ironed out, the often-used, tried & true method of push messaging and real-time data integration in the Java community (not to mention larger developer community as a whole) has been Java Message Service (JMS).
JMS is a mainstay of the Java core and has been used for Web Service interoperability, as well as more innovative uses such as real-time and/or event-driven architecture (EDA) Web Applications.
In this article, I’d like to summarize some of my developments (i.e. joys and pains) with JMS in my current project, as well as summarize some best practices and lessons learned.
Read the rest of this entry »
BC$ = Behavior, Content, Money
The goal of the BC$ project is to raise awareness and make changes with respect to the three pillars of information freedom - Behavior (pursuit of interests and passions), Content (sharing/exchanging ideas in various formats), Money (fairness and accessibility) - bringing to light the fact that:
1. We regularly hand over our browser histories, search histories and daily online activities to companies that want our money, or, to benefit from our use of their services with lucrative ad deals or sales of personal information.
2. We create and/or consume interesting content on their services, but we aren't adequately rewarded for our creative efforts or loyalty.
3. We pay money to be connected online (and possibly also over mobile), yet we lose both time and money by allowing companies to market to us with unsolicited advertisements, irrelevant product offers and unfairly structured service pricing plans.


