My New Personal Website

Coding Critique is the place to post source code for peer review by other members of DevNetwork. Any kind of code can be posted. Code posted does not have to be limited to PHP. All members are invited to contribute constructive criticism with the goal of improving the code. Posted code should include some background information about it and what areas you specifically would like help with.

Popular code excerpts may be moved to "Code Snippets" by the moderators.

Moderator: General Moderators

User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: My New Personal Website

Post by Jonah Bron »

I see. Many thanks for the experienced advice.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: My New Personal Website

Post by josh »

Yeah thats my in the avatar. lol It feels like yesterday I was in your shoes, enjoy it kid. You'll be something good.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: My New Personal Website

Post by Jonah Bron »

Thanks for the encouragement. :)
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: My New Personal Website

Post by Jade »

The best part is when you're under age you can't be held to contract laws. There's always the jerk-offs who can't communicate their needs and get upset when you can't give them the $10,000 customized software they envision in their heads ("can't you just figure out what it's supposed to do for me ?") yet only want to pay you $100 bucks for it :lol:
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: My New Personal Website

Post by Jonah Bron »

Ha, yeah.

It goes the other way too, though. I found that out once already :cry:
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: My New Personal Website

Post by Jade »

Yeah, unfortunately there's no way to avoid the short end of the stick... and then you'll turn 18 and you'll ALWAYS end up with the short end of the stick no matter how much you're paying lawyers for checking contracts and terms of service :x
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

Re: My New Personal Website

Post by jraede »

Agreed - I'm 22 as well and have been doing this for 3 years. I think typically older business-type people come to expect that younger guys know how to do this anyway, so I haven't really had an issue. But yeah, no need to tell your age up front. Just your experience.

Back to the site though - looks good man. I'm digging how you're making use of the mootools animations. Are you pulling those pages via AJAX?

Also, I'm interested in your remark on how to avoid spambots without a CAPTCHA - how does that work?
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: My New Personal Website

Post by Jonah Bron »

Yup, Ajax.

The Captchaless spambot filtering is based on several tricky ways to guess if the browser is a human or not. First, if the user has javascript on, you know 99.9999999% that the user is a real person on a real browser. That catches about 86% of all people. For the other fraction of the population that doesn't have javascript enabled, it uses a honeypot, and an authentication hash in a session and passed via get (this makes sure the person loaded the form and submitted from there, not just sending POST data to the submission page.

I had to do some reading up before figuring these out. Here are some links:

http://articles.sitepoint.com/article/c ... ternatives
http://www.sitepoint.com/blogs/2009/05/ ... ernatives/

A google for "captcha alternatives" will get you plenty of stuff too.

P.S. did you click on the center of the logo on the home page?
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: My New Personal Website

Post by McInfo »

You may be aware of this, but there is a small usability issue when a user opens any of the main navigation links, except Blog, in a new window. If JavaScript is enabled, the user is redirected to the index page in its initial state rather than with the desired page embedded. If JavaScript is disabled, the user sees the desired page, but minus the stylesheet and navigation links.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: My New Personal Website

Post by Jonah Bron »

Thanks for pointing that out. It's fixed now. There is a Javascript redirect in each page so that if the user has Javascript enabled and follows a link to a non-javascript page, he goes right back over to the fancy version. I just had to add the hashes to the end of the redirects (#contact, etc).
Post Reply