Thursday, February 23, 2017

Things To Do When Upgrading To A New Version Of RSAD

This is an addendum to this post: http://john-zhou.blogspot.com/2016/04/instructions-for-installing-rational.html. Recently I found a need to upgrade from RSAD 9.5 (Rational Software Architect Designer) to 9.6. This version of RSAD is based on Eclipse Neon and contains an improved Javascript validator along with other features.

First I want clarify that you should uninstall the previous version of RSAD otherwise Installation Manager will prevent you from progressing. After uninstalling you will also have to remove C:\Program Files\IBM\SDP (the location where you installed RSAD) or else Installation Manager will stop your progress. You should also keep track of any Eclipse plugins you have installed (like MercurialEclipse and TestNG) because you will probably also have to reinstall them.

After your installation your desktop shortcut might still contain "C:\Program Files\IBM\SDP\eclipse.exe" -product com.ibm.rational.rsa4ws.product.v95.ide in the Target field. I recommend changing it to v96.

In your local WAS there will be a few changes that you will need to make. For example if you are using DB2 you will probably have to modify a Websphere variable. In your WAS Administrative Console go to Enviroment->WebSphere variables. Under DB2UNIVERSAL_JDBC_DRIVER_PATH change the value from "C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.datatools.db2_2.2.200.v20150728_2354\driver" to "C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.datatools.db2_2.2.202.v20161026_1643\driver" which are the new drivers installed with this version of RSAD.

If you're running WAS 8.5 you will probably need to set your Compiler compliance level to 1.6 since it defaults to 1.8. This is unnecessary if you have IBM SDK 8 installed or are using WAS 9. You can find the setting in Preferences->Java->Compiler.

Thursday, November 3, 2016

My Experience Converting From CVS To Mercurial

At first I tried to directly convert from CVS to Mercurial using http://hg.gerg.ca/cvs2svn with the command:

./cvs2hg --encoding=cp1252 --hgrepos hgrepository /path/to/cvsrepository

but that only resulted in an empty directory.

In my next attempt I decided to convert from CVS to SVN and then from SVN to Mercurial. With that in mind, I used http://cvs2svn.tigris.org/ for the CVS to SVN portion.

I had an issue that led me to cleaning up some files in my CVS repository. This was mostly likely caused by a file being deleted in CVS and then being created again. This led to one file having two different histories. When running the CVS to SVN conversion I had to add the parameter --encoding=CP1252 due to how our source repository was encoded.

In the SVN to Mercurial conversion I used Mercurial's ConvertExtension. I also had to install Subversion's Python bindings: https://bitbucket.org/tortoisehg/thg/wiki/libsvn. After running "hg convert svnlocation" it succesfully generated a Mercurial repository with the history intact.

Going back to the original cvs2hg conversion, it turns out that what I thought was a empty directory was not in fact empty. The issue was that the OS was hiding the .hg directory from me so it actually did generate a Mercurial repository. This is good because the resulting history is better than the one I got from doing the CVS to SVN to Mercurial conversion.

From this point forward all I have left to do is pick and choose which projects I want to bring over and trim some of the branches that were carried over from the CVS repository.

Thursday, April 28, 2016

Castor and Castor Mapping

When using Castor it will parse your castor mapping xml linearly. For example if you had this class structure:
package com.sample.ixml;
public Sample {
     SubclassB sB;
}
public class SubclassB extends SuperclassA {
     String strB;
}
public class SuperclassA {
     String strA;
}  

Along with this xml castor mapping:

<class name="com.sample.ixml.Sample">
     <map-to xml="Sample" />
     <field name="sB" type="com.sample.ixml.Sample">
          <bind-xml name="SubclassB" />
     </field>
</class>
<class name="com.sample.ixml.SubclassB" extends="com.sample.ixml.SuperclassA">
     <map-to xml="SuperclassB" />
     <field name="strB" type="string">
          <bind-xml name="StrB" />
     </field>
</class>
<class name="com.sample.ixml.SuperclassA">
     <map-to xml="SuperclassA" />
     <field name="strA" type="string">
          <bind-xml name="StrA" />
     </field>
</class>

It will trigger an exception with the message "forward references are not supported". In order to fix this you have to reorder your mapping so that it looks like this:
<class name="com.sample.ixml.Sample">
     <map-to xml="Sample" />
     <field name="sB" type="com.sample.ixml.Sample">
          <bind-xml name="SubclassB" />
     </field>
