Your Ad Here

Thursday, February 26, 2009

Resource comparison

Here is what I am working on.

I need to implement a resource pool that will contain information about physical machines, VMware images, and Network resources (switch, router).

I created an interface called Resource which has a provision method. Provision is unimportant at this time. There is then another class that implements Resource called ResourceImpl. This is an Abstract class that implements a method for comparing attributes, a HashMap of attributes, and of course setters/getters for attributes. There is finally a few concrete class called DracResource and EsxResource that extend ResourceImpl. They currently have no methods other then provision which at this time does nothing. All the Object get instantiated using Spring injection.

Here is my question.

A scheduler is going to request a resource. It will say something like I need a DracResource with the following attributes. It may not be a complete 1-to-1 mapping. It could be that the attributes they are looking for are just a specific CPU chipset(performance testing).

I originally overrode the equals method to make the comparison, but one of my co-workers said that wasn't right because equals is suppose to be well equal and I understand the whole transitive, symmetrical and reflexive part of it, so I said well I can change the name of the method to something like match or compare. This didn't seem to sit will with him either.

He suggested I create another interface that is specifically for comparing Objects, and that the resource manager calls this set of classes to do the comparing. To me it seems like a lot of additional overhead.

Any thoughts to my ramblings?

Thanks,

Read More...
Your Ad Here

10 Steps To The Perfect Portfolio Website


by Lee Munroe


You may have a personal portfolio website for a number of reasons. If you�re a freelancer, then you’d need one to showcase your work and allow people to contact you. If you�re a student (or unemployed), then you’d need one to show prospective employers how good you are and what you can do, so that they might hire you. If you�re part of a studio, then you might use one to blog about your design life, show people what you�re doing and build your online presence.


A personal portfolio website is all about promoting you. You are a brand, and your name is a brand name. No one is going to know about your brand unless you get it out there; and if you�re a Web designer, developer, writer, gamer or any other type of creative, then it�s essential that you have a good portfolio website.


You may want to take a look at the following related articles:



What makes for a good personal portfolio website?


1. Logo


Your logo is usually the first thing a user sees. In the Western world, we read from left to right, top to bottom, so it makes sense to put your logo in the top left of your website so that users can immediately identify who owns the website.


It doesn�t necessarily have to be your name, but if you�re trying to promote yourself online, then it�s a good idea to go by your name. And always link your logo to your home page. It�s a common convention that users expect online.



Mohit goes by the alias of CSS Jockey.



Jason Reed uses a signature-style logo of his name.


2. Tagline


Once the user sees who owns the website, they�ll want to know what it is you do. This is where you explain what you do with a tagline. Your tagline should be short and snappy, summarizing what you do.


Things to ask yourself when writing your tagline:



  • What are you? A designer? A writer? A developer?

  • What do you do? Design websites? Develop games?

  • Where are you from? Country? City?

  • Are you a freelancer or do you work for a studio? Are you looking for work?


tag2.jpg


Sarah Longnecker makes it clear that she puts together videos and is good at it.


3. Portfolio


This is a personal portfolio website after all, so your portfolio will determine whether the website is interesting or not. People will want to see your previous work to decide whether you�re good or not and for general interest, to see what you�ve been up to in the past.


Depending on what you do, your portfolio should contain big high-quality images, clearly accessible to the user. Always include a link to the live version of the website you worked on, and link your screenshot to the live version (another common convention that people expect). Include a short description for each project, including the different skills that you needed to complete the project.


It�s never a bad idea to get a testimonial from a client. Your visitors might also be interested in the stages of development for your projects and how you arrived at the final outcome.



Leigh Taylor displays nice clear screenshots of previous work and indicates what software was used during development.


4. Services


Your tagline summed up what you do, but you�ll want to go into a bit more detail here about each service that you offer. You can�t expect potential clients to guess what you do based on your portfolio, and you don�t want to leave them wondering whether you offer a particular service or not.


Make it clear, and break it down: Web design, development, video, copywriting, branding, etc. You may want to be even more specific: corporate branding, church website design, Flash banner ads and so on.



Chris Spooner clearly indicates the services he offers for both print and Web.


5. About me


It�s all about you. Let people see the man or woman behind the mask (i.e. website). Share your background, where you came from, how many years you’ve been in the business, etc. The more details you give, the better your users can form a bond and build trust with you.


If you�re not camera-shy, show a picture of yourself. This will give potential clients peace of mind by allowing them to see who they�re dealing with, and it adds an element of trust.


Don�t be afraid to show off your awards and recognition here. You want people to know you�re good at what you do.



Chikezie Ejiasi shows us a photo of himself and even lets us know how to pronounce his name.


6. Contact


This is one of the most important elements of a portfolio website but is often hidden or even neglected. A potential client has browsed your website, is impressed with your portfolio and can see who you are. Now they want to hire you.


Your contact information should be obvious and easy to access; don�t hide it in the footer. Let people know they can contact you for a quote or a chat. Use a form to make it easier for users to contact you (so that they don�t have to take down your email address and then open up their email manager). A form also allows you to ask for specific information, such as name, email address, website URL, details of inquiry.



Stuart Johnston offers clear contact details throughout his website but also provides an easy-to-use contact form.


7. Blog


A blog is always a good idea. Blog about your area of expertise; show you know what you�re talking about. It will help promote you and prevent your website from lying static.


Let people follow you by subscribing to an RSS feed, and show off your most popular blog posts to new readers.


Be sure to enable comments for feedback. Don�t make users register to add a comment to your blog, and don�t use anti-spam Captcha software, which only turns people off from commenting. There are plenty of anti-spam plug-ins available that don�t require users to do extra work.



Chris Wallace uses his blog about Web design-related topics to help out other people in the industry and to engage in discussion.


