Skip to main content

Posts

Showing posts from June, 2010

Blast Mojo Tutorial (Episode 4): How to use Publish/Subscribe with Mojo's Messaging Behavior

Publish/Subscribe is implemented in many applications and games as it is best
practice for keeping code loosely bound essentially increasing its level
of refactorability. In modern day web applications, your client keeps
requesting new features and you as the programmer need write code in a way
that will keep up with evolving business requirements.

I have a few blog entries written but I'm going to space them out more and release them
on a set schedule. Other than that, I've been having a lot of fun with my weekly sprints (self-disciplined coding) and Javascript tutorial videos.

Good luck and have fun,
Jaime Bueza

Jaime Bueza is a software developer in Vancouver, British Columbia, Canada. He has developed web applications for Nintendo, Electronic Arts, Ritchie Brothers, Kiwi Collections, and Cox Communications. When he's not developing useful software that constantly evolves with business requirements, he's creating tutorial videos for aspiring front-end developers.

Basic HTML 5 Audio Example on Github

Adding to it, I'll be integrating those sounds into a clone Javascript game. You can guess what that game is by the sounds I used! :) Here it is: http://github.com/jbueza/Basic-HTML5-Audio-Example

Good luck and have fun,
Jaime Bueza

Jaime Bueza is a software developer in Vancouver, British Columbia, Canada. He has developed web applications for Nintendo, Electronic Arts, Ritchie Brothers, Kiwi Collections, and Cox Communications. When he's not developing useful software that constantly evolves with business requirements, he's creating tutorial videos for aspiring front-end developers.

Dispelling Laziness, Getting Things Done, Helping non-programming programmers

I'll do it later. - Mr. Procastination
After reading Getting Things Done by David Allen about 3 months ago, I've become a productivity machine. I've evolved from working 9-5, sleeping early, being able to do programming sprints every month to doing sprints every week, starting my own YouTube channel, writing for several blogs on productivity/gaming, and engaging myself in a healthy lifestyle by going to the gym and sustaining an unforgiving 2000 caloric intake. What does it take? The answer is simple: discipline and passion.

I have to admit that when I first started this blog I wrote in a very robotic tone (much like the Architect from the Matrix). I've dispelled that and decided to take the direction of this blog to a more casual tone. I was listening to the Internet Business Mastery podcast and they talk about how the tone of your blog should always be as if you were talking to a person at a nearby coffee shop. This intrigues me so much and it purges the thoughts of…

Upcoming Javascript Sprint Projects

I haven't contributed to Github for a while now since I've been so submersed in work lately. I'm planning an upcoming Javascript sprint this weekend to hopefully tune my level of Javascript architecture, work with an exciting new feature (audio, video controller in HTML 5), and refuel my inspiration for front-end technologies.

Lately, I've been thinking about a pluggable Audio Controller for HTML 5 web games that can take into account character movement, character responses, and music tracks. The more I think of it, the more I get inspired to get started but I have this huge list of things to pencil out:

How does the native audio support in modern HTML5-capable browsers affect the performance of the application?Can I lazy load audio tracks by dynamically injecting the audio track into the DOM?Can I programmatically set auto buffering?Can I observe the audio object in question and hook into its events with Blast Mojo?Can audio objects play at the same time? or do they ge…

"HTML5" Is A Marketing Gimmick -- What can you do with HTML 5?

As many of you know, Apple released a web site talking about the advantages of implementing web applications with HTML5's features. While I completely understand their initiative to indoctrinate people into a full-featured family of technologies, I can easily see through the cloak of Apple's marketing team.

Do you remember back in the day when people used the term "ajax" (and they still do) to send off the message to the public that "ajax" is the product and not a stack of technologies that are implemented within the product? HTML5 is following in the same foot steps. I highly urge the non-technical, aspiring web entrepreneurs to read up on what exactly HTML5 is or you will be misled by undisciplined web developers claiming HTML5 is the driver in the product. Wrong. HTML 5 is a specification to a plethora of features that modern browsers will hopefully choose to support.

"This is cutting edge shit, dawg." - Noob software developer

Prior to this, …

Prioritizing Software Defects

Often times we're overwhelmed by a number of critical defects that need to be fixed "ASAP". If you're using an issue tracker, you have the ability to prioritize issues but what happens if all your issues are the highest priority (blockers)?

A trick that I utilize in my work-flow is to figure out what dependencies each issue has. I ask myself the following questions for each defect assigned to me.

1) Is another teammate dependent on my fixes in order for him to get his job done?
2) Is this issue really stopping the launch? Is there a quick solution that the client is willing to go with in order to successfully launch?
3) Do I need third party support on this issue?
4) Who do I need to talk to get the necessary information to fix this issue?

From the questions above, you can really start to figure out which software defects you should be fixing first. Here's my opinion on what the queue should be:

1. Teammates come firstThe issues you should resolve first are the o…

IE6 problems with Flash and Gzipped XML

Hey all,

This is a repost of my entry back in 2007 since I'm slowly moving all my posts over to here. This does seem a bit cheesy but I might as well throw it in here since blogspot is my blogging home now.

Problem Analysis

While doing some front-end performance enhancements on a project that utilized extensive javascript and flash, I found that IE6 doesn't like it when you compress text/xml with mod_deflate/mod_gzip. From a user perspective, the Flash component would show, but any XML data being transferred to the Flash component will be rejected--you get a blank canvas/UI without any data/Preloader will show. Incidentally, Internet Explorer 7, Firefox 2+, Safari all handle gzipped text/xml without a problem.

Final Solution
Only apply gzip to the following content types: text/plain, text/html, text/javascript, and text/css--Do not apply it to text/xml if your Flash components use XML data sets from the back-end.

This solution gzips all your assets (Javascript and CSS), without…

Job Interview Tips for a Front-End Developer: Show How Passionate You Are

As my nervousness rises, my palms begin to sweat. I've been summoned for a job interview. There's a plethora of questions and answers ping-ponging through my mind as the time ticks closer to the interview. With my confidence banked on my experience, skills, and knowledge, I'm guaranteed this job--so why am I nervous?

The receptionist enters, "Mr. Anderson?" I look up, "Yes, that's me." She smiles, "Mr. Smith will see you now."

I thought I would open this blog with a different approach--it's one of those memorable experiences that you'll always keep getting every time you go for a job interview. The feeling of nervousness, the thoughts buzzing through your head like a bees nest, and the prediction of your outcome.

The Sad State of Front-End EngineeringAfter conducting job interviews on a number of front-end developers, I've come to realize that my discipline (front-end engineering) is saturated with non-programming programmers. …