</class>
<class name="com.sample.ixml.SuperclassA">
     <map-to xml="SuperclassA" />
     <field name="strA" type="string">
          <bind-xml name="StrA" />
     </field>
</class>
<class name="com.sample.ixml.SubclassB" extends="com.sample.ixml.SuperclassA">
     <map-to xml="SuperclassB" />
     <field name="strB" type="string">
          <bind-xml name="StrB" />
     </field>
</class>

Tuesday, April 19, 2016

Asynchronous script and document.write

While trying to fix an issue with script.aculo.us I discovered that document.write doesn't work with asynchronous scripts (defer="defer" or async="async" script attributes). script.aculo.us was using that function in order piggy-back load other javascript files. For example, scriptaculous.js?load=effects,dragdrop where document.write will import effects.js and dragdrop.js. Unfortunately browsers will ignore it because it's detached from the document so they don't know where to place it or when to process it. My solution was manually load the javascript files that script.aculo.us needed.

Thursday, April 14, 2016

Upgrading WebSphere Application Server To Java 7

Due to migrating from JSF Beans to CDI Beans I needed to upgrade IBM WebSphere Application Server 8.5.5.9 to run the Java 7 SDK. First you have to download IBM Rational Application Developer for WebSphere Software V9.0 Multiplatform Multilingual - IBM WebSphere SDK Java (TM) Technology Edition V7.0 for WebSphere Application Server V8.5.5 Evaluation. Next extract the files and for your installation convenience move the disk folders to WAS855JDK7.

Next open IBM Installation Manager, go to File->Preferences, and add a respository which should point to the diskTag.inf in your disk1 folder. Back in the Installation Manager main menu, click Install, check IBM WebSphere SDK Java Technology Edition (Optional), click Next. In the next screen be sure to select the package group WAS is installed in, then click Next, and Install.

Next open Rational Software Architect Designer, go to Window->Preferences, go to Server->Runtime Environments, select your WAS, click Edit, change your runtime to JRE 1.7, 64 bit. and click Finish.

Also if you have a pre-existing profile on your server, use these instructions http://www-01.ibm.com/support/docview.wss?uid=swg21671938 to migrate it from 6 to 7.

Friday, April 8, 2016

Switching JSF Implementations In Rational Software Application Designer

While testing our webpages after upgrading Rational Software Application Designer and Websphere Application Server a few problems cropped up such as broken link navigation. After comparing webpages from a WAS 8.5 localhost server and a WAS 7.0 dev server I noticed that they were generating html and java script code differently. I suspected that they were using different JSF implementations and after taking a look at each JSP and JSF options I discovered that the WAS 8.5 server was running DEFAULT (MyFaces2.0) and the WAS 7.0 server was running SunRI1.2. It was probably basing the default on our web.xml which is troubling because it means we might be attempting to run two different JSF implementations for our application. But that is an issue to be resolved another day.

Anyway, in order to fix this I used this IBM article that details instructions on how to change JSF implementations in RSAD: http://www-01.ibm.com/support/docview.wss?uid=swg21385515. The basic gist is that you need to double click your server to go to Overview and check the option "Run server with resources on Server". Then go to Enterprise Applications>"EAR project">"JSP and JSF options" and set your JSF implementation which in our case was SunRI1.2. Afterwards there will be some degree of cleaning out builds and caches. If you see issues I recommend clearing out C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\''WAS profile"\temp\"node name"\"server name"\"EAR project".

Wednesday, April 6, 2016

Instructions For Installing Rational Software Architect Designer and Websphere Application Server

Download, extract, and install the latest version of IBM Installation Manager. In this case that will be version 1.8.4.1 64-bit. If you already have an older version of Installation Manager then in all likelihood you will be forced to uninstall it because there might be conflicts. Uninstalling Installation Manager might necessitate uninstalling any IBM products that are incompatible with a newer version of the Manager. If you uninstalled RSAD (Rational Software Architect Designer) or WAS (Websphere Application Server) then you will also have to delete C:\Program Files\IBM\SDP and C:\Program Files\IBM\SDP\WebSphere and/or C:\Program Files (x86)\IBM\SDP and C:\Program Files (x86)\IBM\SDP\WebSphere in order to remove any excess files the uninstaller didn't catch.

