2011 Year In Review

This year has been a personal best form me. I’ll spare you the long winded summary and get straight to what I actually produced :) Published my first DZone Refcard “Mastering Portals with a Portlet Bridge” http://refcardz.dzone.com/refcardz/mastering-portals-portlet Learned that CSS3 is replacing Photoshop http://wesleyhales.com/blog/2011/02/05/Replacing-Photoshop-With-CSS3-Creating-Styles/ Watched the entire Battlestar Galactica series on Netflix. Mourned the loss of Stargate Universe Posted this blog entry and later joined the RichFaces team because of it http://wesleyhales.

Fixing Ajax on Mobile Devices (with HTML5)

Update: @_boye has created a perf test which shows the performance of this solution. Remarkably, This iFrame solution outperforms innerHTML on Firefox 7 and maintains the same speed on Chrome 16. The most common approach for receiving markup from an Ajax request is to use innerHTML for placement of the responseText. This method has been widely used (and argued) since the inception of XHR, but it surprises me that it's still being recommended and used not only on desktop browsers but mobile ones as well.

RichFaces Mobile Designs - Day 3

So I made it over the hump of this mobile design week of madness. Below you will find a dark theme with a component skin for the rich:accordion component. Day 3: About The Design Here we have another phone based design broke out into 3 pages. The first page is a standard menu so not much to say there. The bottom menu bar is a little different from my first design – following the lead of the native twitter iPhone app.

Going Mobile With RichFaces! Design Proposals - Day2

Day 2 of the RichFaces skinning and we have the first approach for tablet devices. Tablets are a little harder to design for because of a few reasons: 1) Your design sits on the fine line between desktop and mobile. You are designing your app for a max 1024 pixel resolution (in landscape mode) but you must also take advantage of mobile usability (which you will see in page2) 2) Similar to the iPad Mail.

Comments    Java, jsf, mobile, richfaces, web

Going Mobile With RichFaces! Design Proposals - Day1

Today marks an important day in the RichFaces project as we continue to head down the mobile web road. Since we have such a great community of users and followers, we want you to be involved with the design process. So each day this week, I will come up with a new proposed design/theme for RichFaces Mobile and we want to hear your feedback. I will announce each new design (both for tablet and phone) via twitter with a link back to this article.

Comments    Java, jsf, mobile, richfaces, web

My New Career Choice at Red Hat

July 1st marked my first day on the JBoss RichFaces team. I've decided to push myself and get out of my comfort zone. It seems that a developer only has so many years that he or she can sustain the same position doing the same thing and dealing with the same technology. I’ve been with Red Hat almost 4 years now and have enjoyed every second of it, and this is the first time in my career that I have chosen the position for myself while working within a company.

Runtime Type Detection and Usage with Weld

About TweetStream In developing the TweetStream demo for the JBoss World keynote and JUDCon presentation, I wanted to use CDI in a way that would choose the implementation of a given type at runtime. With Qualifiers and Producers, CDI gives you the power to do this. A little bit about the usecase: The TweetStream application is an app that Jay Balunas and I developed over the past few months for our presentation at JUDCon and JBoss World 2011.

Comments    Java, cdi, hornetq, infinispan, jms, jsf, richfaces, seam, weld

Does Developing Portlets Make You a Better Developer?

Working with portlet technology is often discredited for it’s seemingly complex API and development hoops one must jump through. But if you have worked on a portlet project for a considerable amount of time, and then jump back to a servlet based project, you have a feeling that life just got easier. This is all within the context of which servlet-based framework you might be working with, but overall things are a bit easier when dealing with one request and response.

Going Mobile With RichFaces 4 - Part 1: Drag and Drop

Richfaces 4 just reached Milestone 6 and now would be a great time for the community to step up and check how the components run on mobile platforms. First off, Richfaces 4 currently does not offer mobile support but it is definitely the direction they are heading. And the RF team has taken all the necessary steps to allow the client side code to be extended and improved by way of jQuery.

Replacing Photoshop With CSS3 - Creating Styles

One trendy technique that I often use in Photoshop (for buttons, nav bars, etc…) is a gradient that slightly variates from its base color with a hint of inner shadow (for highlight). This used to be a pain in the royal ass to implement with html/css2, but now is amazingly simple with CSS3. Not only is it simple, but you can also create a sort of “gradient template“ to be reused.