-
12 Principles For Keeping Your Code Clean (388)
on
Smashing Magazine (4221) permalink
by Chris Coyier Beautiful HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house is only as strong as its foundation, right? The advantages of clean, semantic HTML are many, yet so many websites suffer from poorly written markup. Let’s take a look at some poorly written HTML, discuss its problems, and ...Shared by 三更灯火 (38) 胡戈戈 (25) Aaron (21) Aaron B. Hockley (18) Adam Donkus (98) Adam Dorfman (183) Adam R. (132) Ade Bradshaw (31) aemkei (69) AJ Batac (454) Akhmad Fathonih (70) Alex Dumitru (1912) Alexandre Gamela (95) Alexandre Gauvrit (55) Alexandre Rocco (68) Altuğ Orgun (39) Amit Chowdhry (1178) AmyVernon (4692) anddoutoi (38) Anders Y (3) André Elias (118) Andrew (44) Andrew Cafourek (25) Andrew Hughes (365) Andrew Landry (8) andrewcsfan (136) Andy (38) Andy (119) ani625 (550) Archit (32) Arijit Das (517) Arley McBlain (116) Arnopeck (33) asblogger (97) Ashish Bogawat (35) Ashwin (45) Au Yong Chee Meng (8) Austin (16) avianto (13) Azeem (198) B. Ackles (13) Bali (236) Barış Ünver (17) bbbush (381) Benjamin (29) Benjamin J. Gilbert (13) Beth (68) Bill Welense (147) bittin (640) blackbelt (31) Brad Smith (60) brandon (14) Brandon Quintana (30) brownpau (156) Bruce (52) Bruno (21) Caleb Brown (79) calzonzote (13) Cameron Yeager (129) Carl (21) Carl Mercier (18) Carlos Rodriguez (26) Carlos Villela (93) castig (28) Cesar Noel Quinon (126) Chad (396) Chaitanya Purandare (33) charris1980 (79) Chris (248) Chris Coyier (68) Chris Lee (4) Chris Loft (8) Chris Stamas (64) Chuck Reynolds (85) CHVNX (111) Cory ODonnell (43) Craig Bovis (85) Cubby Brendle (102) Cvent (26) D. Táboas (30) d0ngd0ng (45) d1g1t (546) Dan (66) Dan Harper (239) Dani Martínez (27) Dani McDaniel (176) Daniel (1) Daniel Ferraz (4) Daniel Wittberger (33) Danielle (106) Danilo (6) Danny Korpan (118) Darryl Kanouse (7) Daughter of Hell (38) David Blankenship (12) David.R.Gilson (37) Davide (33) Dean Burge (92) Dennis Leung (18) Dextro (17) diego (386) dingyi (103) DivemasterDoug (137) dobata (391) Dom (100) Dominic Foster (1442) dominik (21) Donald Jenkins (65) Dre (107) Drew (38) Dudu P (73) dwk (8) eax (25) Edward Becker (18) Eli Foner (403) eranda (325) Eric Miltsch (40) est (135) etng (330) Eugene (98) Fabien (41) fatgy (16) Fatih (84) Filippo (31) Firas (37) fly (13) Fred (30) fseixas (81) fukid (16) FX Poster (19) GaB (14) Ghosthead (799) Gina (18) Giorgio Cardellini (4) gisc (142) Grace Smith (67) graywolf (108) Gregor (66) Guillermo (41) guy (1654) Haidong (48) Harish R (44) Hikari (7) hitors (26) housne (92) Hugo Neves da Silva (8) Ibrahim Cesar (159) IIssNan (31) ImJustCreative (155) Jacob (60) Jade Robbins (39) jalam1001 (388) jalbert (277) James (11) James Carlos (73) James Simm (24) Jan Kraus (8) Jannik (20) Jason (128) Jason (21) Jason (63) Jason Joo (165) Jason Kingery (97) Jason L (46) Jay Bandoy (213) Jay Gerland (38) jayess (37) jccamus (63) Jeff Rivers (39) Jeremiah Hester (129) Jeremy (55) Jeremy (16) Jeremy (32) Jerm (11) Jesper Lind (134) Jesse Rodgers (32) jest (187) jflint (14) Jia Mi (33) JiM (616) Jim Myers (12) JJ.Ying (29) jmlane (25) JMO (89) Joe R (1347) Johan Mickelin (16) John (44) John (9) John Munro (158) jon|k (114) Jonas Follesø (42) Joost van Velzen (17) José Carlos (21) Jose Frechín (113) Joseph (22) Joseph Rodgers (159) Josh (133) junal (69) Jure (49) Justin Laramée (56) kamandal (1489) Karol F (210) karthiik (64) Kelli (4) kelly (5) kenmat (156) Keshav Khera (173) kevan (101) Kevin (77) Kevin McAfee (22) kiirpi (40) Kirb (88) Klaudin (51) Konstantinos Foutzopoulos (109) Kristian Salonen (267) kyle Steed (34) Lan (84) LaurenMarie (33) Leandro Ardissone (98) Leximo (355) Leyla Bonilla (117) Lisa McMillan (65) Liz (9) Lon (34) loranger (8) LouCypher (241) lovemorgul (1544) luc (45) Luckystrik3 (122) Luiz Lopes (20) Lujo (21) Lynn Wallenstein (68) Mahesh CR (37) Mancho (50) Mani Karthik (381) Manu (11) Manuel `EndelWar` Dalla Lana (25) marchbox (49) Marcus Puchmayer (42) Marcus Sá (71) Mark Koberlein (78) Mark Trapp (266) Markus (53) Martin (49) Marvin (14) Matt (44) MaTT (47) Matt L. (120) Matthew Dewey (416) Maxim (21) Megan (26) Melvin Nez (50) miasarmento (394) Michael Mior (437) Michael Rose (26) Mike (55) Mike Scott (26) Mitsi McKee (27) motionblur studios (81) Mr. BabyMan (2308) mr.petruccio (67) MrGuff (393) ne0d1n (22) neagrigore (69) nervioso (386) netklon_2008 (53) netman (210) Nick Valentino (7) Nicki (299) nico (16) Nigel James (87) Nima (131) Norman Dwyer (70) novo (139) Page (49) Patty (84) paulo (180) Peli (66) Peter Norris (17) Pramod (259) Pranav (133) prsm (131) ptamaro (21) ptfree (70) Rachael (52) Ramazan AYYILDIZ (71) Rami Taibah (1244) raQuiam (16) Rastariza (348) raulillana (39) Reder (85) Rene Rattur (120) richard (65) Richard Derham (15) Richie Rump (113) Rick Jessup (93) Roamlog Lee (61) Rob Domanski (12) Rob Wilkerson (20) robdiana (542) Robert Accettura (121) Robert Dempsey (38) robert steburg (131) Romey (143) Rommel C. Caibal (34) Ron (42) rony john (2270) Rowan Corbett (14) Ryan Christensen (99) Ryan Grier (113) RyanGessner (5) Sagar Satapathy (499) Sai Gudigundla (94) SalehCoder (29) Sam Dodge (128) Satya (64) scaredda (105) Scott Orwig (69) Seiyed Yousef Moniri (158) Seth (35) Shahriar (10) Shane (154) Shankar Ganesh (131) Shaun (32) Shine (223) sink (56) SoulSoup (33) Søren Hugger Møller (70) Srinidhi Venkatesh (89) Stacey B. (153) Stefan (90) Stefan Gehrig (54) Steven Elliott (43) Steven Thomas (38) StevenMcD (22) Stuck (19) supirole (102) sushi (144) Tal Siach (1699) Talent (268) Tan Kahong (12) Ted (62) Terry Allison (25) Terry Kuny (10) thomd (23) thr33 (74) Tiago Celestino (181) tim (191) Tjeerd Jan van der Molen (31) Tobias Steinicke (45) Tom (9) Tom (58) Tom Borvan (9) toru otsubo (106) Trav1sty (89) Travis (35) Tsudohnimh (80) TwisterMc (35) Tyson Williams (488) Umakanth (22) Uzair (63) VampireNeo (89) Vera (4) Vincent Battaglia (11) Vipul Limbachiha (244) Wayne (288) Wayne (293) Wes Baker (25) Wes Hoogenboom (25) West (30) WhoPig (6) Will Colley (19) William Cui (40) William He (92) wizardElite (53) woofeR (16) wyclif (64) Wyn Lim (59) xero (131) Yatin Vadhia (2389) Zak M. (3196) ZaMoose (147) Zaw Win Tun (45) zemote (32) zeropaper (5) Zoram (116) zsamir (46) 无所谓 (15)Explore read 10 notes- Wayne said: I totally agree with the divitis statement.
- Brad Smith said: Great advice. Most of these are things we've thought of one time or another, so this is a great reminder.
- Ted said: Love the comment font - anybody know what it is?
- junal said: Yet another useful article on Clean coding practice.
- raQuiam said: Nice article
- Craig Bovis said: Couldn't agree more with all the points here except #1. Do not serve as strict. You can't unless the mime type of the document you are serving is XML. This doesn't work in Internet Explorer so we can't do this yet!
- Chad said: @Dre: I thought the same thing. HTML/CSS is not code.
- wyclif said: Thank you for sharing this, Paulo!
- Dre said: I guess I can see why if it's for work. Blech. I hate HTML
- Mahesh CR said: Clean HTML..very good.
Contribute comment -
Prototyping with XHTML - Boxes and Arrows: The design behind the design (133)
on
Boxes and Arrows (118) permalink
Illustrations by Leah BuleyIf you design user experiences for standards-based websites and applications (i.e. those built with XHTML, CSS, and JavaScript), there are several great reasons for adding XHTML prototyping to your UX tool kit. Perhaps you’ve found that traditional wireframes just aren’t sufficient and are looking for more powerful ways to explore and communicate design solutions. Perhaps your current practice is based on the traditional waterfall model (i.e. first creating wireframes, which are handed ...Shared by -will work for art- (33) 24typo (11) abduzeedo (265) adang001 (60) adrian cuthbert (6) aemkei (69) Åke Järvklo (8) Alen3000 (55) altblue (38) Andrew Smith (91) Armand du Plessis (10) avianto (13) Bernardo Carvalho (67) Bob (2) Bruce (52) carlos rouse (3) Cem (32) CesarS (97) Christian Reinhard (10) Chronicole (33) Craig Saila (12) Dan Esparza (24) Dan Harrelson (12) Dani McDaniel (176) Dave (47) Dave Cheong (64) David Heggie (5) daviderapetti (4) Dean Burge (92) dobata (391) Douglas Schultz (29) e.p.c. (38) Eran Ben Sabat (6) Federico Fasce (33) Flexdaddy (46) Grace Smith (67) halans (57) Hidde De Vries (7) Ian (17) iuri (61) Ivan Frantar (0) Jack Littleton (88) jalbert (277) James Yu (6) Janne Toivoniemi (9) Jason Dettbarn (19) Jason Pryslak (47) Jeppe Kruse (8) Jeremy (16) Jeroen (23) Jim Simpson (18) John (60) John Sutherland (32) Jonah Langenbeck (8) Josh Orum (11) Juan Sanchez (7) Juras Vetrau (160) Jure (49) Jurgen (3) Kai Chan Vong (15) kevan (101) Kyle Keller (20) Laura Dantonio (72) Lim Chee Aun (19) Made By Many (12) Marc Ashwell (52) Marcus Gadbem (12) Mark (24) Marko Mrdjenovič (4) Martin Polley (15) Matt (33) Matt (23) Matt Mueller (46) Mich D (411) Miguel Benevides (151) mirko (45) mwilliams (44) Natan (10) netlash (37) Nick Cairns (7) Nick Dominguez (22) Nick Sergeant (24) pablo (7) pablo (98) Pål Degerstrøm (114) pericles (479) Peter Warnock (50) Picky Eater (33) pierre pracht (43) Pramod (259) proee (11) Rebecca (6) redeye (37) relaxedg (90) Renato Albano (5) Richard Morrell (269) Rizky (38) Rlog (4) Robert (6) Rodzvilla (43) rui ramos (17) Sarven Capadisli (79) Scott Kiekbusch (11) Scott Reston (74) Scott Stawarz (59) Sean Landry (8) Sean Landry (10) Sido (8) Simon (96) stefan (98) Stefano (25) Stelios (42) Stephen Hood (28) Steve Webster (12) Sven (10) syncopate (10) tabito (226) tewfiq (133) thomd (23) tiffanywantstogosomewhere (88) Tim (34) Tim Malbon (13) Tommy Sundström (27) Tracy Ruggles (5) Victor Ng (19) Victor Tolbert (10) Vince Maniago (78) Widescreen (28) xdamman (22) yasuhiro nishioka (128) Yasuhisa (37) Yohan Launay - ConceptSL (271) Zoram (116)Explore read four notes- Sarven Capadisli said: http://boxesandarrows.com/view/prototyping-with#content_30937
- John said: Great into/tutorial and interesting blog, another for GReader, thanks Mark for sharing :)
- Alen3000 said: am putea incerca si proto asa pt. frontend :)
- Andrew Smith said: This is my preferred method of prototyping websites.
Contribute comment -
Coding Horror: The Problem With URLs (67)
on
Coding Horror (764) permalink
URLs are simple things. Or so you'd think. Let's say you wanted to detect an URL in a block of text and convert it into a bona fide hyperlink. No problem, right? Visit my website at http://www.exampl..., it's awesome! To locate the URL in the above text, a simple regular expression should suffice -- we'll look for a string at a word boundary beginning with http:// , followed by one or more non-space characters: \bhttp://[^\s]+ ...Shared by abhi (29) AJ Batac (454) alexandru (77) Arif (27) Arvin (61) atomantic (17) Barb (112) Barry Frost (9) blankyao (81) Bramha (25) Brenden (18) Cade (221) Compuwizard123 (211) Craig M Oliver (21) Crutis (179) Dan MacTough (4) David (26) David Feng (241) David Schmidt (6) deizel. (15) Denis (55) Dr. Azrael Tod (239) Eric Schoonover (113) EricAppel (19) focoma (63) Guillermo Esteves (35) i80and (48) Jeff (126) Jeremy (16) jerobins (58) Jesper Lind (134) John Harnett (0) Justin Yost (348) Kareem (23) kenmat (156) Lee Brink (35) LouCypher (241) mattblodgett (20) Michael Nielsen (96) mike3k (179) Morton Fox (324) mucit (5) Myles Braithwaite (20) Nikki (262) pereticnr1 (80) Podcast Mike (22) Pramod (259) Razzu (70) Rene Cunningham (232) Rey (173) robdiana (542) Roberto Bonini (82) Ron (115) Ryan W (40) Sang-Kil Park (38) sryo (188) Tim (267) TiTi (292) Toby (91) Tom (13) Tom (58) Varun (74) Vish (59) WindPower (211) xrx (224) yapi (18) Yuvi (101)Explore read four notes- jerobins said: the classic: just because you can doesn't mean you should
- Tom said: because i KNOW YOU ALL ARE BUSY, here's the most important part:Avoid using parens (or any unusual characters, for that matter) in URLs you create. They're annoying to use, and rarely handled correctly by auto-linking code.
- Vish said: I learn something new with every blogpost from Jeff Atwood. They are Practical and highly knowledgible.Btw Jeff, your regular expression doesn't seem to identify https URLs :-)
- i80and said: Fact: URLs are evil. But it seems like here a relatively simple parenthesis matching system would work fine.
Contribute comment -
Wall-E robot from Wall-E toy (8)
on
MAKE Magazine (3406) permalink
This enterprising fellow turned a lifeless Wall-E toy into an actual Wall-E robot. He's written an Instructable documenting the process. I like the boneyard of Roomba parts in the second half of the video. Build an autonomous Wall-E Robot Read more | Permalink | Comments | Read more articles in Robotics | Digg this!- Jeremy said: Awesome: I want the same!
Contribute comment -
Cheat Sheets for Front-end Web Developers - Six Revisions (8)
on
Six Revisions (1762) permalink
Shared 17 times Tagged Resources (83) Cheat sheets are helpful to have around because they allow you to quickly remember code syntax and see related concepts visually. Additionally, they’re nice decorative pieces for your office. In this article, you’ll find 23 excellent, print-ready cheat sheets for HTML/HTML, CSS, and JavaScript (including MooTools and jQuery). So go ahead – print out your favorites and pepper your workspace with these wonderful references. HTML/XHTML 1. HTML Help Sheet ...Shared by Anand Subramanian (53) Eran Lahav (5) eranda (325) IIssNan (31) Jeff (57) Jeremy (16) ptfree (70) Tim (34)- Jeremy said: Ca pourrait faire une belle tapisserie.
Contribute comment - 1030 + Ajax/Javascript/Dhtml examples and demos to download (7)
- foolishpleasure » Blog Archive » for (the_love in javascript){}; (10)
-
Google Treasure Hunt winners abound (8)
on
The Official Google Blog (2218) permalink
The time has come to announce the conclusion of the 2008 Google Treasure Hunt competition. More than 100,000 people worldwide tackled the puzzles we designed, and we received correct answers from more than 30 countries and five different continents.Congratulations to our grand prize winner, Sophia Dichomides, whose speed and skill won her a MacBook Air. And we'd also like to extend a hearty congratulations to all of the other master treasure hunters who braved the ...Shared by alice (15) Andrew Min (75) Apostolos (103) D-Arb (68) David Poblador Garcia (53) duguguiyu (31) FASTE (68) Jeremy (16)Contribute comment - The Web back in 1996-1997 (how far we've come!) (1)
-
Google Chrome Benchmarks (1)
on
scriptNode (2) permalink
So unless you’ve been living under a rock, you’ve probably heard about the release of Google Chrome. Being a hardcore Firefox nut myself, I’m not just skeptical, I’m largely indifferent. With Firebug, I’ve got the perfect web developer environment, so I’m good to go. It would be hard to sell me on something else. Google is a buzzworthy company, though, and I’ve already heard from everyone and their mom about how simple, clean and (most ...Shared by Jeremy (16)Contribute comment -
Take it with you, the whole kit-and-caboodle (2)
on
Google App Engine Blog (54) permalink
Posted by Jeff Scudder, Google App Engine Team One of my favorite things about the SDK is the fact that it works offline. When I'm without Internet access on a train, bus, or plane, I can still develop and test my application. I usually work with my browser open, one tab pointed squarely at localhost:8080 and another open to the App Engine documentation. Until recently, the documentation presented a bit of a challenge when I ...Shared by Jeremy (16) shakeel (14)Contribute comment -
Code du jour: Tour de France (T) (1)
permalinkPuisque c'est demain le coup d'envoi du Tour de France 2008 Tour de France 2008, je vous propose un code du jour qui me semble de circonstance. Stéphane M remarqua l'année passée que s'il tournait sa tête de 90° et qu'il plissait un peu les yeux, les contours formés par les pics et les vallées du code lui semblaient plutôt familiers... "Ce qui suit est tiré d'une méthode java d'environ 700 lignes de code" écrit ...Shared by Jeremy (16)
- Jeremy said: Ca me fait penser à certains collègues...
Contribute comment -
How To Build A Web App in Four Days For $10,000 (Say Hello To Matt) (12)
on
TechCrunch (13506) permalink
In this post, guest author Ryan Carson goes through some of the lessons learned from building a Web app in four days. Carson is the co-founder of Carsonified, a web shop in Bath, UK. They’ve built four web apps, created ThinkVitamin.com and run events like Future of Web Apps. If you’re bored you can follow Ryan on Twitter. The time it takes to design, build and deploy web applications has been steadily shrinking, especially with ...Shared by Andy (20) Aqeel Zafar (41) blake borgeson (17) Bruno Miguel Silva (24) David Ragones (4) Jeremy (16) Joakim Jardenberg (60) LenXu (22) Roman Nurik (30) sadegazoz (5) Stanton Champion (24) xdamman (22)Explore read four notes- Joakim Jardenberg said: Ryan Carson (FOWA, bland annat) skriver om en modern utveckling, med moderna verktyg. Lite som hack the news, men kortare, billigare och *mycket enklare* ;)
- blake borgeson said: great advice on building a simple startup really fast. and some nice videos of the development.
- Stanton Champion said: Absolutely incredible...
- LenXu said: 参考其人员组成、系统构架、工作方式,,,
Contribute comment -
JBoss RESTeasy (1)
permalinkJBoss et plus particulièrement Bill Burke développe une implémentation open-source de la spécification JSR-311 (voir ancien article ici) Je me suis permis de traduire cette page en français pour vous donner un petit aperçu de l’api. JAX-RS Overview JSR-311, JAX-RS est simplement un moyen de maper une requete et une réponse HTTP à un appel de méthode dans une class Java. V