Download and extract the latest version of IBM Rational Software Architect Designer for Websphere Software. In this case it will be 9.5.0 64-bit. Out of convenience place your disk1 and disk2 folders inside your RSA4WS_SETUP folder if you have downloaded them as zip files. That way you won't get prompted during the installation process to point to the location of disk1 and disk2.

Next open Installation Manager and go to File->Preferences. Here we want to "Add Repository..." and have it point to the location of repository.config in your RSA4WS_SETUP folder. Next we want to add a second respository and have it point to http://www.ibm.com/software/repositorymanager/com.ibm.websphere.BASE.v85 so we can download updates for our software. There will be a user name (IBM ID) and password prompt in order to download updates. In the next prompt uncheck master password.

Back in the main menu click on Install. In the next window toggle which products you want to install. In this case we will be only installing RSAD 9.5. Click Next, Next, accept the terms, and Next. In the next screen create a new package group if you don't already have one for 64-bit installations.

Click Next and Next. Now in additional to the default features we want to add some additional items to our installation. For this specific installation the easiest way to do this is to select "Architect - Minimal", "MDD for Java - Standard", and "Service Architect". Selecting the dependencies is unnecessary. The Manager will automatically include it as part of the install process. We also want to install the server tools for Websphere Application Server 8.5. You don't need to install the stub if you plan to install WAS 8.5 locally. In addition we will also be installing all of the "Code development and quality tools" and Maven Tools. Then Click Next.

Click Install. Once the installation is done we will need to apply a license. Go back to the main menu of Installation Manager. "Manage Licenses" Toggle "Import product Activation Kit" and click Next. Click on Browse and find the RSA4WS95_Lic.jar in your RSA4WS_v9.5_Activation_Kit folder. Click Next, accept the terms, and Finish.

Next we will install IBM WebSphere Application Server. Download and extract the latest version of WAS. In this case it will be 9.5.0 64-bit. Out of convenience place your disk1 and disk2 inside your WAS855 folder if you have downloaded them as zip files for the same reason we did it for the RSAD installation. Next open Installation Manager and add a new repository pointing the location of diskTag.inf in your disk1 folder.

Back in the main menu click on Install. Select IBM WebSphere Application for Developers in Installation Packages, Click Next, accept terms, and Next. Here we will check all fixes except for WinX32 (since we are installing the 64-bit version) and older fix packs that will trigger conflicts (in this case that will be IFPI56377). In this next screen create a new package group, then click Next, and Next. In Features, make sure IBM 64-bit WebSphere SDK for Java is checked, then click Next.

Once the installation is done we will configure RSAD and WAS. Open RSAD and if you are using an existing workspace you will have to go through a migration process to update them. In the Workspace Migration menu accept the default suggestions, click Next, Next, and Next.

If this is your first time you will get a prompt to create a server. If necessary, uncheck the requirement for admin name and password and accept the defaults. In your "Java EE" Perspective and go to your Servers tab. Right click on the server and in the context menu go to "Add and Remove...". Highlight your EAR project and click Add and Finish.

Otherwise in order to create a server open your "Java EE" Perspective and go to your Servers tab. In the right click context menu, go to New->Server. Select Websphere Application Server v8.5 and click Next. It will probably prompt you for the location of your JRE. Browse to C:\Program Files (x86)\IBM\WebSphere\AppServer and click Next. If necessary, uncheck the requirement for admin name and password and accept the defaults. Click Next to go to the "Add and Remove..." screen. Highlight your EAR project and click Add and Finish.

Next right click on the server and Start. Right click on server, Administration, "Run Administration Console". In here is where you will have to configure your bus, destinations, connection factory, queues, activation specifications, data source provider, and so forth. We won't go into detail on this because it is user specific and rather involved.

I want to add that if you double click on your server in the Servers tab you will open up an overview. I recommend going to your Publishing settings and toggling "Never publish automatically". It will remove a major annoyance that will often crop up while you work. Make sure to save so your changes will go into effect.

Lastly note that if you are running a application-managed enviroment you will need to run wsenhancer.bat when building your files in order to inject necessary bytebode into your JPA entities. This file can be found in C:\Program Files (x86)\IBM\WebSphere\AppServer\bin. I recommend setting it up in "External Tools Configuration" and set your Working Directory to ${workspace_loc:/"location of project"/"location of entities"}

