Behavior, Content, Money – 3 Things you should never give away for free!!!

BCmoney MobileTV

JS Transformer

Posted by bryan on December 8, 2010 in AJAX, HTML, JavaScript, XML with No Comments


No Gravatar
Megan Fox and Shia Labeouf promoting Transform...
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)

Read the rest of this entry »

From Flash to JavaScript and back AGAIN

Posted by bcmoney on June 9, 2010 in AJAX, Flash, HTML, JavaScript with 1 Comment


No Gravatar
Nederlands: Afbeelding van lagen in Flash CS4 ...

Image via Wikipedia

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 »

SOAP Web Services in jQuery vs JavaScript

Posted by bcmoney on December 12, 2009 in JavaScript, Web Services with No Comments


No Gravatar
Comparison and analogies between WSDL 1.1 and ...

Image via Wikipedia

So I’ve been working with a LOT more SOAP-based Web Services since I’ve started up in a government software development position.

While in the past, most of my Web Service development has focused on creating or consuming RESTful Web Services, now my current position requires that I integrate with legacy systems built many years ago (with internal code largely untouched); in some cases, I don’t even have access to the original code, which doesn’t give me the option to switch or simply update the Web Services layer to use a simpler REST-based mechanism. Since we’re utilizing an ESB, I also need to maintain some form of data availability for the more complex stuff we need to do on the project (event-driven actions, rules, transformations, routing, logging and the like), and no, the ESB is NOT a good bandage for old systems, I think that is a common fallacy.

At the same time, we also need to build a Rich Internet Application and sometimes I want to go and get the data for a given object (i.e. User List upon loading). Thus, I’ve devised some approaches for calling SOAP-based Web Services directly from the client, via JavaScript and/or jQuery. My first choice was obviously to use jQuery but later I was told by my employer that due to licensing and other various business/political concerns it would not be desired in the final product, so I had to really go back to the old school and call the SOAP Web Services by hand from JavaScript directly.

In fact, I had to first prove it was even possible as I had many doubters on the team as well as superiors in charge of decision-making who doubted that it was even technically possible to call SOAP Web Services from JavaScript!

The following is the short and somewhat elegant (considering the situation) jQuery approach:
Read the rest of this entry »

BC$ (JS/xHTML/CSS) Web Framework

Posted by bcmoney on November 2, 2008 in AJAX, CSS, Flash, HTML, Java, JavaScript, JSON, Multimedia, PHP, Web Services, XML with No Comments


No Gravatar
js-frameworks

Collage of JavaScript frameworks.
(Photo credit: TripWire)

In light of the massive popularity of existing JavaScript frameworks such as Dojo, jQuery and the original one (as far as I’m concerned) Prototype.JS I’m releasing a heaping mass of code which I’ve accumulate over the past 3 years of consulting, tinkering, hacking, borrowing ideas, and learning in web development. I doubt that my own will ever reach the prolific popularity of the more popular frameworks, and even personally I’ve all but resigned to using jQuery or Prototype (depending on the problem); but I’m releasing it as a version 1.0 (Beta and FINAL release all in one) nonetheless, if only it may come in handy to someone, somewhere.
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.

  • Archives