8. Call to action


Ask yourself what you want to get out of your personal portfolio website. Do you want to be hired? Attract more blog readers? Maybe you just want people to know who you are.


Each page should have a call to action, a “Next step.” The best way to accomplish this is with a “call to action” button that is clear and stands out from the rest of the page. Link it to your blog, portfolio or contact page, and use appropriate language (e.g. “Hire me,” “Request a quote,” “View my portfolio”).



Matthew Brown�s call to action is a contrasting button that stands out from the rest of the website.


9. Use social networking websites


Now that people have an interest in you and your work, encourage them to follow you on other websites. Make it clear that they can follow you on Twitter, Facebook, Flickr, LinkedIn, etc. Make the most of social networks and have a group of friends to call on if needed.



Sam Brown offers clear links to other websites he uses, allowing us to stalk him.


10. Language and communication


How you conduct yourself is important. Remember, it�s a personal portfolio website, so be personal. You don�t need to sound like a corporate brand with no emotion. Be friendly and personal, but also clear and precise; don�t ramble. Once you write all the text for your website, read it again and see if you can cut it in half.



Marius Roosendaal uses a relaxed and friendly tone on his website.


Other tips:



  • Let people know where you�re from. This is always interesting to know, and some clients prefer to work with people nearby or in the same time zone.

  • Validation is important, especially for Web designers. If you�re going to be building professional websites for clients, then your own website’s code should at least be valid.

  • Link images, not just text. Most people will click on images, expecting them to point somewhere.

  • If you don�t have any previous clients for your portfolio, create a WordPress theme, design an icon set, develop a Twitter mashup, etc. You have a lot of possibilities, and there�s a big difference between having one project to show in your portfolio and having none.


40+ beautiful personal portfolio websites


Robbie Manson


Screenshot


F. Claire Scroggins


Screenshot


Timothy van Sas


Screenshot


Ole Martin Kristiansen


Screenshot


Maru Vel�zquez


Screenshot


Chikezie Ejiasi


Screenshot


Miki Mottes (Flash)


Screenshot


Jakub Krcmar


Screenshot


Mopa


Screenshot


Chris J. Lee


Screenshot


Pedro Lamin


Screenshot


Cartonblanc (Flash)


Screenshot


Leigh Taylor


Screenshot


Alex Coleman


Alex Coleman


Sarah Longnecker


Sarah Longnecker


Toby Powell


Toby Powell


Jay Hafling


Jay Hafling


Elliot Jay Stocks


Elliot


Tony Geer


Tony Greer


Marius Roosendaal


Marius Roosendaal


Ryan O�Rourke


Ryan O'Rourke


<img /> is everything (Phil Thompson)


Img Is Everything


Leigh Taylor


Leigh Taylor


Design Me (Marek Levak)


Design Me


Matt Dempsey


Matt Dempsey


Brad Candullo


Brad Candullo


Andre Augusto


Andre Augusto


Rob Hawkes


Rob Hawkes


Magnus Jepson


Magnus Jepson


Corking Design (Daniel Cork)


Corking Design


Evan Eckard


Evan Eckard


Alexandru Cohaniuc


Alexandru Cohaniuc


Miles Dowsett


Miles Dowsett


Andrew Bradshaw


Andrew Bradshaw


Shannon Moeller


Shannon Moeller


Vitor Louranco


Vitor Louranco


Mark Dearman


Mark Dearman


Wong Yeng Kit


Wong Yeng Kit


Chris Wallace


Chris Wallace


Spoon Graphics (Chris Spooner)


Spoon Graphics


Fabiano Meneghetti


Fabiano Meneghetti


Mark Wallis


Mark Wallis


Chris Morris


Chris Morris


Paiko (Heiko Br�mmelstrote)


Paiko


Conan Robbins


Conan Robbins


Henry Jones


Henry Jones


Winnie Lim


Winnie Lim


Greg One (Gregoire Hoin)


Greg One


Mark Hadley


Mark Hadley


David Appleyard


David Appleyard


Design Moves Me (Roy Vergara)


Design Moves Me


Brian Murchison


Brian Murchison


Mike Precious


Mike Precious


Digital Deceptions (Duncan)


Digital Deceptions


Chirag Solanki


Chirag Solanki


Jason Reed


Jason Reed


Johnston North (Stuart Johnston)


Johnston North


Penflare Designs (Sean Farrell)


Penflare Designs


Nine Lion (Chikezie Ejiasi)


Nine Lion Design


Brian Wilkins


Brian Wilkins


Jason Santa Maria


Jason Santa Maria


David Hellmann


David Hellmann


Guillaume Pacheco


Guillaume Pacheco


Dave Lam


Dave Lam


Luke Stevens


Luke Stevens


James Lai


James Lai


Alessandro Cavallo


Allesandro Cavallo


CSS Jockey (Mohit)


CSS Jockey


Kerry Nehil


Kerry Nehil


Darren Hoyt


Darren Hoyt


Matthew Brown


Matthew Brown


Digital Mash (Rob Morris)


Digital Mash


The Things We Make (Mike Kus)


The Things We Make


Ed Merritt


Ed Merritt


What do you expect to see on a good personal portfolio website?


Anything important we�ve missed? What would make the difference between your deciding to hire someone and deciding against it?


Further reading:



About the author


Lee Munroe is a freelance web designer from Belfast. You can see his other writings on web design on his blog, or follow him on Twitter.


(al)







� Lee Munroe for Smashing Magazine, 2009. |
Permalink |
51 comments |
Add to del.icio.us | Digg this | Stumble on StumbleUpon! | Submit to Reddit | Submit to Facebook | Who is linking? | Forum Smashing Magazine



Post tags: , ,





Read More...
Your Ad Here