Monday, March 21, 2016

Timestamps in EJB 3.0

While upgrading our Rational Software Architect Designer (Eclipse) several issues came up during the Workplace Migration process. One issue was related to the use of the @Temporal annotation. The issue only showed up because the version of RSAD that we were upgrading to had a more advanced validation for EJBs. Before I go into details on the problem, I want to point out this excellent article on the use of date, time, and timestamp in EJB3 JPA: http://www.developerscrappad.com/228/java/java-ee/ejb3-jpa-dealing-with-date-time-and-timestamp/

That should clear up why the following piece of code, which showed up in 66 similar instances, triggered errors:

@Temporal(TemporalType.TIMESTAMP)
private Timestamp adjrCreationDtim;

The simple solution was to remove the @Temporal annotations from Timestamp fields.

Thursday, February 4, 2016

Solution To Sequential Transaction Processing In Message Driven Beans

In a WebSphere Application Server transactions will come off the JMS queue sequentially but will be processed in parallel by having a message driven bean be instantiated for each transaction. This can cause some transactions to finish processing before other transactions that were further up in the queue. Obviously this can cause havoc if you need your transactions to be processed sequentially. The solution is to limit the number of message driven beans that can be invoked.

For WAS 7.0 enter your admin console and go to your "Activation specifications" setting under Resource/JMS. From there go to the setting page for the activation specification that corresponds to your MDB. On that page there should be a setting called "Maximum concurrent MDB invocations per endpoint" which should be set to 1 so that only one MDB can exist at a time.

Wednesday, May 13, 2009

Crossing The Finish Line

After several months of effort, the first prototype for the Devcathlon system has been completed. I am actually rather proud at what I've been able to accomplish. I've learned quite a bit this semester about Java, Wicket, CSS and even non-programming lessons like conflict resolution! Probably the most important thing I learned was how to work well with others.

Future Improvements
Here are some ways Devcathlon can be improved in the future:

For the front page the matches panel and comments panel should either be paginated or use some other way to limit the amount that is displayed. The comment panel should at least display the user who made the comment. The event panel should display the name of the event. The dates in the event panel need to use a better display format. There are too many event scores with the explanation "No explanation for this score was provided". In the future these events needed to add explanations.

I don't understand why by default a user's e-mail is in brackets in the Profile page. For the Profile Browse page there's no hint that clicking on a person's picture will link to the person's profile page. Either have the picture change when a mouse hovers over it or place the link somewhere else.

In the main Match page when clicking on a "see details" link that is located past the first page of pagination on the Matches panel it will refresh the page and set the pagination back to the first page.

When creating a team there should be an option to pick and choose who's going be on a team rather than inviting everyone who's on a project. By doing this it will avoid a user accidentally accepting an invite to a team that he doesn't belong. Also when invites are created the person creating the team should be able to make a message that describes the purpose of the team invite.

When a match is created, the person creating the match should also be able to make a message that describes the purpose of the match invite. At the moment matches can be started when all team owners accept even if there are team members who still have to accept or decline invitations. This can cause scores to be skewed. Once team creation allows the ability to choose specific team members, as I suggested in the last paragraph, matches should not start until all members of each team have accepted team membership. As for whether or not a team member can be added or removed during a match, that is a grey area.

What Doesn't Work
The "Most Team Wins" and "Most Team Points" panels in the Hall of Fame page don't work at the moment. It's understandable for all developers in "Most Developer Points" to have 0 points since there aren't any User specific Events in the system. Those types of events should be created in the future.

Outside Feedback
In order to get a fresh pair of eyes, I asked my friend Vincent who is studying abroad in Japan to give me feedback on the system. He found to UI to be too bright. It might be a good idea to have custom UI styles for different users.
He said that the front page should have a statement stating the purpose of Devcathlon. He found the Events panel on the front page to be confusing with too much redundancy. He suggested that Events should have tooltips so that when a user hovers their cursor over them they get a short description. He also suggested that the "Most Team Wins", "Most Team Points", and "Most Popular Events" panels should be condensed to top 5. At the moment it displays all the teams and all the events in the system.
He noticed that "Records & Matches" panel in the User Profile page and the Team Profile Page needed links to their corresponding match detail pages. For the "Hall of Fame" page he suggest it will look better if all the panels were the same size and that each of them should contain only 10 items.

Top Five Lessons Learned from ICS 414
  1. Communicate. With this project I realized how important it was to let everyone know what you're working on and to find out what others are working on. This doesn't stop when the meeting is over. While working on files that may affect other developer's work, it's prudent to give notice to that developer when doing so in order to prevent future conflicts.
  2. Rise up to the occasion. When you see something that needs to be done you need to have the initiative to do it without anyone telling you to. I found myself throughout this project on multiple occasions having to take on additional work in order to make sure the project reached completion.
  3. Patience. Sometimes I found it really difficult to wait for a developer to finish a component that I needed to rely on. Sometimes it was warranted and I had to take over and do it myself. Other times though the component was completed in a timely manner and I was worried over nothing.
  4. Don't assume the worse. I'm going add a caveat to this one by saying that the individuals in the peer review who I don't want to work with in the future hasn't changed. For the other individuals though I would say that over time they have improved quite a bit.
  5. Make use of each individual's skill set. Some people are good a Photoshop, others at CSS, and others at coding. The trick is to make sure that the amount of work they're given for their skill set is equivalent to others.

Monday, March 23, 2009

So It Begins...

This week was the start of real development on the Devcathlon system. We were divided up into 2 teams with my team being in charge of Matches and Scoreboard. We decided our goal for the milestone was the development some mockups. We had a meeting on Saturday where we divided up tasks. I was tasked with the Match main page and the Match's browse submenu since they were similar.

For both of those pages I created tables filled with some match info. I created Previous and Next links so that in the future a user can go through pages of matches. I implemented all the links and info in the tables in Wicket. This way I can have some idea of how I would implement additional features on the Wicket side.

Checkstyle complained about having whitespace after } when I was using for:
add(...) {
...
}.add(...);

so I made a change to it so it now looks like this:
add(...) {
...
}
.add(...);
It looks a bit more awkward and if a programmer in Eclipse used Source->Format it will revert back to the original format.

In the end I made 3 commits, added code to the org.hackystat.devcathlon.ui.page.matches.browse and org.hackystat.devcathlon.ui.page.matches packages. There must be something wrong with the sensor because even though I have spent time in Eclipse my current DevTime is N/A.

Monday, March 16, 2009

Going To The Bar

This week I had some practice working with Wicket and CSS. Specifically I was given an implementation of menu bars for Devcathlon and added improvements to it.

One of the first things I did was to add a menu along with 3 corresponding submenus. Then I implemented them into the Wicket code.





I made sure that the new menu corresponded to the body tag section-3 so that the bar will work correctly.



Then I created an additional 7 to showcase the limitations of the menu bar. At first I didn't notice anything wrong with the menu bar.



But if I reduced the browser size an issue popped up.



Clearly there was a problem in the CSS concerning browser resolution compatibility. Looking into menu.css I manage to narrow the problem down to either the subnav or content CSS code. After trying out using different positions and widths I managed to get a solution that worked.



Next in the test html files I changed h1 headers to h3 headers. This caused the submenus to misaligned. To fix this I went into the menu.css and changed the top value for the submenus from 84 px to 70 px.



The only problem that i couldn't solve was how to bold the menu item that corresponded to the currently displayed page. I couldn't figure out a Wicket solution but I did find this.

A file of the work I've done can be found here.

Sunday, March 8, 2009

Up To The Minute

This week we started development on the next group of Devcathlon events. I was tasked with creating the Don't Wait Until The Last Minute event along with John Ly. For this event we had to penalize any team that did their work at the last minute.

To get the data at first we thought about using the ProjectDailyData but it turns out it would have have taken longer to process compared to just using ProjectSensorData. Another issue I encountered was how the makeBuildData, makeCommitData, makeDevTimeData worked with timestamps. It turns out that if they were all created with the same timestamp then only one of them would actually work. So we had to go in and make sure that each time we used them they would have a unique timestamp.

The event that we created will calculate the penalty for each day of the penalty duration but it won't calculate the cumulative penalty score. There was nothing in the event description that said we had to get the cumulative penalty score, just the day by day penalty.

There's still an issue of how penalties are calculated. For this event we used the BaseScoreWeight as a positive multiplier for the penalty since there was no way to gain points in this event.

Wednesday, February 25, 2009

On Your Mark

This week we began actually programming for the Devcathlon through Starter Events. The event that I worked on involved rewarding teams who build before they commit. They would be rewarded if they build locally before committing and penalized if they didn't. There are also bonus points that occur when a team is on a build-commit streak. More info on the events can be found here.

One of the problems I faced while programming was figuring out the scoring. Eventually I figured out that BaseScoreWeight was a multiplier for the score. But that lead to another problem with the scoring: deductions. Because of the use of the multiplier, point deductions was made much difficult. I would have gone into EventScore class and add the capability to hold deduction info. That way the points computation would be made much easier. Right now, probably the only way to get deductions to work correctly is convert them into fractional deductions, which is rather awkward. My event was later changed so that I wouldn't have to worry about deduction weight but I think this is still an issue that needs resolving.

Another problem that I had was making commit data for test cases. I made a makeCommitData method in DevcathlonTestHelper class to help me out.

Another challenge I faced was trying to figure out how the sensor data type worked. This page help me greatly but I'm still a little sketchy on some of it. Eventually I found that there were 2 different sensor data types, build and commit, that I had to make into separate indexes.

I had some difficulty with getting successful test cases. I found that it was mostly issues dealing with the timestamps of the build and commit data such as timestamps that were made that weren't in the time interval I was looking for or timestamps of builds that were after commits when they should be before.

The Devcathlon program can be found here.

Wednesday, February 18, 2009

Making Sense of Hackystat

Recently I started working with the Hackystat API. The goal was to learn how to retrieve sensor data from Hackystat and make use of that data. I spent some time watching a screencast for Hackystat which can be found here. One obstacle that I had was in figuring out how to retrieve data from a user. From watching the screencast I learned how to retrieve data from a specific project but not. By looking at the JavaDoc it didn't take me long to find the getSensorDataIndexLastMod method that fitted my need.

I also had to create another program to make use of sensor data by finding out the day of the month that had the most sensor data. To go through the days of the month at first I used a for loop but later I realized a while loop would be preferable because there were different number of days for each month.

I found the screencast to be very informative and helpful as I went along with my programming. I wouldn't mind having a mix of screencasting and supplemental notes.

The results of my work can be found here.

Monday, February 9, 2009

Devcathlon UI Recommendation

For my recommendation for the UI of Devcathlon I will use Mockup 5 as a base. If the Inbox is implemented I would add it to the home page. The Inbox will either be connected to an internal mail system or be linked to an offsite mail system.

For the My Profile I would use the layout of Mockup 4 but remove the sidebar with the Inbox and Actions. I would switch the My Teams table with the one in Mockup 5. I would also add the About Me box from Mockup 5. To be honest none of the leveling systems appeal to me. My idea for a leveling system is based on how much points a player earns through matches and events. I would like the rankings to be related to computer culture such as Hacker and Cyber Punk to match the theme of the Devcathlon. Information on how the system works can be found in the FAQ.

For the Achievement page I want to use the color scheme and layout from Mockup 6. I would prefer if the icons were bigger while the small version of those icons can be used on the gamer card.

For a details on a single match I want to use the page from Mockup 4 but I would add Recent Points and Recent Activities from Mockup 5 and 6.

Mockup 6 Review

Along with the other recent mockups, Mockup 6 doesn't change much from the design of Mockup 2. The registration page, password recovery page, and create team page should have been removed due to integration with Hackystat. Same goes with being able to change email and password.

The leveling system might be difficult for those with little knowledge of the military to understand. Also I seriously doubt it's possible to create 120 achievements that is needed to hit the highest levels. Like the other mockups, the information on how the leveling works should be found in the FAQ.

There should be a link to the Achievement page on the drop down menu. Some of the new achievements that they added are questionable. For example I don't think someone should be reward for being a slacker.

Like the other mockups, the team profile page still needs an example of what it will look like with more than 1 project.

The My Matches page allows some info at a glance on a match. Still the amount of information should be reduced assuming there will be a large number of matches. Also like the other mockups, there are 2 link to My Matches in the drop down menu.

One of their strong features is standardizing achievement icons and improving the color scheme for them. Having information at a glance for My Matches is useful but one has to be careful not to go overboard. Some weaker points include some questionable achievements. It will be difficult to figure out someone's level at a glance using their leveling system. Also the number of badges needed to level should definitely be brought down.

Mockup 5 Review

Mockup 5 doesn't change much from Mockup 2. The only real difference is some slight changes in layout and addition of pages. Also pages were removed due to the expected tight integration with Hackystat.

The My Profile needs to be better laid out. The tables are arranged awkwardly. There are tables that are misaligned and there is empty white space on the page where the tables could fill up. Information on the leveling system should be in the FAQ. It's slightly difficult to figure out that Level and Rank link to that information.

On the Achievement page the icons need to standardized. Right now they are different sizes and shapes making them difficult to use them for the gamer card. There also needs to be better achievement point distributions. Not all the achievements should have the same amount of points. The color scheme for achieved and unattained should probably use some work.

The team profile needs to show an example with more than 1 project. It's also a little awkward for the match details to be in both the team profile page and the match page. The details should probably be dropped from the team profile page leaving only a link to a match details page.

At the end of the My Matches page there is the text (see entire match list). That will probably be used to show/hide additional matches. Maybe if there are too much matches to be displayed a page system could be implemented that allows a user to browse through pages of matches. This can also be applied to other areas of the site that has too much info being listed. There are 2 redundant links to My Matches in the drop down menu.

One of the stronger feature of this build is the inclusion of personal info in the profile page. The My Matches page is nicely set up but there might be issues further down the road. The leveling system is easy to understand although there appears to be an number error between senior and graduate. One of the weaker parts of this mockup is the layout in the profile page. The location of match details need to be resolved. Also there needs to be more info for matches such as in mymatches3.html.

Mockup 4 Review

Like the other mockups in this review roundup, Mockup 4 doesn't stray too far from the design of Mockup 2. Due to the assumed tight integration with Hackystat, the registration page and password recovery page should have probably been removed. The same goes for the create team page since team data can be pulled from Hackystat. Being able to change email and password in the Edit My Profile page should be removed for the same reason.

On the My Profile page in the gamer card Chimp should have been the rank and the level should have been a number. There also needs to be more information on how the leveling works and a link to that information should be in the FAQ. In my opinion the only time that a Show/Hide scheme should be used is when data is cluttering up the page. For example rather than using Show/Hide for My Teams on the My Profile page it should have instead been used for My Comments. If a sidebar for Inbox and Action is used, it calls into question what will be on the Home Page since both of them share much of the same function. It probably should be either one or the other and not both. The My Teams table shows only 1 project even though a team can easily have more than 1.

A link to the Achievements page should be in the dropdown menu. I disagree with their approach of having uncompleted achievements be hidden. It would either drive a player insane trying to figure out how to complete them or diminish the role of achievements to such an extent that players will barely know they exist.

On the Team profile page I want to see how it would look if a team was working on more than 1 project. In such a situation a show/hide for the project description or a link to another page with the project description would be a good idea. There should be a link from a team member's name to his profile. They could also add some sort of banner to the team page.

On the My Matches page a link to the corresponding team page should be in there. The capability to show/hide the number of points each member earned for each event is a good idea. It prevents the stats from cluttering the page. There are 2 links to My Matches in the drop down menu. One of them should be removed.

The Gallery page is another place where either show/hide or a link to another page describing the match should be implemented. In the Hall of Fame a link should be made to the corresponding profile pages.

The strongest feature of this mockup is the implementation of show/hide. The Inbox is a interesting feature and the messages could be located on site or point to another location. The sidebar for it along with Actions might be useful. The weakest part of this mockup is redundant links. Another weakness are links that should exist but don't. Their achievement implementation also has issues.

Wednesday, February 4, 2009

Mockup: Take 2

In the second round of creating mockups we were tasked with expanding on ideas inspired from the previous mockup.

I added some additions to achievements such as comparisons, added some flavor text to the profile. In a way I think we would have done something differently if we started from scratch. Much of our work was based on the previous mockup.

In my opinion it's easier to make up an achievement than it is to make up an event. With events one has to consider how that event will help the development of the software. With achievements it's a bit more fun thinking up of interesting accomplishments that a person might want to achieve. This is probably a good reason why a player's level should be based on only one of these attributes and not both.

Here is a link to my group's mockup.